
17
Function library
17.1
Function blocks | L_GainOffsetP_3
1389
Lenze · 8400 HighLine · Reference manual · DMS 12.0 EN · 06/2017 · TD23
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
17.1.91
L_GainOffsetP_3
This FB can amplify an analog input signal and add an offset to it afterwards. 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.
• Gain and offset are selected via parameters.
• The value provided at the
nOut_a
output is internally limited to ±199.99 %.
Inputs
Outputs
Parameters
Function
Designator
Data type
Information/possible settings
nIn_a
INT
Input signal
• Scaling: 16384
≡
100 %
Designator
Data type
Value/meaning
nOut_a
INT
Output signal
• Internal limitation to ±199.99 %
Parameters
Possible settings
Info
-199.99
%
199.99 Gain factor
• Lenze setting: 100.00 %
• 199.99 %
≈
2
-199.99
%
199.99 Offset
• Lenze setting: 0.00 %
/B*DLQ2IIVHW3B
Q,QBD
Q2XWBD
2IIVHW
*DLQ
&
&
nOut_a
nIn_a Gain factor
⋅
(
)
Offset
+
=