Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 338

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Comparison Instructions
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.
15
C
0
0
0
0
0
S
through S
+2: Present Time Data
1
1
S
through S
+2 contain the present time data. S
1
1
the same data area.
15
S
1
15
S
+1
1
15
S
+2
1
Note When using the CPU Unit's internal clock data for the comparison, set S
A351 to specify the CPU Unit's internal clock data (A351 to A353).
8
7
6
5
4
3
0
0
0
0
0
8
7
Minutes: 00 to 59 (BCD)
8
7
Day: 01 to 31 (BCD)
8
7
Year: 00 to 99 (BCD)
Section 3-7
2
1
0
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.
through S
+2 must be in
1
1
0
Seconds: 00 to 59 (BCD)
0
Hour: 00 to 23 (BCD)
0
Month: 01 to 12 (BCD)
to
1
299

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents