Asin, Acos, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 1079

Advertising
background image

L-force | PLC Designer

Programming Reference

DMS 4.1 EN 03/2011 TD29

1077

ASIN
IEC Operator: Returns the arc sine (inverse function of sine) of a number. .
The input variable can be of any numeric basic data type, the output variable must be
type REAL or LREAL.

Example in IL: ( Result in q is 0.523599 *)

Example in ST:

q:=ASIN(0.5);

Example in FBD:

ACOS
IEC Operator: Returns the arc cosine (inverse function of cosine) of a number. The value
is calculated in arch minutes.
The input variable can be of any numeric basic data type, the output variable must be
type REAL or LREAL.

Example in IL: ( Result in q is 1.0472 )

Example in ST:

q:=ACOS(0.5);

Example in FBD:

Advertising