Table of Contents

CTD Box Function

Count Down Counter

Category: Counter Box Functions

Behavior

Preloads the current value with the set value, then decrements it once on each rising edge of the left condition. The done state turns ON at zero, where counting stops.

Syntax and Arguments

Syntax: CTD C12 3

Behavior Example

Run condition Before Command entered Expected result
Left condition ON C12=3 CTD C12 3 3 rising edges → C12=0, C12 done contact=ON

CTD input, current value, and done state

Cautions

Box Functions in the Same Category