91 l_gainoffsetp_3, 91 l_gainoffsetp_3 7, L_gainoffsetp_3 – Lenze 8400 User Manual
Page 1297: 18 function library

Lenze · 8400 protec HighLine · Reference manual · DMS 3.0 EN · 03/2013 · TD05
1297
18
Function library
18.1
Function blocks | L_GainOffsetP_3
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
18.1.91
L_GainOffsetP_3
This FB can amplify an analog input signal and then add an offset to 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.
• Gain and offset are selected via parameters.
• The value provided at the nOut_a output is internally limited to ±199.99 %.
Inputs
Outputs
Parameter
Function
Identifier
Data type
Information/possible settings
nIn_a
INT
Input signal
• Scaling: 16384 ≡ 100 %
Identifier
Data type
Value/meaning
nOut_a
INT
Output signal
• Internal limitation to ±199.99 %
Parameter
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
+
=