93 l_gainoffsetp_1, 93 l_gainoffsetp_1 1, L_gainoffsetp_1 – Lenze 8400 TopLine User Manual
Page 1531: 19 function library
![background image](/manuals/566308/1531/background.png)
Lenze · 8400 TopLine · Reference manual · DMS 6.0 EN · 06/2014 · TD05/TD14
1531
19
Function library
19.1
Function blocks
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
19.1.93
L_GainOffsetP_1
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
+
=