10
Modbus RTU On-Board Communications
POWERXL SERIES VFD MN040010EN—June 2018 www.eaton.com
Supported functions
Table 9. Functions
Function code Description
0x01
Read coils
0x02
Read discrete inputs
0x03
Read holding registers
0x04
Read input registers
0x05
Write single coil
0x06
Write single register
0x07
Read exception status
0x08
Read diagnostics
(Only support 0x00 return query data)
0x0F
Write multiple coils
0x10
Write multiple registers
0x17
Read/write multiple registers
0x2B/0x0E
Read device identity
ote: N Note: Broadcasting can be used with codes 0x05,
0x06, 0x0F and 0x10.
Example of the request to read coils 2000–2003 from Slave
device 18.
Table 10. Request to read coils
Item Code Description
Slave address 0x12
Function code 0x01
Start address High 0x07
Starting address 0x07D0 hex (= 2000)
Start address Low 0xD0
Number of coils High 0x00
Number of coils 0x0003 hex (= 3)
Number of coils Low 0x03
CRC High 0x7E
CRC Low 0x25
Example of the request to read Discrete Inputs 2000–2003
from Slave device 18.
Table 11. Request to read discrete inputs
Item Code Description
Slave address 0x12
Function code 0x02
Start address High 0x07
Starting address 0x07D0 hex (= 2000)
Start address Low 0xD0
Number of Discrete
Inputs High
0x00
Number of Discrete Inputs
0x0003 hex (= 3)
Number of Discrete
Inputs Low
0x03
CRC High 0x3A
CRC Low 0x25
Example of the request to read Holding Registers 2000–
2003 from Slave device 18.
Table 12. Request to read holding registers
Item Code Description
Slave address 0x12
Function code 0x03
Start address High 0x07
Starting address 0x07D0 hex (= 2000)
Start address Low 0xD0
Number of Holding
Registers High
0x00
Number of Holding Registers
0x0003 hex (= 3)
Number of Holding
Registers Low
0x03
CRC High 0x07
CRC Low 0xE5
Example of the request to read Input Registers 2000–2003
from Slave device 18.
Table 13. Request to read input registers
Item Code Description
Slave address 0x12
Function code 0x04
Start address High 0x07
Starting address 0x07D0 hex (= 2000)
Start address Low 0xD0
Number of Input
Registers High
0x00
Number of Input Registers
0x0003 hex (= 3)
Number of Input
Registers Low
0x03
CRC High 0xB2
CRC Low 0x25