LatchDigital

Top  Previous  Next

CIRCON~1_img260

Implements a data latch for a digital 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

Digital

Null

The value to be latched

 

Outputs


 

Slots

Type

Description

 

Output

Digital

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.