8400 StateLine C | Reference manual
Function library
Function blocks | L_OffsetGain_1
16.1.30
L_OffsetGain_1
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 FB inputs.
The value provided at the nOut_a output is internally limited to ±199.99 %.
Inputs
Identifier
nIn_a
nOffset_a
nGain_a
Outputs
Identifier
nOut_a
Function
828
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
Offset
• Scaling: 16384 ≡ 100 %
INT
Gain factor
• Scaling: 16384 ≡ 100 %
INT
• 199.99 % ≈2
Value/meaning
Data type
Output signal
• Internal limitation to ±199.99 %
INT
nOut_a
nIn_a
(
=
L
Offset
) Gain factor
⋅
+
Firmware ≤ 11.00 - DMS 8.0 EN - 10/2011