5
ModBus and BACnet Instructions
2
ModBus Con
fi
guration
(continued)
Function
Sub Function
HEX
Description
Dec
HEX
Dec
1
01
Read Coil Status
2
02
Read Input Status
3
03
Read Holding Registers
4
04
Read Input Registers
5
05
Force Single Coil
6
06
Preset Single Register
7
07
Read Exception Status
8
08
0
00
Diagnostic - Return Query Data
1
01
Diagnostic - Restart Communication
2
02
Diagnostic - Return Diagnostic Register
4
04
Diagnostic - Force Listen Mode
10
0A
Diagnostic - Clear Counters and Diagnostic
Registers
11
0B
Diagnostic - Return Bus Message Count
12
0C
Diagnostic - Bus Communication Error Count
13
0D
Diagnostic - Bus Exception Error Count
14
0E
Diagnostic - Return Slave Message Count
15
0F
Diagnostic - Return Communication Error Count
16
10
Diagnostic - Return Slave NAK Count
17
11
Diagnostic - Return Slave Busy Count
18
12
Diagnostic - Return Bus Character Overrun Count
20
14
Diagnostic - Clear Overrun Counter and Flag
11
0B
Get Communication Event Counter
12
0C
Get Communication Event Log
15
0F
Write Multiple Coils
16
10
Write Multiple Registers
17
11
Report Slave ID
23
17
Read / Write Multiple Registers
ModBus Function Set