Mitsubishi — 5.6 Application Instructions

5 Categories and Use of Basic Application Instructions API 40 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. 16-bit counters and 32-bit counters can be reset at the same by executing ZRST instruction. 4. When D 1 > D 2 , only operands designated by D 2 will be reset. 5. 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 the associated contacts / outputs will be 3. When X20 = ON, T0 to T127 will all be reset, i.e. present value = 0 and the associated contacts/ outputs will be reset as well. 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 the associated contacts/ outputs will be reset as well. X0 X1 X10 X2 X3 X4 Points to note: Bit devices Y, M, S and word devices T, C, D can be individually reset by RST instruction.

DVP-PM Application Manual 5-59 Mnemonic Operands Function Controllers 20PM 10PM 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 V Z ZRST, ZRSTP: 5 steps D 1 * * * * * * D 2 * * * * * * ZRST M300 M399 ZRST C0 C127 ZRST T0 T127 ZRST S0 S127 ZRST D0 D100 ZRST C235 C254