3. Instruction Set
API
Mnemonic Operands Function
SS2
SX2
40 ZRST P
Zone Reset
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
ZRST, ZRSTP: 5 steps
SS2
SX2
SS2
SX2
SS2
SX2
Operands:
D
1
: Starting device of the reset range D
2
: End device of the reset range
Explanations:
1. When the instruction is executed, range D
1
to D
2
will be reset.
2. Operand D
1
and D
2
must be the same data type, Valid range: D
1
≦ D
2
3. When D
1
> D
2
, only operand designated by D
2
will be reset.
4. This instruction is generally used in pulse execution mode (ZRSTP).
Program Example:
1. When X0 = ON, M300 to M399 will be reset.
2. When X1 = ON, C0 to C127 will all be reset, i.e. present value = 0 and associated contact/
output will be reset as well.
3. When X20 = ON, T0 to T127 will all be reset, i.e. present value = 0 and associated contact/
output will be reset as well.
4. When X2 = ON, the steps of S0 to S127 will be reset.
5. When X3 = ON, the data of D0 to D100 will be reset.
6. When X4 = ON, C235 to C254 will all be reset, i.e. present value = 0 and associated contact/
output will be reset as well.
ZRST M300 M399
ZRST C0 C127
ZRST T0 T127
ZRST S0 S127
ZRST D0 D100
ZRST C235 C254
X0
X1
X20
X2
X3
X4