NORD Drivesystems BU0550 User Manual

Page 23

Advertising
background image

3 AWL (Instruction List, IL)

BU 0550 GB-0813

23

3.2.1.1

LD

Loads a constant or a variable into the AE or into the accumulator

BOOL

BYTE

INT

DINT

Possible data types

X

X

X

X

Commands

Explanation

LD 10

Loads 10 as BYTE

LD -1000

Loads -1000 as BYTE

LD Value1

Loads variable Value 1

Table 6 LD

3.2.1.2

LDN

Loads the negative value of a boolean variable into the AE

BOOL

BYTE

INT

DINT

Possible data types

X

Commands

Explanation

LDN Value1

Value1 = TRUE

AE = FALSE

ST Value2

Save to Value2 = FALSE

Table 7 LDN

3.2.1.3

ST

Saves the content of the AE or accumulator to a variable. The variable to be saved must match the
previously loaded and processed data type.

BOOL

BYTE

INT

DINT

Possible data types

X

X

X

X

Commands

Explanation

LD 100

Loads the value 100

ST Value2

Accumulator content 100 is saved in Value1

Table 8 ST

3.2.1.4

STN

Saves the content of the AE to a variable and negates it. The variable to be saved must match the
previously loaded and processed data type.

BOOL

BYTE

INT

DINT

Possible data types

X

Commands

Explanation

LD Value1

Value1 = TRUE

AE = TRUE

STN Value2

Save to Value2 = FALSE

Table 9 STN

Advertising