FX Series Programmable Controlers Applied Instructions 5
5-55
5.5.1 ZRST (FNC 40)
Operation:
The range of devices, inclusive of those specified as
the two destinations are reset, i.e. for data devices the
current value is set to 0 (zero) and for bit elements,
thedevicesareturnedOFF,i.e.alsosetto0(zero).
The specified device range cannot contain mixed device types, i.e. C000 specified as the first
destination device (D
1) cannot be paired with T199 as the second destination device (D2). When
resetting counters, standard and high speed counters cannot be reset as part of the same
range.
If D
1 is greater than (>) D2 then only device D1 is reset.
Mnemonic Function
Operands
Program steps
SD
ZRST
FNC 40
(
Zone
Reset)
Used to reset a
range of like
devices in one
operation
Y, M ,S,
T, C, D
Note:
D1must be less than or equal ( ≤ )toD2.
Standard and High speed counters cannot be mixed.
ZRST,
ZRSTP:
5steps
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
M8002
ZRST M 500 M 599
[D1] [D2]