ADD (2 Variables Addition)
Function name | ADD_010 |
---|---|
Function version | 1.0 |
Function state | stable |
Compatibility with IEC61131-3 | compatible |
Graphic symbol :
Input / Output :
Name | Belonging Group | Access | Types of data | Description |
---|---|---|---|---|
EN | Left Power Flow | IEC1131-3 enable input | ||
A | Normal | R , RW | F , B , W , L , S | Input variable A |
B | Normal | R , RW | F , B , W , L , S | Input variable B |
Q | Normal | W , RW | F , B , W , L , S | Operation result Q = (A) + (B) |
ENO | Right Power Flow | IEC1131-3 enable output |
Description :
The Addition function executes A plus B and place the result in Q.
The eventual overflow in the result (Q) is ignored.
Note: the floating point numbers are represented in the format described in the standard 754-1985 ANSI/IEEE (in single precision).
For further information about the arguments refers to that law.