Chapter 11 Counter instructions
268 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
CTD counts (integers) from a given value down to 0, 1 by 1.
Arguments
Parameter Parameter type Data type Description
CD Input BOOL Counting input
(down-counting when CD is a rising edge).
LOAD Input BOOL Load command (dominant)
(CV = PV when LOAD is TRUE).
PV Input DINT Programmed initial value.
Q Output BOOL Underflow: TRUE when CV <= 0.
CV Output DINT Counter result.
CTD function block language examples
Function Block Diagram (FBD)