Ladder program for plc siemens S7 200PLC clock reading and writing

ladder diagram plc siemens s7 200

1.Read the system clock

2. Year, month, day, hour, minute, and second - week is stored in 8 bytes starting from the start address set at the time of reading.

3. The data read out is the BCD code and needs to be converted into an integer.

Popular posts from this blog

Mitsubishi FX series PLC high-speed counter (HSC)

The difference between Siemens PLC and Mitsubishi PLC