157 l_samplehold_2, 157 l_samplehold_2 5, L_samplehold_2 – Lenze 8400 TopLine User Manual

Page 1645: 19 function library

Advertising
background image

Lenze · 8400 TopLine · Reference manual · DMS 6.0 EN · 06/2014 · TD05/TD14

1645

19

Function library

19.1

Function blocks

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

19.1.157

L_SampleHold_2

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

Advertising