708
7 APPLICATION INSTRUCTIONS
7.15 Clock Instructions
• In any of the following cases, an operation error occurs, the error flag (SM0) turns on, and an error code is stored in SD0.
• The sample program compares any specified clock data with D0 (hour), D1 (minute), and D2 (second).
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4101 The value in the device specified by (S1)+0, (S2)+0, (S3)+0 exceeds the
setting range (0 to 23).
The value in the device specified by (S1)+1, (S2)+1, (S3)+1 exceeds the
setting range (0 to 59).
The value in the device specified by (S1)+2, (S2)+2, (S3)+2 exceeds the
setting range (0 to 59).
[Ladder Mode]
Compare the lower limit value (D20) and
the upper limit value (D30) with D0.
M0 turns on when D20 > D0.
M1 turns on when D20 ≤ D0 ≤ D30.
M2 turns on when D0 > D30.