The SET TOD command loads the modules TOD clock with the time of day and the date as provided in the Command Words 1 to 7. The format for the time of day and date is identical to that used by the PLC time/date registers.
NOTE: To synchronize the module's and PLC's TOD clocks, do a block move of the PLC's seven time/date registers to Command Words 1 to 7 and set Command Word 0 to 0600 hex.
This command is executed only the first time it is received. To execute the command again, one of the Command Words, 0 to 7, needs to be changed. This is done so that the same time does not get continuously loaded until Command Word 0 changes to a command other than SET TOD.
NOTE: Words 8 through 11 for Command 6 are not used.
NOTE: Words 1 through 10 for Command 6 return a 0.