AH500 Motion Control Module Manual D 1 : Initial device which is reset; D 2 : Final device which is reset The instruction ZRST can be used to reset 16-bit counter and 32-bit counters. If the device number of D 1 is greater than the device number of D 2 , only Explanation When X0.0 is ON, the auxiliary relays M300~M399 are reset to OFF. When X1.0 is ON, the 16-bit counters C0~C127 are reset. (The values of C0~C127 are cleared to 0, and the contacts and the coils are reset to OFF.) When X1.0 is ON, the timers T0~T127 are reset. (The values of T0~T127 are cleared to 0. and the contacts and the coils are reset to OFF.) When X0.2 is ON, the stepping relays S0~S127 are reset to OFF.
When X0.3 is ON, the data registers D0~D100 are reset to 0. When X0.4 is ON, the 32-bit counters C235~C254 are reset. (The values of C235~C254 are cleared to 0, and the contacts and the coils are reset to OFF.) D 2 will be reset. Example X0.0 X0.1 X1.0 X0.2 X0.3 X0.4 The instruction RST can be used to reset a single device, e.g. a Y device, an M device, an S device, a T device, a C device, or a D device.
Additional remark 5-60 API Instruction code Operand Function 40 ZRST P D , D 1 2 Resetting a zone Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z D 1 D 2 Pulse instruction 16-bit instruction (5 steps) 32-bit instruction – .0 ZRST M300 M399 ZRST C0 C127 ZRST T0 T127 ZRST S0 S127 .3 ZRST D0 D100 ZRST C235 C254