Chapter 4 Basic Instructions When the instruction RST is driven, the device specified acts in the way described below. Explanation If the instruction RST is not executed, the state of the device specified will remain unchanged. Ladder diagram Instruction code: Description: Example X0.0 LD X0.0 Loading the Form A contact X0.0 When the instruction TMR is executed, the coil specified is ON, and the timer specified begins to count. If the timer value matches the setting Explanation value (timer value ≧ setting value), the contact specified will act in the way described below. Ladder diagram Instruction code: Description:
Example X0.0 K1000 LD X0.0 Loading the Form A contact X0.0 Please refer to the specifications for the model used for more information about the timer range which can be used. Additional remark 4-9 Instruction code Operand Function RST S Resetting a contact or a register Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S Device State S, Yn.n, M The coil and the contact are set to OFF. T, C The present timer value or the present counter value becomes 0. The coil and the contact are set to OFF. D, V, Z The value becomes 0.
RST Y0.5 RST Y0.5 Resetting Y0.5 Instruction code Operand Function TMR S , S 1 2 16-bit timer Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z S 1 S 2 NO (Normally-open) contact OFF NC (Normally-closed) contact ON TMR T5 TMR The setting value T5 K1000 in the timer T5 is K1000.