
B-63983EN/02 4.LADDER LANGUAGE
- 203 -
4.1.14 SET Instruction
(1) Format
SET instruction
A
B
X0.0
R0.0
C
(S)
Y0.0
Fig. 4.1.14
Bit number
ddress numbe
.
(Address)
SET
(2) This instruction keeps the status of the specified address to ON.
It finds the logical sum of the operation result (ST0) and the
specified address and outputs it to the specified address.
(3) For examples of how the SET instruction is used, see Fig. 4.1.14
and Table 4.1.14.
Table 4.1.14
Mnemonic format Status of operation result
Step
number
Instruction
Address
No.
Bit No. Remarks ST2 ST1 ST0
1RD R0.0 A A
2OR X0.0 B A + B
3 SET Y0 .0 Y0.0 output (A + B) + C
(4) Caution
• Relationship with COM and COME
When placed between the COM and COME instructions, the
SET instruction behaves as follows:
When the COM condition is set to ON (ACT = 1), the SET
instruction runs normally.
When the COM condition is set to OFF (ACT = 0), the SET
instruction does not run.