Chapter 6: Instructions
83
(OUT)
(SET)
(RST)
Instruction
Mnemonic
Output
Range
■
Bit
Word
OUT
SET
RST
Relay output
On output
Off output
Double words
Ladder
OUT: Relay coil turns On or Off based on the state of the input conditions.
SET: Relay coil turns On when the input conditions are true.
RST: Relay coil turns Off when the input conditions are true.
Description
For an OUT instruction, you cannot use the same address twice.
OUT, SET, and RST instructions must be connected to the right bus and not in the middle of the
circuit.
1. OUT—Use for external I/O (R), internal (M), and retentive (K) contacts. On or Off according
to status of the input condition.
2. SET—Use for external I/O (R), internal (M), and retentive (K) contacts. The same address
can be used more than once. When the input conditions are true, the coil is turned On and
stays on unless turned off by a RST. The output is turned Off in the Stop mode.
3. RST—Use for external I/O (R), internal (M), and retentive (K) contacts. The same address
can be used more than once. When the input conditions are true, the coil is turned Off and
stays off unless turned on by a SET. The output is Off in the Stop mode.
4. When using retentive coils (K) in OUT, SET, or RST, the state is maintained. It will remain
On or Off even after placed in the Stop mode and power is turned off.
Example
Program Expression
Time Chart
M000.4 follows contact logic for R001.1 input.
When R002.2 contact is On, M000.5 output is On.
When R002.3 contact is On, M000.5 output is Off.
R001.1
M000.4
(OUT)
R002.2
M000.5
(SET)
R002.3
M000.5
(RST)
R001.1
R002.2
R002.2
M000.4
M000.5
Summary of Contents for D320 PLC
Page 1: ...D320 PLC User s Manual...
Page 18: ...6 D320 PLC User s Manual...
Page 28: ...16 D320 PLC User s Manual...
Page 34: ...22 D320 PLC User s Manual...
Page 78: ...66 D320 PLC User s Manual...
Page 176: ...164 D320 PLC User s Manual...
Page 210: ...198 D320 PLC User s Manual...
Page 258: ...246 D320 PLC User s Manual...