CODESYS ASIN

ASIN is an IEC operator in the CODESYS Development System that yields the arcsine value of a number. The input variable can be any numeric basic data type, and the output is returned as REAL or LREAL. The document's example is q := ASIN(0,5); which gives the result 0.523599.

Source checked3/3 values · 2026-10-26

Specification

2 sources
Languagestructured text
CodeASIN
Syntaxq := ASIN(0,5);
DialectCODESYS

Study notes

  • Permitted data types for input variables: any numeric basic data type.
  • Permitted data types for output variables: REAL and LREAL.
  • Example shown in ST: q := ASIN(0,5); with the result in q equal to 0.523599.
  • The operator is also illustrated in FBD form.
  • The document does not state parameter names for the input or output variables; it only refers to input variables and output variables.
↑↓ navigate↵ openesc close