
17
Function library
17.1
Function blocks | L_OffsetGain_1
1447
Lenze · 8400 HighLine · Reference manual · DMS 12.0 EN · 06/2017 · TD23
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
17.1.120
L_OffsetGain_1
This FB can add an offset to an analog input signal and then amplify it. Preferably to be
interconnected directly after the analog input terminals.
• The internal calculations (addition and subtraction) are carried out with 32 bits without
overflow/underflow. Division is not remainder considered.
• Offset and gain are selected via FB inputs.
• The value provided at the
nOut_a
output is internally limited to ±199.99 %.
Inputs
Outputs
Function
Designator
Data type
Information/possible settings
nIn_a
INT
Input signal
• Scaling: 16384
≡
100 %
nOffset_a
INT
Offset
• Scaling: 16384
≡
100 %
nGain_a
INT
Gain factor
• Scaling: 16384
≡
100 %
• 199.99 %
≈
2
Designator
Data type
Value/meaning
nOut_a
INT
Output signal
• Internal limitation to ±199.99 %
/B2IIVHW*DLQB
Q2XWBD
Q,QBD
Q2IIVHWBD
Q*DLQBD
nOut_a
nIn_a Offset
+
(
)
Gain factor
⋅
=