EasyManuals Logo
Home>Allen-Bradley>Controller>Logix5000

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #145 background imageLoading...
Page #145 background image
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 145
Timer and Counter Instructions (TON, TOF, RTO, TONR, TOFR, RTOR, CTU, CTD, CTUD, RES) Chapter 3
Count Down (CTD)
The CTD instruction counts downward.
This instruction is available in structured text and function block as CTUD.
Operands:
Relay Ladder
COUNTER Structure
Operand Type Format Description
Counter COUNTER Tag Counter structure
Preset DINT Immediate How low to count
Accum DINT Immediate Number of times the counter has counted
Initial value is typically 0
Mnemonic Data Type Description
.CD BOOL The count down enable bit indicates that the CTD instruction is enabled.
.DN BOOL The done bit indicates that .ACC ≥ .PRE.
.OV BOOL The overflow bit indicates that the counter exceeded the upper limit of 2,147,483,647. The counter then
rolls over to -2,147,483,648 and begins counting up again.
.UN BOOL The underflow bit indicates that the counter exceeded the lower limit of -2,147,483,648. The counter
then rolls over to 2,147,483,647 and begins counting down again.
.PRE DINT The preset value specifies the value that the accumulated value must reach before the instruction sets
the .DN bit.
.ACC DINT The accumulated value specifies the number of transitions the instruction has counted.

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals