12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

196 Input/Output <strong>Instructions</strong> (MSG, GSV, SSV, IOT)Access The WALLCLOCKTIME ObjectThe WALLCLOCKTIME object provides a timestamp the controller canuse for scheduling.Attribute Data Type Instruction DescriptionCSTOffset DINT[2] GSVSSVPositive offset from the CurrentValue of the CST object(coordinated system time, see page 5-181). DINT[0] contains thelower 32 bits of the value; DINT[1] contains the upper 32 bits ofthe value.CurrentValue DINT[2] GSVSSVValue in μsecs. The default is 0.Current value of the wall clock time. DINT[0] contains the lower32 bits of the value; DINT[1] contains the upper 32 bits of thevalue.The value is the number of microseconds that have elapsed since0000 hrs 1 January 1972.DateTime DINT[7] GSVThe CST and WALLCLOCKTIME objects are mathematically relatedin the controller. For example, if you add the CST CurrentValue andthe WALLCLOCKTIME CTSOffset, the result is theWALLCLOCKTIME CurrentValue.The date and time in a readable format.SSVDINT[0]yearDINT[1] integer representation of month (1-12)DINT[2] integer representation of day (1-31)DINT[3] hour (0-23)DINT[4] minute (0-59)DINT[5] seconds (0-59)DINT[6] microseconds (0-999,999)Publication 1756-RM003I-EN-P - January 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!