OneShot

Top  Previous  Next

CIRCON~1_img407

When the value to the ‘In’ slot transitions from False-to-True, the ‘Out’ slot is held True for the time period specified in ‘OnTime’. Once the time expires, the ‘Out’ slot reverts back to False.

 

Inputs



 

 

Slots

Type

Default

Description

 

In

Digital

?

The digital input field on which a False‑to‑True transition causes the ‘Out’ slot to be set to true.

 

OnTime

Integer

 

The time, in seconds, for which to hold the ‘Out’ slot to True when a False‑to‑True transition occurs on the ‘In’ slot.

 

Outputs


 

Slots

Type

Description

 

Out

Digital

The current index of the network variable.

 

Properties


 

Slots

Description

 

Retrigger

When set to True, the block will retrigger the ‘Out’ slot to a value of True if it is already set to True and a False‑to‑True transition occurs on the ‘In’ slot. In other words, the ‘Out’ slot will remain true for ‘OnTime’ when another False‑to‑True transition occurs on the ‘In’ slot.