Set the Real-Time Clock using DTBCD
Use this PLC independent instruction to write date and time data in BCD format (DTBCD) to the real-time clock. When the variable SetNewDtBcd is set to TRUE, the values from the data unit type DTBCD are transferred to the special data registers DT90054 to DT90056 (DT9054 to DT9056) and the value 16#8000 is written to the special data register DT90058 (DT9058) to Set the Real-Time Clock using DTBCD of the PLC. You can also use the system variables to set the RTC. To access special data registers and special internal flags, use the PLC-independent system variables.