
B-63983EN/02 4.LADDER LANGUAGE
- 281 -
4.8.5 OR (Logical OR: SUB 61)
The OR instruction ORs the contents of address A with a constant (or
the contents of address B), and stores the result at address C. The value
type in this instruction is binary.
Format
Fig. 4.8.5 shows the ladder format and Table 4.8.5 shows the
mnemonic format.
OR
SUB 61
Format specification
Address A
Constant or address B
Address C
ACT
o
00
o
¡¡¡¡
¡¡¡¡
¡¡¡¡
Fig. 4.8.5 Format of OR instruction
Table 4.8.5 Mnemonic of OR instruction
Mnemonic format Status of operation result
Step
number
Instruction
Address
No.
Bit No. Remarks ST3 ST2 ST1 ST0
1RD ¡¡¡¡ .¡ ACT ACT
2 SUB 61 OR instruction
3(PRM) o00o Format specification
4(PRM) ¡¡¡¡ Address A
5(PRM) ¡¡¡¡ Constant or address B
6(PRM) ¡¡¡¡ Address C
Control conditions
(a) Input signal (ACT)
ACT=0: The OR instruction is not executed.
ACT=1: The OR instruction is executed.