Short description
This SFB amplifies an analog input value and returns it at the analog output.
LOGO! 9 and later versions support two data types: integer (16-bit) and float (32-bit).
|
Connections |
Description |
||
|
Input Ax |
Input Ax is one of the following analog signals (integer or float):
|
||
|
Parameter |
Value range |
Integer |
Float |
|
Gain |
|
-3.402823E38 to +3.402823E38 |
|
|
Offset |
|
||
|
p (Number of decimals) |
0, 1, 2, 3 |
/ |
|
|
Output AQ |
AQ |
-32768 to +32767 |
-3.402823E38 to +3.402823E38 |
|
1 If the data type of Ax is integer and the data type of this FB is configured as float, LSC will convert Ax into 32-bit receivable float data. 2 If the data type of Ax is float and the data type of this FB is configured as integer, LSC will cut off the decimal numbers of Ax and convert it into 16-bit receivable integer data. 3 AI1 to AI16: 0 to 10 V corresponds with 0 to 1000, 0 to 4095 or 0 to 10000 (internal value). 4 AI1 to AI8: 0 to 10 V corresponds with 0 to 1000 (internal value). |
|||
|
|
0BA4: A: Gain Range of values: 0.00 to 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.