Справочник Пользователя для Mitsubishi Electronics Mitsubishi Digital Electronics Welding System FX1S
FX Series Programmable Controllers
Basic Program Instructions 2
2-17
2.15
Set and Reset
Program example:
Basic points to remember:
-
Turning ON X0 causes Y0 to turn ON.
Y0 remains ON even after X0 turns OFF.
Y0 remains ON even after X0 turns OFF.
-
Turning ON X1 causes Y0 to turn OFF.
Y0 remains OFF even after X1 turns
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.
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.
as data registers, index registers etc. The effect is similar to moving ‘K0’ into the data
device.
Mnemonic
Function
Format
Devices
Program steps
SET
(SET)
(SET)
Sets a bit device
permanently ON
permanently ON
Y, M, S
Y,M:1
S, special M
coils:2
S, special M
coils:2
RST
(ReSeT)
(ReSeT)
Resets a bit
device
permanently
OFF
device
permanently
OFF
Y, M, S, D, V, Z
(see section
2.16 for timers
and counters
T,C)
(see section
2.16 for timers
and counters
T,C)
D, special D
registers, V and
Z:3
registers, V and
Z:3
FX
1S
FX
1N
FX
2N
FX
2NC
SET
RST
X0
SET
Y0
X1
RST
Y0
X2
SET
M0
X3
RST
M0
X4
SET
S0
X5
RST
S0
X6
RST
D0
X
Y
X
Y
X
M
X
M
Y
X
Y
X
M
X
M
0
0
0
0
2
0
3
0
2
0
3
0
LD
SET
LD
RST
LD
SET
LD
RST
LD
RST
SET
LD
LD
0
1
1
3
4
4
6
7
7
5
2
8
9
9
10
11
12
11
12
LD
SET
LD
RST
LD
RST
SET
LD
RST
LD
RST
13
X
S
X
S
X
D
S
X
S
X
D
1
4
0
5
0
6
0
0
5
0
6
0
X0
X1
Y0
Resetting timers and counters:
•
Please see next page.