beautypg.com

3 awl (instruction list, il), 1 general, 1 data types – NORD Drivesystems BU0550 User Manual

Page 20: 2 literal

background image

PLC logic for NORD SK 54xE frequency inverters

20

BU 0550 GB-0813

3 AWL (Instruction List, IL)

3.1 General

3.1.1

Data types

The PLC supports the data types listed below.

Name

Required memory space

Value range

BOOL

1 bit

0 to 1

BYTE

1 Byte

0 to 255

INT

2 Byte

-32768 to 32767

DINT

4 Byte

-2,147,483,648 to 2,147,483,647

LABEL_ADDRESS 2 Byte

Jump marks

Table 2 Data types

3.1.2

Literal

For greater clarity it is possible to enter constants for all data types in various display formats. The following
table gives an overview of all possible variants.

Literal

Example

Number displayed in decimal

BOOL

FALSE

0

TRUE

1

BOOL#0

0

BOOL#1

1

Dual (Base 2)

2#01011111

95

2#0011_0011

51

BYTE#2#00001111

15

BYTE#2#0001_1111

31

Octal (Base 8)

8#0571

377

8#05_71

377

BYTE#8#10

8

BYTE#8#111

73

BYTE#8#1_11

73

Hexadecimal (Base 16)

16#FFFF

-1

16#0001_FFFF

131071

INT#16#1000

4096

DINT#16#0010_2030

1056816

Integer (Base 10)

10

10

-10

-10

10_000

10000

INT#12

12

DINT#-100000

-100000

Time

TIME#10s50ms

10.050 seconds

T#5s500ms

5.5 seconds

TIME#5.2s

5.2 seconds

TIME#5D10H15M

5 days + 10 hours + 15 minutes

T#1D2H30M20S

1 day + 2 hours + 30 minutes + 20 seconds

Table 3 Numeric literals