LatchInteger

Top  Previous  Next

CIRCON~1_img261

Implements a data latch for an integer value.  A False to True transition on the Clock input will latch the current value at the input (In), to the output (Out).

 

Inputs



 

 

Slots

Type

Default

Description

 

Clock

Digital

Null

A False to True transition will cause the output slot to latch the current value applied to the input slot.

 

In

Integer

0

The value to be latched

 

Outputs


 

Slots

Type

Description

 

Output

Integer

The currently latched value

 

Properties

 

Slots

Description

 

Persistent

Determines if the latched value is persisted across program restarts and power-cycles

 

DefaultValue

 

 

 

Determines the initial value of the block on program start, or on initial load of the program.  If the block is not persistent, the output will be set to the DefaultValue on the restart of the program (including controller restarts and power-cycles).   If the block is persistent, the DefaultValue will only be used on the initial download and start of the program, and will not be used on subsequent restarts.