6 Application Instructions API 00-49
DVP-PLC Application Manual
6-57
API Mnemonic
Operands
Function
40
ZRST P
Zero Reset
Controllers
ES/EX/SS SA/SX/SC EH/SV
Bit Devices
Word Devices
Program Steps
Type
OP
X Y M S K H
KnX
KnY KnM KnS T C D E F
D
1
*
*
* *
*
*
D
2
*
*
* *
*
*
ZRST, ZRSTP: 5 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Operands:
D
1
: Start device of the range to be reset
D
2
: End device of the range to be reset
Explanations:
1.
No. of operand D
1
≤
No. of operand D
2
.
2. D
1
and D
2
have to designate devices of the same type.
3.
ES/EX/SS series MPU does not support E, F index register modification.
4.
See the specifications of each model for their range of use.
5.
When the instruction is executed, area from
D
1
to
D
2
will be cleared.
6.
In ES/EX/SS, 16-bit counter and 32-bit counter cannot use ZRST instruction together.
7.
In SA/EH, 16-bit counter and 32-bit counter can use ZRST instruction together.
8. When
D
1
>
D
2
, only operands designated by
D
2
will be reset.
Program Example:
1.
When X0 = On, auxiliary relays M300 ~ M399 will be reset to Off.
2.
When X1 = On, 16 counters C0 ~ C127 will all be reset (writing in 0; contact and coil being reset to Off).
3.
When X10 = On, timers T0 ~ T127 will all be reset (writing in 0; contact and coil being reset to Off).
4.
When X2 = On, steps S0 ~ S127 will be reset to Off.
5.
When X3 = On, data registers D0 ~ D100 will be reset to 0.
6.
When X4 = On, 32-bit counters C235 ~ C254 will all be reset. (writing in 0; contact and coil being reset to Off)
ZRST
M300
M399
ZRST
C0
C127
ZRST
T0
T127
ZRST
S0
S127
ZRST
D0
D100
ZRST
C235
C254
X0
X1
X10
X2
X3
X4
Remarks:
1.
Devices, e.g. bit devices Y, M, S and word devices T, C, D, can use RST instruction.
2.
API 16 FMOV instruction is also to send K0 to word devices T, C, D or bit registers KnY, KnM, KnS for reset.
Summary of Contents for DVP-PLC
Page 1: ...PLC PLC...
Page 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Page 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Page 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Page 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...