EasyManuals Logo

Basler DECS-200 User Manual

Basler DECS-200
181 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #157 background imageLoading...
Page #157 background image
DECS-200 Modbus™ Communication 7-7
Table 7-4. Generic Data Types and Description
Generi
c Data
Types
Corresponding built-in data
type (Storage Format)
Data Range
Data
Size
in
bytes
Total number
of Modbus
Registers to
hold data
UI8 UCHAR: unsigned character 0 to 255 1 1
UI6 UINT16: unsigned short integer 0 to 65,535 2 1
UI32 UINT32: unsigned long integer 0 to 4,294,967,295 4 2
I8 CHAR: signed character -128 to 127 1 1
I16 INT16: signed short integer -32,768 to 32,767 2 1
I32 INT32: signed long integer -2,147,483,648 to 2,147,483,647 4 2
R32_23 FLOAT: floating point number From approximately 8.43 x 10
-37
to 3.38 x 10
38
4 2
It should be noted that an ASCII string is not a DECS-200 generic data type. An ASCII string will be
considered as a sequence of “(string length + 1)” data of I8 type, and for its transmission via a Modbus
network “(string length + 1)” holding registers are needed.
DECS-200 data is copied to assigned Holding Register(s) [HR] by the rules presented in the following
paragraphs.
Generic Types UI8 and I8
Data of type UI8 or I8 is copied to one holding register (HR). The high (first) HR byte always contains 0,
and second (low) HR byte contains the data.
Example:
Assume that the value of UI8 type data is 0x56, and that the data is mapped to HR 44005.
The content of HR 44005 will be as listed in Table 7-5.
Table 7-5. HR 44005 Contents
HR 44004
Low Byte
HR 44005
High Byte
HR 44005
Low Byte
HR 44006
High Byte
... 0x00 0x56 ...
Generic Types UI16 and I16
Data of type UINT16 or INT16 is saved in 1 one holding register. The high data byte is copied to the high
HR byte and the low data byte to the low HR byte.
Example:
Assume that the DECS-200 UINT16 or INT16 type data value of 0xF067 is mapped to HR 47003.
Data is copied to HR 47003 as shown in Table 7-6.
Table 7-6. HR 47003 Mapping
HR 47002
Low Byte
HR 47003
High Byte
HR 47003
Low Byte
HR 47004
High Byte
... 0xF0 0x67 ...
Generic Types UI32 and I32
Data of type UI32 or I32 is 4 bytes long. The Modbus 4-byte long data generic types use two consecutive
registers to represent a data value. The lower numbered holding register contains the low order 16 bits,
Low Order word [LO w] and the higher numbered holding register contains the higher order 16 bits,
Higher Order word [HO w].

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Basler DECS-200 and is the answer not in the manual?

Basler DECS-200 Specifications

General IconGeneral
BrandBasler
ModelDECS-200
CategoryController
LanguageEnglish

Related product manuals