3. Modbus RTU Protocol
The Modbus protocol is developed by Modicon Inc., originally
developed for Modicon controllers. Detailed information can be
found at
http://www.modicon.com/techpubs/toc7.html
. You can also
visit
http://www.modbus.org
to find more valuable information.
tM series modules support the Modbus RTU protocol. The
communication Baud Rates range from 1200bps to 115200bps. The
following Modbus functions are supported.
Function code
Description
Section
01 (0x01)
Read coils
3.1
02 (0x02)
Read discrete inputs
3.2
03 (0x03)
Read multiple registers
3.3
04 (0x04)
Read multiple input registers
3.4
05 (0x05)
Write single coil
3.5
15 (0x0F)
Write multiple coils
3.6
70 (0x46)
Read/write module settings
3.7
If the function specified in the message is not supported, then the
module responds as follows.
Error Response
00
Address
1 Byte
1 to 247
01
Function code
1 Byte
Function code + 0x80
02
Exception code
1 Byte
01
If a CRC mismatch occurs, the module will not respond.
tM Series DIO User Manual, Rev: A1.3 7PH-013-A13
104
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru
Содержание tM Series
Страница 8: ...tM Series DIO User Manual Rev A1 3 7PH 013 A13 8 7 495 109 02 08 sales bbrc ru www bbrc ru...
Страница 9: ...tM Series DIO User Manual Rev A1 3 7PH 013 A13 9 7 495 109 02 08 sales bbrc ru www bbrc ru...
Страница 10: ...tM Series DIO User Manual Rev A1 3 7PH 013 A13 10 7 495 109 02 08 sales bbrc ru www bbrc ru...
Страница 11: ...tM Series DIO User Manual Rev A1 3 7PH 013 A13 11 7 495 109 02 08 sales bbrc ru www bbrc ru...
Страница 12: ...tM P3POR3 tM Series DIO User Manual Rev A1 3 7PH 013 A13 12 7 495 109 02 08 sales bbrc ru www bbrc ru...
Страница 13: ...tM R5 tM Series DIO User Manual Rev A1 3 7PH 013 A13 13 7 495 109 02 08 sales bbrc ru www bbrc ru...
Страница 22: ...1 5 Dimensions tM Series DIO User Manual Rev A1 3 7PH 013 A13 22 7 495 109 02 08 sales bbrc ru www bbrc ru...