Topic: DMD0040

SETTIME - Set PLC Date/Time


The Set PLC Date/Time (SETTIME) instruction is used to change the PLC's internal clock calendar to the Date and Time specified in a User Date/Time structure or a System Date/Time Structure.

 

Parameters:

Note: Use the F9 key (Element Browser) or Down-Arrow key (Auto-Complete) at any time to see a complete list of the memory locations that are valid in the current field of the instruction.

 

Source Date/Time - designates a Date/Time structure that contains the desired Date and Time information. This can be any of the system-defined Date/Time structures, or any user-defined Date/Time structure.

 

Source Type - specifies which of the two following forms the Source Date/Time structure is in:
 

  • Local Time - if the Source Date/Time represents Local Time
     

  • UTC Time - if the Source Date/Time represents UTC

 


Status Display:

The gray triangle at the right end of an input leg indicates the input is edge triggered.

 

The status shows the fully-qualified Date/Time value.

 


See Also:

 


Related Topics:

 


Rung Example: