Ken Roach
Lifetime Supporting Member + Moderator
I know there are a lot of veteran Crimson 3 users here, so I'm going to ask what is probably a fairly simple question.
I know how to set the MicroLogix 1400's Real Time Clock (RTC:0) by using the Copy Word instruction to move integer values into each element of the RTC.
But how can I get the Red Lion (I'm using a G308) to write the Time from its Time Service into a set of MicroLogix integer registers ?
As I understand it, the Red Lion holds the Time as a long integer, counting seconds starting from 1/1/97. You can show this time as a "Time" or a "Time/Date", and I'm doing that just to show "08-13-2012 11:04:23 AM".
Where my understanding lapses is how I can use the "GetNow()" or something similar to connect up to a Gateway Block so it's automatically updated in the MicroLogix.
Do I need to write a Program for this, or is there a simple way to create a tag with an Expression that holds the current Minute, or Hour, etc ?
I know how to set the MicroLogix 1400's Real Time Clock (RTC:0) by using the Copy Word instruction to move integer values into each element of the RTC.
But how can I get the Red Lion (I'm using a G308) to write the Time from its Time Service into a set of MicroLogix integer registers ?
As I understand it, the Red Lion holds the Time as a long integer, counting seconds starting from 1/1/97. You can show this time as a "Time" or a "Time/Date", and I'm doing that just to show "08-13-2012 11:04:23 AM".
Where my understanding lapses is how I can use the "GetNow()" or something similar to connect up to a Gateway Block so it's automatically updated in the MicroLogix.
Do I need to write a Program for this, or is there a simple way to create a tag with an Expression that holds the current Minute, or Hour, etc ?