ATAN2 / ATANL2
Function - Calculate arc-tangent of Y/X.
Inputs
Input |
Data type |
Description |
Y |
REAL/LREAL |
Real value. |
X |
REAL/LREAL |
Real value. |
Outputs
Output |
Data type |
Description |
Q |
REAL/LREAL |
Result: arc-tangent of Y / X. |
Remarks
In LD language, the operation is executed only if the input rung (EN) is TRUE. The output rung (ENO) keeps the same value as the input rung.
ST Language
Q := ATAN2 (IN);
FBD Language
LD Language
The function is executed only if EN is TRUE.
ENO keeps the same value as EN.
ATAN2 / ATANL2 |
IEC 61131-3 Automation platform > Programming - Reference guide > Trigonometric functions > ATAN2 / ATANL2 |
Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator