FB_SUB
Description Function Block
The FB_SUB function block is used to subtract the AnalogIn2 input from the AnalogIn1 input and pass the result to the AnalogOut output.
Then the AnalogOut output is set to 0 and the bError output is set to 1.
If the ErrAck input of the associated group is 1; the RESET state is adopted. As soon as the ErrAck input of the associated group becomes 0 again, the RESET state is quit and the system switches to the RUN state. In RESET state, the output AnalogOut=0 and the output bError=0.
EL6900
The FB_SUB function block is not supported by the EL6900.

Name | Data Type | Initial Value | Description, Parameter Values |
|---|---|---|---|
|
|
| 1st analog signal for subtraction Permitted data types: |
|
|
| 2nd analog signal for subtraction Permitted data types: |
Name | Data Type | Initial Value | Description, Parameter Values |
|---|---|---|---|
|
|
| Analog output which contains the result of the subtraction. Permitted data types: The data type must be selected according to the input data types. |
|
|
| Replace with:
|