0X04) Read Input Channels - ICP DAS USA tM-TH8 User Manual

Table of Contents

Advertisement

tM-TH8

3.3 04 (0x04) Read Input Channels

This function code is used to read from contiguous analog input
channels.
Request
00
Address
01
Function code
02 ~ 03 Starting channel
04 ~ 05 Number of input
channels (N)
Response
00
Address
01
Function code
02
Byte count
03 ~
Data of input
channels
Error Response
00
Address
01
Function code
02
Exception code
tM-TH8 User Manual, Rev: A1.1 7MH-018-A11
1 Byte
1 to 247
1 Byte
0x04
2 Bytes 0 to 7
2 Bytes 1 to 8; (Starting channel + N) <=
8.
1 Byte
1 to 247
1 Byte
0x04
1 Byte
2 x N
2 x N
Data in 2's complement hex
Bytes
format.
1 Byte
1 to 247
1 Byte
0x84
1 Byte
02: starting channel out of range
03: (starting channel + number of
input channels) out of range,
incorrect number of bytes
received
111

Advertisement

Table of Contents
loading

Table of Contents