104
Sequence Input Instructions Section 3-2
Coding Example (2)
The OR LOAD instruction can be used repeatedly. In programming method
(2) above, however, the number of OR LOAD instructions becomes one less
than the number of LOAD and LOAD NOT instructions before that.
In method (2), make sure that the total number of LOAD and LOAD NOT
instructions before OR LOAD is not more than eight. To use nine or more, pro-
gram using method (1). If there are nine or more with method (2), then a pro-
gram error will occur during the program check by the CX-Programmer.
Coding
Second LD: Used for first bit of next block connected in series to previous
block.
LD 0.04
AND 0.05
OR LD ---
.
.
.
.
OUT 100.00
Instruction Operand
LD 0.00
AND NOT 0.01
LD NOT 0.02
AND NOT 0.03
LD 0.04
AND 0.05
.
.
.
.
OR LD ---
OR LD ---
.
.
.
.
OUT 100.00
Address Instruction Operand
000100 LD 0.00
000101 AND NOT 0.01
000102 LD 0.02
000103 AND 0.03
000104 OR LD ---
000105 OUT 100.00
Instruction Operand