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

Page 535

Advertising
background image

L-force | PLC Designer

Operators and Library Modules Overview



DMS 3.2 EN 02/2011 TD29

533

in ST

in AWL

Mod.

AWL

Description

MUX(K,in0,...in_n)

MUX

Selecti the Kth value out of a group of
values (in0 to In_n)

ADR(in)

ADR

Address of the operand in [DWORD]

ADRINST()

ADRINST()

Address of the function block instance

from which you are calling that operator.

BITADR(in)

BITADR

Bitoffset of the operand in [DWORD]

BOOL_TO_<type>(in)

BOOL_TO_<type>

Type conversion of the boolean operand

<type>_TO_BOOL(in)

<type>_TO_BOOL

Type conversion to BOOL

INT_TO_<type>(in)

INT_TO_<type>

Type conversion of an INT Operand to

another elementary type

REAL_TO_<type>(in)

REAL_TO_<type>

Type conversion of an REAL operand to
another elementary type

LREAL_TO_<type>(in)

LREAL_TO_<type>

Type conversion of a LREAL operand to
another elementary type

TIME_TO_<type>(in)

TIME_TO_<type>

Type conversion of a TIME operand to
another elementary type

TOD_TO_<type>(in)

TOD_TO__<type>

Type conversion of a TOD operand to
another elementary type

DATE_TO_<type>(in)

DATE_TO_<type>

Type conversion of a DATE operand to
another elementary type

DT_TO_<type>(in)

DT_TO_<type>

Type conversion of a DT operand to
another elementary type

STRING_TO_<type>(in)

STRING_TO_<type>

Type conversion of a string operand to
another elementary type, in must contain
valid value of desired type

TRUNC(in)

TRUNC

Conversion from REAL to INT

ABS(in)

ABS

Absolute value of operand in

SQRT(in)

SQRT

Square root of operand in

LN(in)

LN

Natural logarithm of operand in

LOG(in)

LOG

Logarithm of operand in, base 10

EXP(in)

EXP

Exponential function of operand in

SIN(in)

SIN

Sine of operand in

COS(in)

COS

Cosine of operand in

TAN(in)

TAN

Tangent of operand in

ASIN(in)

ASIN

Arc sine of operand in

ACOS(in)

ACOS

Arc cosine of operand in

ATAN(in)

ATAN

Arc tangent of operand in

EXPT(in,expt)

EXPT expt

Exponentation of operand in with expt

Advertising