22.11.5.1 Write to TIME type

Creates a TIME string using the entered time, then stores it in the specified address.

You can Write to TIME type if you register a device/PLC tag.

SetTIME (device address, TIME string)

Example expression:

SetTIME("[w:[PLC1]TagName]","01d02h03m04s005ms")

In the above example, write "01d02h03m04s005ms1" to TIME type device "[w:[PLC1]TagName]".