3.2 02 (0x02) Read Discrete Inputs
This function code is used to read the current digital input value of the tM
module.
Request
00
Address
1 Byte
1 ~ 247
01
Function code
1 Byte
0x02
02 ~ 03 Starting channel 2 Bytes 0x0020 ~ 0x003F
04 ~ 05 Input channel
number
2 Bytes 0x0001 ~ 0x0020
Response
00
Address
1 Byte
1 ~ 247
01
Function code
1 Byte
0x02
02
Byte count
1 Byte
1
03
Input channel
data
1 Byte
Refer to the Supported Modules
section for details of the value.
Error Response
00
Address
1 Byte
1 ~ 247
01
Function code
1 Byte
0x82
02
Exception code
1 Byte
Refer to the Modbus standard for
more details.
Supported Modules
tM-P4C4:
Valid starting
channel
0x0020~0x0023 for DI value
tM-P8:
Valid starting
channel
0x0020~0x0027 for DI value
tM Series DIO User Manual, Rev: A1.3 7PH-013-A13
107
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru
Summary of Contents for tM Series
Page 8: ...tM Series DIO User Manual Rev A1 3 7PH 013 A13 8 7 495 109 02 08 sales bbrc ru www bbrc ru...
Page 9: ...tM Series DIO User Manual Rev A1 3 7PH 013 A13 9 7 495 109 02 08 sales bbrc ru www bbrc ru...
Page 10: ...tM Series DIO User Manual Rev A1 3 7PH 013 A13 10 7 495 109 02 08 sales bbrc ru www bbrc ru...
Page 11: ...tM Series DIO User Manual Rev A1 3 7PH 013 A13 11 7 495 109 02 08 sales bbrc ru www bbrc ru...