Download Modbus COMMUNICATION PROTOCOL USER MANUAL

Transcript
Response example in case of MODBUS ASCII/RTU: 01030400035571F4F0
Byte
Description
No. of bytes
01
Slave address
1
03
Function code
1
04
Byte count
1
Requested data
4
Error check (CRC)
2
Example
00
High
03
Low
55
High
71
Low
F4
High
F0
Low
2.2 MODBUS TCP
Values contained both in Query or Response messages are in hex format.
Query example in case of MODBUS TCP: 010000000006010400020002
Example
Byte
01
No. of bytes
Description
Transaction identifier
1
Protocol identifier
4
06
Byte count
1
01
Unit identifier
1
04
Function code
1
Starting register
2
No. of words to be read
2
00
High
00
Low
00
High
00
Low
00
High
02
Low
00
High
02
Low
© KRALgroup
030EM06
 Meinlinova 309 CZ-190 16 Praha 9 - Koloděje
 +420 602 360 502
 +420 602 360 501
 +420 281 970 988
http://www.kralgroup.cz
 [email protected][email protected]