beautypg.com

L_tbsamplehold, 5function blocks – Lenze E94A User Manual

Page 618

background image

5

Function blocks

5.196

L_TbSampleHold - sample & hold (for "DINT" data type)

618

Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05

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

5.196

L_TbSampleHold - sample & hold (for "DINT" data type)

This FB can save a signal from the "DINT" data type.

• The stored value is also available after mains disconnection.

Inputs

Outputs

Behaviour when switching the mains
The value loaded last is stored permanently when the supply voltage is switched off and reloaded

after the mains is switched on again.

• In order that the stored value is not immediately overwritten by the current input signal at dnIn

after switching on the mains again, bLoad must be set to FALSE when the mains is switched on

again.

Function library:

LenzeToolbox

Runtime software licence:

Motion Control HighLevel

Motion Control TopLevel

Required retain memory:

32 bytes

Identifier/data type

Information/possible settings

dnIn

DINT

Input signal

bLoad

BOOL

Saving of input signal

FALSE The value valid last at dnIn is stored and output to dnOut. A signal

change at dnIn does not change dnOut.

TRUE dnIn is output at the output dnOut.

Identifier/data type

Value/meaning

dnOut

DINT

Output signal

GQ2XW

E/RDG

GQ,Q

/B7E6DPSOH+ROG

6 +