
M-7065 User’s Manual
Ver2.0, Dec. /200
8
---
101
3.2 02(0x02) Read discrete inputs
This function code is used to read the current
digital input value.
Request
00
Address
1 Byte
1-2 47
01
Function code
1 Byte
0x02
02-03
Starting channel
numbers
2 Byte
DI : 0x0000-0x001F
04-05
Input channel number
2 Byte
0x0001-0x0020
(Bit count)
Response:
00
Address
1 Byte
1-2 47
01
Function code
1 Byte
0x02
02
Byte Count
1 Byte
Byte count of response
(B=(bit count + 7)/8)
03
Bit values
B Byte
Bit values
Error Response:
00
Address
1 Byte
1-2 47
01
Function code
1 Byte
0x82
02
Exception code
1 Byte
Refer to Modbus standard
for more details
Содержание M-7065
Страница 7: ...M 7065 User s Manual Ver2 0 Dec 2008 7 1 2 Pin Assignment...
Страница 42: ...M 7065 User s Manual Ver2 0 Dec 2008 42 Related Commands Section 2 2...
Страница 106: ...M 7065 User s Manual Ver2 0 Dec 2008 106 Supported modules M 7065 Valid starting channel DI Count Value 0x0000 0x0003...