Set And Reset - Mitsubishi FX1S Series Programming Manual

Melsec-f
Hide thumbs Also See for FX1S Series:
Table of Contents

Advertisement

FX Series Programmable Controllers
2.15

Set and Reset

Mnemonic
SET
(SET)
RST
(ReSeT)
Program example:
X0
X1
X2
X3
X4
X5
X6
Basic points to remember:
- Turning ON X0 causes Y0 to turn ON.
Y0 remains ON even after X0 turns OFF.
- Turning ON X1 causes Y0 to turn OFF.
Y0 remains OFF even after X1 turns
OFF.
- SET and RST instructions can be used
for the same device as many times as
necessary.
However, the last instruction activated
determines the current status.
- It is also possible to use the RST instruction to reset the contents of data devices such
as data registers, index registers etc. The effect is similar to moving 'K0' into the data
device.
Resetting timers and counters:
• Please see next page.
Function
Sets a bit device
permanently ON
Resets a bit
device
permanently
OFF
SET
RST
SET
RST
SET
RST
RST
Format
SET
Y, M, S
Y, M, S, D, V, Z
(see section
RST
2.16 for timers
and counters
T,C)
Y0
Y0
M0
M0
S0
S0
D0
X0
X1
Y0
Basic Program Instructions 2
FX
FX
FX
1S
1N
2N
Devices
Program steps
Y,M:1
S, special M
coils:2
D, special D
registers, V and
Z:3
0
LD
X
1
SET
Y
2
LD
X
3
RST
Y
4
LD
X
5
M
SET
6
X
LD
7
RST
M
8
LD
X
9
SET
S
10
LD
X
11
RST
S
12
LD
X
13
RST
D
2-17
FX
2NC
0
0
1
0
2
0
3
0
4
0
5
0
6
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx1n seriesFx2nc seriesFx2n series

Table of Contents