NORD Drivesystems BU0550 User Manual

Page 26

Advertising
background image

PLC logic for NORD SK 54xE frequency inverters

26

BU 0550 GB-0813

3.2.2.4

LIMIT

This command limits the value in the accumulator to transferred minimum and maximum values. If this is
exceeded the maximum value in the accumulator is transferred and the minimum value is transferred if this
is undershot. There is no effect if the value is within the limits.

BOOL

BYTE

INT

DINT

Possible data types

X

X

X

Commands

Explanation

LD 10

Loads the value 10 into the accumulator

LIMIT 20,30

The value is compared with the limits 20 and 30. The value
in the accumulator is smaller, the accumulator is overwritten
with 20

ST Value1

Saves the value 20 in Value1

Table 14 LIMIT

3.2.2.5

MAX

This command determines the maximum value of two variables or constants. For this, the current value of
the accumulator is compared with the value transferred in the MAX command. After the command, the
larger of the two values is in the accumulator.

Both values must belong to the same type of variable.

BOOL

BYTE

INT

DINT

Possible data types

X

X

X

Commands

Explanation

LD 100

Load 100 into the accumulator

MAX 200

Compare with the value 200

ST Value2

Save the value 200 in Value2 (because it is the larger
value)

Table 15 MAX

3.2.2.6

MIN

This command determines the minimum value of two variables or constants. For this, the current value of
the accumulator is compared with the value transferred in the MIN command. After the command, the
smaller of the two values is in the accumulator.

Both values must belong to the same type of variable.

BOOL

BYTE

INT

DINT

Possible data types

X

X

X

Commands

Explanation

LD 100

Load 100 into the accumulator

MIN 200

Compare with the value 200

ST Value2

Save the value 100 in Value2 (because it is the smaller
value)

Table 16 MIN

Advertising