CountDown

Top  Previous  Next

CIRCON~1_img251

Counts down to zero from an initial value following an input transition from False to True.

After counting down to zero, the block resets and changes the value of the underflow.

 

Inputs



 

 

Slots

Type

Default

Description

 

In

Digital

Null

The input to monitor.

 

Reset

Digital

False

A True value will cause the output to be reset back to the initial starting value, and the Underflow set to False.

 

Outputs


 

Slots

Type

Description

 

Out

Integer

The output count value.

 

Underflow

Digital

When the output (Out) reaches zero, the value will be True for one cycle, and then set to False. The initial state is False.

 

Properties

 

Slots

Description

 

StartAt

The initial value of the countdown.