Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 283

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

• As a reset instruction for individual devices, the RST instruction can be used for bit devices and word devices.
X1
RST
M0
RST
T0
RST
D0
(1): M0 is reset.
(2): The current value of T0 is reset.
(3): D0 is reset.
• The FMOV(P) instruction is a batch write instruction for a constant (K0 for example) that can write "0" for word devices
(including nibble specification of bit devices).
X2
FMOV
K0
D0
(1): K0 is written to D0 to D99.
Precautions
• Specify the same type of device for (d1) and (d2) so that (d1) number is less than (d2) number. If the (d1) number(d2)
number, only the device specified by (d1) is reset.
• The ZRST(P) instruction is a 16-bit instruction, but long counter (LC) and long index register (LZ) can be specified for (d1)
and (d2).
X0
ZRST
C180
ZRST
LC0
Operation error
Error code
Description
(SD0/SD8067)
2820H
The number of devices to be reset is 32768 or more when module access device has been specified for (d1) and/or (d2).
3405H
Device type specified by (d1) differs from type specified by (d2).
Module number for (d1) and (d2) differ when module access device is specified.
(1)
(2)
(3)
K100
(1)
C199
LC10
7 BASIC INSTRUCTIONS
7.4 Bit Processing Instructions
7
281

Hide quick links:

Advertisement

loading