Basic Function Instruction
6-8
SET D P
SET
(Set coil or all the bits of register to 1)
SET D P
Symbol
Operand
D: destination to be set
(the number of a coil or a register)
Y M SM S WY WM WS TMR CTR HR OR SR ROR DR
Range
Ope-
rand
Y0
∣
Y255
M0
∣
M1911
M1912
∣
M2001
S0
∣
S999
WY0
∣
WY240
WM0
∣
WM1896
WS0
∣
WS984
T0
∣
T255
C0
∣
C255
R0
∣
R3839
R3904
∣
R3967
R3968
∣
R4167
R5000
∣
R8071
D0
∣
D4095
D ○ ○ ○* ○ ○ ○ ○ ○ ○ ○ ○ ○* ○* ○
Description
● When the set control "EN" =1 or "EN↑" ( P instruction ) is from 0 to 1, sets the bit of a coil or all bits of a
register to 1.
Example 1 Single Coil Set
Ladder Diagram Key Operations Mnemonic Codes
X1
X0
EN
EN
P
P
SET
RST
Y 0
Y 0
ORG
ORG
ORG
SET P
ORG
RST P
X
Y
X
Y
0
0
1
0
X0
X1
Y0
SET
RST