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

Page 1078

Advertising
background image

L-force | PLC Designer

Programming Reference

1076

DMS 4.1 EN 03/2011 TD29

COS
IEC Operator: Returns the cosine of 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 0.877583 *)

Example in ST:

q:=COS(0.5);

Example in FBD:

TAN
IEC Operator: Returns the tangent 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 0.546302 *)

Example in ST:

q:=TAN(0.5);

Example in FBD:

Advertising