Allen-Bradley Logix5000 Reference Manual page 122

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Chapter 3
Timer and Counter Instructions (TON, TOF, RTO, TONR, TOFR, RTOR, CTU, CTD, CTUD, RES)
Condition
Prescan
Rung-condition-in is false
Examine .DN bit.
Examine .EN Bit.
.ACC = .ACC + (current_time - last_time)
last_time = current_time
.ACC Value Rolls Over
.ACC = 2,147,483,647
Rung-condition-in is true
Postscan
122
Execution:
Relay Ladder Action
The .EN, .TT, and .DN bits are cleared.
The .ACC value is set to equal the .PRE value.
The rung-condition-out is set to false.
.TT bit is set.
.DN Bit = 0
.DN Bit = 1
.EN bit = 1
.EN bit = 0
No
Yes
The .EN, .TT, and .DN bits are set.
The .ACC value is cleared.
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
.EN bit is cleared.
last_time = current_time
Examine .ACC
Rung-condition-out is set to
false.
End
.ACC ≥ .PRE
.ACC < .PRE
.DN is cleared
.TT bit is cleared
.EN bit is cleared

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents