DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming 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. X0 X1 X20 X2 X3 X4 Points to note: 1. Bit devices Y, M, S and word devices T, C, D can be individually reset by RST instruction. 3-102 API Mnemonic Operands Function Controllers SA2 ES2/EX2 SS2 SX2 SE Controllers 40 ZRST P Zone Reset ES2/EX2 SS2 SA2 SX2 SE 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 D 1 * * * * * * D 2 * * * * * * PULSE 16-bit 32-bit SA2 SS2 SA2 ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SX2 ES2/EX2 SX2 SE SE ZRST M300 M399 ZRST C0 C127 ZRST T0 T127 ZRST S0 S127 ZRST D0 D100 ZRST C235 C254