5 Basic Instruction
5.10 SET, RST
82
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
SET instruction drives the coil for an output relay (Y), auxiliary relay (M), state relay (S) and bit specification of
data register (D).
1. When using a bit device
SET instructions located in parallel can be used consecutively as many times as necessary.
In the program example shown below, RST (X1001, Y000) after SET (X000, Y000) corresponds to this
usage.
ON
ON
ON
[Structured ladder/FBD] [ ST ] timing chart
X000
X001
Y000
SET(X000,Y000);
RST(X001,Y000);
SET
instruction
RST
instruction
SET
EN ENO
d
Y000
X000
RST
EN ENO
d
Y000
X001