22.11.5.3 Write to TIME_OF_DAY type

Creates a DATE_AND_TIME string using the entered time of day, then stores it in the specified address.

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

SetTOD (device address, TIME string)

Example expression:

SetTOD("[w:[PLC1]TagName]","01:02:03.004")

In the above example, write "01:02:03.004" to TIME_OF_DAY type device "[w:[PLC1]TagName]".