Rockwell Automation Publication 1756-UM542A-EN-P - September 2014 19
Operation Chapter 3
Time.Second Displays the current second received from the time source. Example:
27/04/2010
13:45:22 - 234567 μs
Second = 22
Time.Microsecond Displays the current microsecond received from the time source. Example:
27/04/2010
13:45:22 - 234567 μs
Microsecond = 234567
Time.UTC This is the current UTC in microseconds since the time base. The time
ori
gin is based on all versions of RSLogix 5000 software or the Studio
5000 environment. See the example code for how this is used to time
stamp events in sequence-of-events (SOE) modules in RSLogix 5000
software versions earlier than 18.00.00.
Example:
02 April 2014
14:12:41
UTC = 87277992127872
Time.CST Displays the current CST of the local rack (depending on the CST
master clock) in microseconds.
Example:
CST master clock running for 1 hour
CST = 3600000000
Time.CSTOffset Displays the difference between the UTC and CST in microseconds.
Use this to set the wall clock in the Logix5000 controller in RSLogix
5000 software versions earlier than 18.00.00. Click this link to see
example code:
http://www.hiprom.com/Pages/Products/1756_CLX/1756HP-TIME/
web/1756HP-TIME.htm.
Example:
CSTOffset = UTC - CST
UTC = 87277992127872
CST = 3600000000
CSTOffset = 87274392127872
GPS.GPSLock Indicates if the GPS receiver has lock (if GPS is the time source). 0 = GPS receiver does not have lock
1 = GPS receiver has locked onto sufficient satellites
GPS.AntennaOK Indicates if the GPS antenna is connected and is operational (if GPS is
the time
source).
0 = The antenna is either not present or is faulty
1 = The antenna is connected correctly and is operational
GPS.HDOPOk Horizontal Dilution of Precision (HDOP) occurs when there are
sufficient satellites in lock, but two or more satellites occupy similar
positions in the sky (therefore decreasing the number of effective
satellites).
0 = HDOP is currently active
1 = HDOP is not active
GPS.PPS The pulse per second toggles at the exact moment the second
changes and the microseconds are zero.
Note: because the actual RPI is 50 ms, the accuracy is lost in the input
image.
0 = It has been more than 100 ms since the rollover pulse of the
last second
1 = It has been less than 100 ms since the rollover pulse of the
last second
GPS.FaultCode Reserved. –
GPS.Mode Reserved. –
GPS.SVCount Indicates the number of satellites that the GPS receiver is locked on. This is a number between 0…12
GPS.Latitude Displays the current position latitude in degrees. Example:
S26°05'17.0"
E28°00'21.3"
Elev: 1577m
Latitude = -26.088087
GPS.Longitude Displays the current position longitude in degrees. Example:
S26°05'17.0"
E28°00'21.3"
Elev: 1577m
Longitude = 28.00586
GPS.Altitude Displays the current positio
n altitude in meters. Example:
S26°05'17.0"
E28°00'21.3"
Elev: 1577m
Elevation = 1577
Table 3 - Logix5000 Controller Input Image Parameters (continued)
Parameter Description Value
Allen-Bradley Motors