3 . I n s t r u c t i o n S e t
M N050 03003E F or mo re infor ma tio n vi sit:
w w w. e a t o n . c o m
3-93
API Mnemonic
Operands
Function
40
ZRST P
D
1
, D
2
Zone Reset
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
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32 16
P
32 16
P
32 16
P 32 16 P 32 16
P
Operands:
D
1
: Starting destination address
D
2
: Ending destination address
Description:
1.
When the instruction is executed, range
D
1
to
D
2
will be reset.
2. When
D
1
>
D
2
, then only device
D
2
is reset.
3. Operand
D
1
and
D
2
must be the same data type, Valid range:
D
1
≦
D
2
.
4.
ELC-PB, ELCB-PB models, standard and High speed counters cannot be mixed.
5.
This instruction works best with the pulse instruction (ZRSTP).
Program Example:
1.
When X0 = ON, M300 to M399 will be reset to OFF.
2.
When X1 = ON, C0 to C127 will all be reset. Their present value =0, coil output will be reset
to OFF.
3.
When X20 = ON, T0 to T127 will all be reset. Their present value =0, coil output will be reset
to OFF.
4.
When X2 = ON, the status of S0 to S127 will be reset to OFF.
5.
When X3 = ON, the data of D0 to D100 will be reset to 0.
6.
When X4 = ON, C235 to C254 will all be reset. Their present value =0, coil output will be
reset to OFF.
ZRST
M300
M399
ZRST
C0
C127
ZRST
T0
T127
ZRST
S0
S127
ZRST
D0
D100
ZRST
C235
C254
X0
X1
X20
X2
X3
X4
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...