UseDegrees
Function - Sets the unit for angles in all trigonometric functions.
Inputs
|
Input |
Data Type |
Range |
Unit |
Default |
Description |
|---|---|---|---|---|---|
|
IN |
BOOL |
FALSE, TRUE |
|
|
|
Outputs
|
Output |
Data Type |
Range |
Unit |
Description |
|---|---|---|---|---|
|
Q |
BOOL |
FALSE, TRUE |
|
TRUE if functions use degrees before the call. |
Remarks
This function sets the working unit for these functions:
|
Function |
Description |
|---|---|
|
Calculate an arc-cosine. |
|
|
Calculate an arc-sine. |
|
|
Calculate an arc-tangent. |
|
|
Calculate arc-tangent of Y/X. |
|
|
Calculate a cosine. |
|
|
Calculate a sine. |
|
|
Calculate a tangent. |
FBD Language Example
FFLD Language Example
- The first input is the rung.
- The rung is the output.
IL Language Example
Not available.
ST Language Example
Q := UseDegrees (IN);





