582
7 APPLICATION INSTRUCTION
7.19 Clock instruction
• The table below shows the related devices.
• These instructions occupy seven points of device starting from device number specified by (s). Make sure that these
devices are not used by other machine controls.
Device Name Description
SM8019 Real time clock error This special data register turns on when the clock data value in the special register is exceeding the setting
range.
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.
Error code
(SD0/SD8067)
Description
2820 The device range specified by (s) exceeds the corresponding device range.