Reading Clock data in Mitsubishi PLC

Reading Clock data in Mitsubishi PLC

Mitsubishi FX5U-PLC System at Rs 17000/unit | SCADA Kit ...

Clock Instruction 

Reading clock data:   TRD Instruction

TRD instruction read the clock data from the built-in real time clock in the CPU module.


 This instructions read the clock data (SD210 to SD216) from the built-in real time clock in the CPU module to the device numbers (d) to (d)+6 in the following format.

 

Binary code
SD210: Binary clock data (year)The year data in the clock data is stored as a four-digit binary code.
SD211: Binary clock data (month)The month data in the clock data is stored as a binary code.
SD212: Binary clock data (day)The day data in the clock data is stored as a binary code.
SD213: Binary clock data (hour)The hour data in the clock data is stored as a binary code.
SD214: Binary clock data (minute)The minute data in the clock data is stored as a binary code.
SD215: Binary clock data (second)The second data in the clock data is stored as a binary code.
SD216: Binary clock data (day of the week)The day-of-a-week data in the clock data (0: Sunday, 1:                     Monday, ..., 6: Saturday) is stored as a binary code.
 

Binary code (FX3 compatible area)
SD8013: Binary clock data (second)The second data in the clock data is stored as a binary code.
SD8014: Binary clock data (minute)The minute data in the clock data is stored as a binary code.
SD8015: Binary clock data (hour)The hour data in the clock data is stored as a binary code.
SD8016: Binary clock data (day)The day data in the clock data is stored as a binary code.
SD8017: Binary clock data (month)The month data in the clock data is stored as a binary code.
SD8018: Binary clock data (year)The year data in the clock data is stored as a four-digit binary code.
SD8019: Binary clock data (day of the week)The day-of-a-week data in the clock data (0: Sunday, 1:                   Monday, ..., 6: Saturday) is stored as a binary code.

 

 

 

 

Post a Comment

Previous Post Next Post