Short description
This SFB amplifies an analog input value and returns it at the analog output.
Connection |
Description |
Input Ax |
Input the analog signal to be amplified at input Ax. Use the analog inputs AI1...AI8, the analog flags AM1...AM6, the block number of a function with analog output, or the analog outputs AQ1 and AQ2. AI1..AI8: 0 - 10 V corresponds with 0 - 1000 (internal value). |
Parameter |
A: Gain B: Zero offset p: Number of decimals |
Output AQ |
Analog output Value range for AQ: -32768...+32767 |
|
0BA4: A: Gain Range of values 0.00...10.00 |
Parameter p (number of decimals)
Parameter p applies only to the display of Ax and Ay values in a message text.
Parameter p does not apply to the comparison of On and Off values. (The compare function ignores the decimal point.)
Description of the function
The function reads the value of an analog signal at the analog input Ax.
This value is multiplied by the gain parameter A. Parameter B (offset) is added to the product, as follows:
(Ax * gain) + offset = Actual value Ax.
The actual value Ax is output at AQ.
Particular characteristics to be noted when configuring
For help on analog block parameters, refer to the Analog value processing section.
Analog output
If you connect this special function to a real analog output, then note that the analog output can only process values from 0 to 1000. To do this, connect an additional amplifier between the analog output of the special function and the real analog output. With this amplifier you standardize the output range of the special function to a value range of 0 to 1000.
Example: additional amplifier behind an analog multiplexer.