1022
7 APPLICATION INSTRUCTIONS
7.25 Clock Instructions
■Applicable devices
*1 FX and FY cannot be used.
*2 T, ST, and C cannot be used.
• These instructions compare the time data to be compared that is specified by (s1), (s2), and (s3) with the time data
specified by (s4), and according to the result (small, match, or large), (d), (d)+1, or (d)+2 is turned on.
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s1)
*1
(s2)
*1
(s3)
*1
(s4)
(d)
*2
• (s1): hour, (s2): minute, (s3): second
• (s4): hour, (s4)+1: minute, (s4)+2: second
Error code
(SD0)
Description
3405H The value specified by (s1) and (s4) is outside the following range.
0 to 23
The value specified by (s2), (s3), (s4)+1, and (s4)+2 is outside the following range.
0 to 59
TCMP (s1) (s2) (s3) (s4) (d)
(d)
X0
(d)+1
(d)+2
Turns on when
Turns on when
Turns on when
(s4)
(s4)+1
(s4)+2
(s4)
(s4)+1
(s4)+2
(s4)
(s4)+1
(s4)+2
(s1)
(s2)
(s3)
(s1)
(s2)
(s3)
(s1)
(s2)
(s3)
>
=
<