2 Instructions
2-92 CP1E CPU Unit Instructions Reference Manual(W483)
i
Operand Specifications
Flags
Area Word addresses Indirect DM addresses Constants CF
Pulse
bits TR bits
CIO WR HR AR T C DM @DM *DM
COK OK OK OK OK OK OK --- --- OK --- --- ---
S1, S2 OK OK ---
Name Label Operation
Error Flag P_ER ON if all 6 of the mask bits (C bits 00 to 05) are ON.
OFF in all other cases.
Greater Than Flag P_GT ON if S1 > S2.
OFF in all other cases.
Greater Than or Equal Flag P_GE ON if S1 S2.
OFF in all other cases.
Equal Flag P_EQ ON if S1 = S2.
OFF in all other cases.
Not Equal Flag P_NE ON if S1 S2.
OFF in all other cases.
Less Than Flag P_LT ON if S1 < S2.
OFF in all other cases.
Less Than or Equal Flag P_LE ON if S1 S2.
OFF in all other cases.
15 8 07
S1
15 8 07
S1+1
15 8 0
7
S1+2
Seconds: 00 to 59 (BCD)
Minutes: 00 to 59 (BCD)
Hour: 00 to 23 (BCD)
Day: 01 to 31 (BCD)
Month: 01 to 12 (BCD)
Year: 00 to 99 (BCD)
15 8 07
S2
15 8 07
S2+1
15 8 0
7
S2+2
Month: 01 to 12 (BCD)
Year: 00 to 99 (BCD)
Day: 01 to 31 (BCD)
Hour: 00 to 23 (BCD)
Minutes: 00 to 59 (BCD)
Seconds: 00 to 59 (BCD)
S1 through S1+2: Present Time DataS1 through S1+2 contain the present timedata. S1 through S1+2 must be in the samedata area.S2 through S2+2: Comparison Time DataS2 through S2+2 contain the comparisontime data. S2 through S2+2 must be in thesame data area.

Note When using the CPU Unit’s internal clock

data for the comparison, set S1 to A351 to

specify the CPU Unit’s internal clock data

(A351 to A353).

Note The year value indicates the last two digits

of the year. Values 00 to 97 are interpreted

as 2000 to 2097. Values 98 and 99 are

interpreted as 1998 and 1999.