Asin, L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 502

Advertising
background image

L-force | PLC Designer

IEC Operators and additional norm extending functions

500

DMS 3.2 EN 02/2011 TD29



9.10.8

TAN

PLC Designer IEC operator: Returns the tangent of a number. The value is calculated in
arch minutes. IN can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT,
UINT, UDINT, OUT must be type REAL.

Example in IL:

LD 0.5

TAN

ST q (* Result is 0.546302 *)

Example in ST:

q:=TAN(0.5);

Example in FBD:

9.10.9

ASIN

PLC Designer IEC operator: Returns the arc sine (inverse function of sine) of a number. .

IN can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT, UINT, UDINT, OUT
must be type REAL.

Example in IL:

LD 0.5

ASIN

ST q (* Result is 0.523599 *)

Example in ST:

q:=ASIN(0.5);

Example in FBD:

Advertising