tM-TH8 User Manual, Rev: A1.1 7MH-018-A11
113
tM-TH8
3.5 15 (0x0F) Write Multiple Coil
Registers
This function code is used to write to multiple digital output
channels.
Request
00
Address
1 Byte
1 to 247
01
Function code
1 Byte
0x0F
02 ~ 03 Starting channel
2 Bytes 256 to 271
04 ~ 05 Number of
channels (N)
2 Bytes 1 to 16
06
Byte count
1 Byte
1
07 ~
Data of digital
output channels
1 Byte
A bit corresponds to a coil. When
the bit is 1 it denotes that the coil
is ON. If the bit is 0 it denotes that
the coil is OFF.
Response
00
Address
1 Byte
1 to 247
01
Function code
1 Byte
0x0F
02 ~ 03 Starting channel
2 Bytes 256 to 271
04 ~ 05 Number of
channels (N)
2 Bytes 1 to 16
Error Response
00
Address
1 Byte
1 to 247
01
Function code
1 Byte
0x8F
02
Exception code
1 Byte
02: starting channel out of range
03: out of range, incorrect number
of bytes received
Содержание tM-TH8
Страница 8: ...tM TH8 User Manual Rev A1 1 7MH 018 A11 8 1 2 Terminal Assignment...
Страница 10: ...tM TH8 User Manual Rev A1 1 7MH 018 A11 10 1 4 Block Diagrams 1 4 1 Block Diagram for the tM TH8...
Страница 11: ...tM TH8 User Manual Rev A1 1 7MH 018 A11 11 1 5 Dimensions...
Страница 13: ...tM TH8 User Manual Rev A1 1 7MH 018 A11 13 1 7 Quick Start Please refer to the Quick Start Guide for tM TH8...
Страница 67: ...tM TH8 User Manual Rev A1 1 7MH 018 A11 67 Related Topics Section 1 9 Calibration tM TH8...