EasyManua.ls Logo

Eaton PowerXL DG1 Series - Table 10. Request to Read Discrete Inputs; Table 11. Request to Read Holding Registers; Table 12. Request to Read Input Registers; Table 13. Request to Read Exception Status

Eaton PowerXL DG1 Series
195 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11
Modbus RTU On-Board communications
POWERXL DG1 SERIES VFD MN040010EN—September 2016 www.eaton.com
Example of the request to read Discrete Inputs 2000–2003
from Slave device 18.
Table 10. 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 11. 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 12. 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
Example of the request to read exception status from Slave
device 18.
Table 13. Request to read exception status
Item Code Description
Slave address 0x12
Function code 0x07
CRC High 4C
CRC Low D2
Example of Read Diagnostics from Slave address 18.
Table 14. Read diagnostics
Item Code Description
Slave address 0x12
Function code 0x08
Sub function High 0x00
Sub function code 0x0000 (= 0)
Sub function Low 0x00
Note. Only support sub function code
0x0000
Data High 0xA5
Data 0xA5A5 (= 42405)
Data Low 0xA5
CRC High 0x59
CRC Low 0x83
Example of the request to write single coil 2000 from slave
device 18, the output value is 65280.
Table 15. Request to write single coil
Item Code Description
Slave address 0x12
Function code 0x05
Output address High 0x07
Starting address 0x07D0 hex (= 2000)
Output address Low 0xD0
Output value High 0xFF
Output value 0xFF00 hex (= 65280)
Output value Low 0x00
Note. Output value is 0x0000 or 0xFF00
CRC High 0x8E
CRC Low 0x14

Table of Contents

Related product manuals