SQRT (Square Root)
Function name | SQRT_010 |
---|---|
Function version | 1.0 |
Function state | stable |
Compatibility with IEC61131-3 | compatible |
Graphic symbol :
Input / Output :
Nome | Gruppo appartenenza | Accesso | Tipi di dati | Descrizione |
---|---|---|---|---|
EN | Left Power Flow | IEC1131-3 enable input | ||
A | Normal | R , RW | F , B , W , L , S | Input variable A |
Q | Normal | W , RW | F , B , W , L , S | Result of the operation Q = SQRT (A) |
ENO | Right Power Flow | IEC1131-3 enable output |
Description :
The Square Root operation of a number provides the square root of a number (A) and produce as a result a number (Q).
The square root of a negative number always gives Q equal to zero.
The eventual overflow in the result (Q) is ignored.