16.1.20
L_GainOffset_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 FB inputs.
The value provided at the nOut_a output is internally limited to ±199.99 %.
Inputs
Identifier
nIn_a
nGain_a
nOffset_a
Outputs
Identifier
nOut_a
Function
Firmware ≤ 11.00 - DMS 8.0 EN - 10/2011
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Information/possible settings
Data type
Input signal
• Scaling: 16384 ≡ 100 %
INT
Gain factor
• Scaling: 16384 ≡ 100 %
INT
• 199.99 % ≈2
Offset
• Scaling: 16384 ≡ 100 %
INT
Value/meaning
Data type
Output signal
• Internal limitation to ±199.99 %
INT
nOut_a
nIn_a Gain factor
(
=
L
8400 StateLine C | Reference manual
Function blocks | L_GainOffset_3
Offset
⋅
)
+
Function library
803