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

Page 1080

Advertising
background image

L-force | PLC Designer

Programming Reference

1078

DMS 4.1 EN 03/2011 TD29

ATAN
IEC Operator: Returns the arc tangent (inverse function of 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.463648 )

Example in ST:

q:=ATAN(0.5);

Example in FBD:

EXPT
IEC Operator: Exponentiation of a variable with another variable:

OUT = IN1IN2.

The input variable can be of any numeric basic data type, the output variable must be
type REAL or LREAL.

Example in IL: ( Result is 49 )

Example in ST:

var1 := EXPT(7,2);

Example in FBD:

Advertising