156 l_samplehold_1, 156 l_samplehold_1 4, L_samplehold_1 – Lenze 8400 TopLine User Manual
Page 1644: 19 function library
19
Function library
19.1
Function blocks
1644
Lenze · 8400 TopLine · Reference manual · DMS 6.0 EN · 06/2014 · TD05/TD14
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
19.1.156
L_SampleHold_1
This FB can store a signal.
• The saved value is also available after mains switching.
Inputs
Outputs
Function
• When bLoad = TRUE, the nIn_a signal is switched to nOut_a.
• When bLoad = FALSE, the last-valid value is saved and output at nOut_a. A signal change at
nIn_a does not cause a change at nOut_a.
Behaviour after mains switching
The last-loaded value is permanently stored after switching of the supply voltage and reloaded after
restart.
• In order that the saved value is not immediately overwritten with the current input signal at nIn
after restart, bLoad must be set to FALSE at restart.
Identifier
Data type
Information/possible settings
nIn_a
INT
Input signal
bLoad
BOOL
Save input signal
FALSE The last-valid value at nIn is saved and output to nOut. A signal
change at nIn does not cause a change at nOut.
TRUE The nOut output provides dnIn.
Identifier
Data type
Value/meaning
nOut
INT
Output signal
/B6DPSOH+ROGB
E/RDG
Q,QBD
6 +
Q2XWBD