L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 501
Advertising

L-force | PLC Designer
IEC Operators and additional norm extending functions
DMS 3.2 EN 02/2011 TD29
499
9.10.6
SIN
PLC Designer IEC operator: Returns the sine of a number. The input value IN is
calculated in arch minutes. It can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT,
USINT, UINT, UDINT. OUT must be type REAL.
Example in IL:
LD 0.5
SIN
ST q (* Result is 0.479426 *)
Example in ST:
q:=SIN(0.5);
Example in FBD:
9.10.7
COS
PLC Designer IEC operator: Returns the cosine of number. The result is calculated in
arch minutes. IN can be type BYTE, WORD, DWORD, INT, DINT, REAL, SINT, USINT,
UINT, UDINT, OUT must be type Typ REAL.
Example in IL:
LD 0.5
COS
ST q (* Result is 0.877583 *)
Example in ST:
q:=COS(0.5);
Example in FBD:
Advertising