![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)
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...