3.6 15 (0x0F) Write Multiple Coils
This function code is used to write the digital output value of the tM module.
Request
00
Address
1 Byte
1 ~ 247
01
Function code
1 Byte
0x0F
02 ~ 03 Starting channel
numbers
2 Bytes 0x0000 ~ 0x001F for DO output
0x0200~0x0220 to clear the DI count
value
04 ~ 05 Output channel
number
2 Bytes
0x0001 ~ 0x0020
06 Byte
count 1
Byte
1
07
Output value
1 Byte
A bit corresponds to a channel.
When the bit is 1 it denotes that the
value of the channel that was set is
ON. If the bit is 0 it denotes that the
value of the channel that was set is
OFF.
Response
00
Address
1 Byte
1 ~ 247
01
Function code
1 Byte
0x0F
02 ~ 03 Starting channel
numbers
2 Bytes The value is the same as byte 02 and
03 of the Request
04 ~ 05 Input channel
number
2 Bytes The value is the same as byte 04 and
05 of the Request
Error Response
00
Address
1 Byte
1 ~ 247
01
Function code
1 Byte
0x8F
02
Exception code
1 Byte
Refer to the Modbus standard for
more details.
tM Series DIO User Manual, Rev: A1.3 7PH-013-A13
112
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+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...