Reset (RES)
Description:
Arithmetic Status Flags:
Fault Conditions:
Condition
Prescan
Rung-condition-in is false
Rung-condition-in is true
Postscan
Timer and Counter Instructions (TON, TOF, RTO, TONR, TOFR, RTOR, CTU, CTD, CTUD, RES)
The RES instruction resets a TIMER, COUNTER, or CONTROL structure.
Operands:
Relay Ladder
Operand
Structure
When enabled the RES instruction clears these elements.
When using a RES
instruction for a
TIMER
COUNTER
CONTROL
Not affected
None
Execution:
Relay Ladder Action
The rung-condition-out is set to false.
The rung-condition-out is set to false.
The RES instruction resets the specified structure.
The rung-condition-out is set to true.
The rung-condition-out is set to false.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Type
Format
TIMER
Tag
CONTROL
COUNTER
The instruction clears
.ACC value
Control status bits
.ACC value
Control status bits
.POS value
Control status bits
ATTENTION: Because the RES instruction clears the .ACC value,
.DN bit, and .TT bit, do not use the RES instruction to reset a TOF
timer.
Description
Structure to reset
Chapter 3
153