![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030338.webp)
298
Comparison Instructions
Section 3-7
Operands
C: Control Word
Bits 00 to 05 of C specify whether or not the time data will be masked for the
comparison. Bits 00 to 05 mask the seconds, minutes, hours, day, month, and
year, respectively. If all 6 values are masked, the instruction will not be exe-
cuted, the execution condition will be OFF, and the Error Flag will be turned
ON.
S
1
through S
1
+2: Present Time Data
S
1
through S
1
+2 contain the present time data. S
1
through S
1
+2 must be in
the same data area.
Note When using the CPU Unit’s internal clock data for the comparison, set S
1
to
A351 to specify the CPU Unit’s internal clock data (A351 to A353).
0
1
2
3
4
5
6
7
8
15
0
0
0
0
0
0
0
0
0
0
C
Masks seconds data when ON.
Masks minutes data when ON.
Masks hours data when ON.
Masks day data when ON.
Masks month data when ON.
Masks year data when ON.
15
8
0
7
S
1
15
8
0
7
S
1
+1
15
8
0
7
S
1
+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)
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...