ASIN
Function Name |
ASIN |
---|---|
Description |
Converts a REAL or LREAL input into an arc sine (inverse sine). The arc sine value is the output and is also a REAL or LREAL. |
Arguments |
Input 1 {REAL or LREAL}. This value has to be between 0 and 1. For more information on the data types for the inputs and outputs, see Data Type Hierarchy. |
Returns |
Output {REAL or LREAL}. This value is in radians. |
Example:
Function Block Diagram - ASIN:
In this example, the input of 0.431 is provided by the CurrentValueFormatted property of a point. The ASIN function converts the value into an arc sine value of 0.445600699078308 and this is used as the output.
ST Program - ASIN:
The syntax for an ASIN function in an ST Program is:
- Output := ASIN (Input 1);
Where Output and Input 1 are defined as variables earlier in the ST program. The Input 1 variable represents a REAL or LREAL type of value (the output is the same type of value as Input 1).