shoelesscraig
Member
On the rockwell website, I found this piece of sample code that is suppossed to give you the Day Of Week (Monday, Tuesday, etc) for a 5000 series controller. Has anyone used it before? I just hate to add something to my program that has problems. Or does anyone have any other ideas or code to figure out what the Day Of Week is?
The "sample code" page is here: http://samplecode.rockwellautomation.com/idc/groups/public/documents/webassets/sc_home_page.hcst
The name of the file that I'm looking at is MMS_044701. Search for it in the "filename/ID" box and it will come up.
I'm trying to make something happen every Sunday. Still not sure why AB didn't put a better clock / calender function in their higher end PLCs when the lower end models have it...?
The "sample code" page is here: http://samplecode.rockwellautomation.com/idc/groups/public/documents/webassets/sc_home_page.hcst
The name of the file that I'm looking at is MMS_044701. Search for it in the "filename/ID" box and it will come up.
I'm trying to make something happen every Sunday. Still not sure why AB didn't put a better clock / calender function in their higher end PLCs when the lower end models have it...?
Last edited: