Data type formats – Rockwell Automation 1755-OF8 GuardPLC Controller Systems User Manual

Page 273

Advertising
background image

Publication 1753-UM001C-EN-P - March 2010

273

Communicate with ASCII Devices Chapter 21

Data Type Formats

Follow these formats for sending different data types.

Data Type

Format

Example

BOOL

Description:

boolean

Size:

1 character

Range:

1 = true; 0 = false

0
1

SINT

Description:

short integer

Size:

1…4 characters

Range:

-128…127

-101
5
127
-128

INT

Description:

integer

Size:

1…6 characters

Range:

-32768…32767

-25724
232
-6
248

DINT

Description:

double integer

Size:

1…11 characters

Range:

-2147483648…2147483647

-1357679042
257
6200471

USINT

Description:

unsigned short integer

Size:

1…3 characters

Range:

0 …255

123
35
6
255

UINT

Description:

unsigned integer

Size:

1…5 characters

Range:

0 …65535

65535
7
333
597

UDINT

Description:

unsigned double integer

Size:

1…10 characters

Range:

0…4294967295

4294967295
256
334510

Advertising