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

Page 1077

Advertising
background image

L-force | PLC Designer

Programming Reference

DMS 4.1 EN 03/2011 TD29

1075

EXP
IEC Operator: Returns the exponential function.
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 7.389056099 )

Example in ST:

q:=EXP(2);

Example in FBD:

SIN
IEC Operator: Returns the 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.479426 *)

Example in ST:

q:=SIN(0.5);

Example in FBD:

Advertising