![Brooks SLA5800 Series Supplemental Manual Download Page 104](http://html1.mh-extra.com/html/brooks/sla5800-series/sla5800-series_supplemental-manual_2818721104.webp)
Installation and Operation Manual
X-DPT-DeviceNet-SLA5800-SLAMf-Series-RevB-PC-eng
Part Number: 541B200AAG
March, 2015
90
Section 7 - Appendix
Brooks DeviceNet PCs
7.2. Appendix B - Data Type Definitions
The following table list DeviceNet data types used throughout this manual
and in the DeviceNet specification.
The column C/C++ Encoding is given as a comparative common example
reference.
Table 7-19 Data Types
Data Type
Size
(bytes) Description
Range
C/C++
Keyword
BOOL
1
A true/false represented as 0 = false and 1 = true
0 and 1
bool
SINT
1
An 8-bit signed integer value
-128 to 127
char
USINT
1
An 8-bit unsigned integer value
0 to 255
unsigned char
INT
2
A 16-bit signed integer value
-32768 to 32767
short int
UINT
2
A 16-bit unsigned integer value
0 to 65535
unsigned short int
DINT
4
A 32-bit signed integer value
-2147483648 to
2147483647
int
UDINT
4
A 32-bit unsigned integer
0 to 4294967296
unsigned int
REAL
4
An IEEE single precision floating point number
3.4E38 to
-3.4E38
float
DREAL
8
An IEEE double precision floating point number
Long
ENGUNIT
1
An enumerated value representing an engineering unit
of measure
4096 - 65535
N/A
BYTE
1
An 8-bit Bitfield
N/A
N/A
SHORT
STRING
Up to
128
bytes
A character array where the first byte is the number of
characters in the array, and the subsequent bytes
contain the ASCII characters. This is not a NULL
terminated string.
N/A N/A