UseDegrees
Function - Sets the unit for angles in all trigonometric functions.
Inputs
Input |
Data type |
Description |
IN |
BOOL |
If TRUE, turn all trigonometric functions to use degrees. |
Outputs
Output |
Data type |
Description |
Q |
BOOL |
TRUE if functions use degrees before the call. |
Remarks
This function sets the working unit for the following functions:
Code |
Function |
sine |
ST Language
Q := UseDegrees (IN);
FBD Language
LD Language
Input is the rung. The rung is the output.
UseDegrees |
IEC 61131-3 Automation platform > Programming - Reference guide > Trigonometric functions > UseDegrees |
Created with the Personal Edition of HelpNDoc: Easily create EBooks