87 l_gainoffset_2, 87 l_gainoffset_2 3, L_gainoffset_2 – Lenze 8400 User Manual
Page 1293: 18 function library

Lenze · 8400 protec HighLine · Reference manual · DMS 3.0 EN · 03/2013 · TD05
1293
18
Function library
18.1
Function blocks | L_GainOffset_2
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
18.1.87
L_GainOffset_2
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 FB inputs.
• The value provided at the nOut_a output is internally limited to ±199.99 %.
Inputs
Outputs
Function
Identifier
Data type
Information/possible settings
nIn_a
INT
Input signal
• Scaling: 16384 ≡ 100 %
nGain_a
INT
Gain factor
• Scaling: 16384 ≡ 100 %
• 199.99 % ≈2
nOffset_a
INT
Offset
• Scaling: 16384 ≡ 100 %
Identifier
Data type
Value/meaning
nOut_a
INT
Output signal
• Internal limitation to ±199.99 %
/B*DLQ2IIVHWB
Q,QBD
Q2XWBD
Q2IIVHWBD
Q*DLQBD
nOut_a
nIn_a Gain factor
⋅
(
) Offset
+
=