Chapter 6 Applied Instructions Symbol D 1 : First device to be reset D 2 : Last device to be reset Explanation 1. This instruction clears the values in D 1 – D 2 . The device type for D 1 – D 2 should be the same for this instruction. 2. When the device number of D 1 is larger than the device number of D 2 , the instruction resets only D 2 . 6_ 3. The ZRST instruction can use the 32-bit counter. Example 1. When M0 is ON, the instruction resets the auxiliary relays M300–M399 to OFF. 2. When M1 is ON, the instruction resets the 16-bit counters C0–C127. The values of C0–C127 are cleared to zero, and the contact and the coil are reset to OFF. 3.
When M2 is ON, the instruction resets the stepping relays S0–S127 to OFF. 4. When M3 is ON, the instruction resets the output relays Y0–Y15 to OFF. 5. WhenM4 is ON, the instruction resets the 32-bit counters HC0–HC63. The values of HC0–HC63 are cleared to zero, and the contact and the coil are reset to OFF. 6. When M5 is ON, the instruction resets the timers T0–T127. The values of T0–T127 are cleared to 0. and the contact and the coil are reset to OFF.
6-359 API Instruction code Operand Function 1206 ZRST P D1, D2 Resetting a zone Device X Y M S T C HC D FR SM SR E K 16# “$” F D1 D2 BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type D1 D2 Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 -