GM8802F-2 Field Mounting Transmitter
GM8802-F2110101
25
5.2.2.2Modbus communication mode
RTU mode
(
1
)
every 8-bit byte(1 byte) are divided into 2pcs of 4-bit hexadecimal characters to
transmit.
(
2
)
The alternate space of every string need more than 3.5pcs characters. Suggest
using more than 4pcs characters as alternate space to ensure reliable end.
Data format
:
8bits digits
,
1bit stop
,
even
(
8-E-1
)
8 bits digits
,
1 bit stop
,
odd
(
8-O-1
)
8 bits digits
,
1 bit stop
,
none
(
8-N-1
)
8 bits digits
,
2 bits stop
,
none
(
8-N-2
)
Baud rate
:
9600
、
19200
、
38400
、
57600
(
optional
)
Code
:
Binary system
ASCII mode
Every 8-bit byte (1byte) of the message is transmitted as 2pcs
ASCII
characters.
Data format
:
7 bits digits
,
1 bit stop
,
even
(
7-E-1
)
7 bits digits
,
1 bit stop
,
odd
(
7-O-1
)
7 bits digits
,
2 bits stop
,
none
(
7-N-2
)
Baud rate
:
9600
、
19200
、
38400
、
57600
(
optional
)
Code
:
ASCII
5.2.2.3 Function code
Above
Modbus
communication protocols have five function codes
:
01
read coil
、
03
read
register
、
05
force single coil
、
06
preset single register
、
16
preset several registers.
01 read coil
Inquiry:Regulate coil start and quantities.
Response:
a)
Every coil state in response message is corresponding to every data in data area
;
The
LSB
in first byte is start address in inquiry. Other coils are in seriation from lowest to
highest in the byte till full of 8pcs, next byte same seriation.
b)
If they are not 8 multiples, the last byte is full of zero from the remain to the highest
,
which byte sections indicate all of byte quantities.
For example: Read 0300-0303 coils from address 01
1
)
RTU
mode
:
Inquiry command
:
Data
format
:
Address
Function
code
Start address
Coil
quantity
CRC
parity
Bytes
:
1
1
2
2
2
www.zemicusa.info