Sample and hold element

<< Click to Display Table of Contents >>

Navigation:  Function block library > Logic > Triggered operations >

Sample and hold element

Previous pageReturn to chapter overviewNext page

sample_hold

If Sample is set false, the signal at Input can be kept at the current value. See type conversion how numbers are converted to bool.

 

Inputs

Type

Default

Description

Input

float

0

Input signal

Sample

bool

false

If true, Output will be connected to Input. If false, the current value will be frozen at Output.





Outputs




Output

float

0

Last value of Input before Sample has been changed from true to false.