SUB (2 Variables Subtraction)
Function name | SUB_010 |
---|---|
Function version | 1.0 |
Function state | stable |
Compatibility with IEC61131-3 | not 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 | Result of the operation Q = (A) – (B) |
ENO | Right Power Flow | IEC1131-3 enable output |
Description :
The function Subtraction executes A minus B and place the result in Q.
The eventual overflow in the result (Q) is ignored.
Note: the numbers in floating point are represented in the format described in the standard 754-1985 ANSI/IEEE (in single precision). For further representation about the argument, refers to that law.