0X02) Read Input Status - ICP DAS USA tM-TH8 User Manual

Table of Contents

Advertisement

tM-TH8

3.2 02 (0x02) Read Input Status

This function code is used to read the thermistor wire opening
status of a module.
Request
00
Address
01
Function code
02 ~ 03 Starting channel
04 ~ 05 Number of input
channels
Response
00
Address
01
Function code
02
Byte count
03
Data of input
channels
Error Response
00
Address
01
Function code
02
Exception code
110
tM-TH8 User Manual, Rev: A1.1 7MH-018-A11
1 Byte
1 to 247
1 Byte
0x02
2 Bytes 0x80 to 0x87, where 0x80
corresponds to channel 0, 0x81
corresponds to channel 1, etc
2 Bytes N, 1 to 8; (Starting channel + N)
should be less than or equal to
0x88
1 Byte
1 to 247
1 Byte
0x02
1 Byte
1
1 Byte
A bit corresponds to a channel.
When the bit is 1 it denotes that
the channel is enabled and is either
over-range, under-range or wire
opening. If the bit is 0 it denotes
that the channel is disabled or
normal.
1 Byte
1 to 247
1 Byte
0x82
1 Byte
02: starting channel out of range
03: (starting channel + number of
input channels) out of range,
incorrect number of bytes
received

Advertisement

Table of Contents
loading

Table of Contents