158
5 SEQUENCE INSTRUCTIONS
5.3 Output Instructions
Setting devices (excluding annunciators)
SET
When BL, S, TR, BL\S, or BL\TR is used, refer to the SFC control instructions in the MELSEC-Q/L/QnA
Programming Manual (SFC).
When F is used, refer to Page 162 Setting annunciators, resetting annunciators.
• When the execution command is turned ON, the status of the designated devices becomes as shown below:
• Devices turned ON by the instruction remain ON when the same command is turned OFF. Devices turned ON by the SET
instruction can be turned OFF by the RST instruction.
• When the execution command is OFF, the status of devices does not change.
• The number of basic steps for the SET instruction is as follows:
When using X as a device, use the device numbers that are not used for the actual input. If the same number
is used for the actual input device and input X, the data of the actual input will be written over the input X
specified in the SET instruction.
• There is no operation error in the SET instruction.
(D): Bit device number to be set (ON)/Word device bit designation (bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant Others
DY
Bit Word Bit Word
(D) (Other than T, ST, C)
Device Device status
Bit device Coils and contacts turned ON
When bit designation has been made for word device Designation bit set at 1
Item Number of
basic steps
When internal device or file register (R0 to R32767) are in use 1
When direct access output (DY) or SFC program device (BL) are in use 2
When using serial number access format file register Universal model QCPU and LCPU 2
Basic model QCPU, High Performance model QCPU, Process
CPU, and Redundant CPU
3
When some other device is in use 3
Basic
Process
High
performance
Redundant
Universal
LCPU
X5
X7
Command
Y10SET
Y10RST
X5 OFF
Command
X7 OFF
Y10 OFF
ON
ON
ON