beautypg.com

2 arithmetical operators – NORD Drivesystems BU0550 User Manual

Page 24

background image

PLC logic for NORD SK 54xE frequency inverters

24

BU 0550 GB-0813

3.2.2

Arithmetical operators

Operator

Explanation

ABS

Absolute value

ADD

Addition

DIV

Division

LIMIT

Limiter

MAX

Determines the larger of two numbers

MIN

Determines the lesser of two numbers

MUX

Multiplexer

MOD

Modulus operation

MUL

Multiplication

SUB

Subtraction

Table 10 Overview of arithmetical operators

NOTE

Some of the following operators may also contain further commands. These must be placed in
brackets behind the operator

It must be noted that a space must be included behind the opened bracket. The closing bracket
must be placed on a separate line of the program.

LD Var1

ADD( Var2

SUB Var3

)

3.2.2.1

ABS

Forms the absolute value from the Accumulator.

BOOL

BYTE

INT

DINT

Possible data types

X

X

Commands

Explanation

LD -10

Loads the value -10

ABS

Accu = 10

ST Value2

Saves the value 10 in Value1

Table 11 ABS