123 l_offsetgainp_2, 123 l_offsetgainp_2 8, L_offsetgainp_2 – Lenze 8400 User Manual
Page 1348: 18 function library

18
Function library
18.1
Function blocks | L_OffsetGainP_2
1348
Lenze · 8400 protec HighLine · Reference manual · DMS 3.0 EN · 03/2013 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
18.1.123
L_OffsetGainP_2
This FB can add an offset to an analog input signal and amplify 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.
• Offset and gain 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
Identifier
Data type
Value/meaning
nOut_a
INT
Output signal
• Internal limitation to ±199.99 %
Parameter
Possible settings
Info
-100.0000
100.0000 Gain factor
• High gain factor for further
processing of smallest input
signals.
• Please observe the difference
with regard to the gain factors of
other blocks in percent
(±199.99 % ≈ 2).
• Lenze setting: 1.0000
-199.99
%
199.99 Offset
• Lenze setting: 0.00 %
/B2IIVHW*DLQ3B
Q2XWBD
Q,QBD
2IIVHW
*DLQ
&
&
nOut_a
nIn_a Offset
+
(
) Gain factor
⋅
=