147
SET
1
2
3
4
5
6
7
8
5.3
O
u
tput Instructio
ns
5.3.5
SET
Program Example
(1) The following program turns F7 ON when X0 goes ON, and stores the value 7 from SD64 to SD79.
[Ladder Mode]
[List Mode]
[Operation]
: Bit device number to be set (ON)/Word device bit designation (bits)
Function
(1) When the execution command is turned ON, the status of the designated devices becomes as shown below:
(2) 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.
(3) When the execution command is OFF, the status of devices does not change.
SET
Setting devices (excluding annunciators)
5.3.5
SET
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
Other
BL, DY
Bit
Word
Bit
Word
(Other than T, 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
Step
Instruction
Device
SD63
SD64
SD65
SD66
SD79
SD64
SD65
SD79
X0 ON
SD66
SD63
SD67
Adds 1
SD67
1
7
0
0
0
0
0
0
0
0
0
0
Basic
Process
High
performance
Redundant Universal
LCPU
Command
SET
D
SET
D
D
X5
X7
Command
Y10
SET
Y10
RST
X5 OFF
Command
X7 OFF
Y10 OFF
ON
ON
ON