JJH
Member
Hello there,
I'm working on adding a historian, of sorts, to a PLC project where I'd like the data that is being stored to be reset on a certain date and time.
Something that came to mind though is that the machine/PLC could be off at the time that I'd like to reset the data, so my concern is that when the PLC is powered back up, it won't execute the logic to reset the data as the date/time will not match what I set up for it to do that.
For instance, if I want the data to reset on 12/31 at 23:59:00, the machine could be shut down for the holiday. When it's started back up on say 1/2 at 07:00:00, the PLC doesn't know that it went past the date I wanted it to reset and now I have to wait for 360-odd days for that to happen again!
Anyone every do something like that or have a suggestion of how to handle it?
I work primarily with ControlLogix and CompactLogix processors.
Thanks in advance for your ideas!
I'm working on adding a historian, of sorts, to a PLC project where I'd like the data that is being stored to be reset on a certain date and time.
Something that came to mind though is that the machine/PLC could be off at the time that I'd like to reset the data, so my concern is that when the PLC is powered back up, it won't execute the logic to reset the data as the date/time will not match what I set up for it to do that.
For instance, if I want the data to reset on 12/31 at 23:59:00, the machine could be shut down for the holiday. When it's started back up on say 1/2 at 07:00:00, the PLC doesn't know that it went past the date I wanted it to reset and now I have to wait for 360-odd days for that to happen again!
Anyone every do something like that or have a suggestion of how to handle it?
I work primarily with ControlLogix and CompactLogix processors.
Thanks in advance for your ideas!