61
4
4 Instructions 4.1.3 Output Instructions
OUT, SET, RST, PLS, and PLF
OUT
Coil drive
Operand types: S, Y, and M
Number of steps: 1 step
SET
SET action storage coil instruction
RST
Contact or cache clearance
Operand types: S, Y, M, T, C, and D
Number of steps: 3 steps
PLS
Rising pulse detection coil instruction
PLF
Falling pulse (F) detection coil instruction
Instruction Operand
OUT
X0–X377 Y0–Y377
M0–M7679
M8000–M8511
S0–S4095 SM0–SM1023 T0–T511 C0–C255
√ √ √ √ √ √
The OUT instruction outputs the logical operation result prior to this instruction to the designated element.
X1 X2
(M1)
OUT M1
X0
(T1 K100)
OUT T1 K100
Instruction Operand
SET
X0–X377 Y0–Y377
M0–M7679
M8000–M8511
S0–S4095 SM0–SM1023 T0–T511 C0–C255
√ √ √ √
When the SET instruction is driven, the element designated by this instruction is set to ON and remains so
regardless of whether the instruction is still driven. Use the RST instruction to set the element to OFF.
Instruction Operand
RST
X0–X377 Y0–Y377
M0–M7679
M8000–M8511
S0–S4095 SM0–SM1023 T0–T511 C0–C255
√ √ √ √ √ √
D0–D8511 R0–R32767 SD0–SD1023
√ √ √
When the RST instruction is driven, the element designated by this instruction is set to OFF and remains so
regardless of whether the instruction is still driven. Use the SET instruction to set the element to ON.
Use the RST instruction to reset the D, V, and Z variables. That is, the values of the D, V, and Z elements
are cleared.
Element Operation Result
S, M, and Y Coils and contacts are set to OFF.
T and C The timer or counter in use is set to 0, and coils and contacts are set to OFF.
D, V, and Z The values of the elements are cleared.