Table 43. Request To Write Single Coil; Table 44. Request To Write Single Register; Table 45. Write Coils; Table 46. Binary Bits And Corresponding Outputs - Eaton PowerXL DG1 Series VFD Communications Manual

Variable frequency drives
Hide thumbs Also See for PowerXL DG1 Series VFD:
Table of Contents

Advertisement

Example of the request to write single coil 2000 from Slave
device 18, the output value is 1.

Table 43. Request to Write Single Coil

Item
Code
Slave address
0x12
Function code
0x05
Output address High
0x07
Output address Low
0xD0
Output value High
0xFF
Output value Low
0x00
CRC High
0x8E
CRC Low
0x14
Example of the request to write single register 2000 from
Slave device 18, the output value is 5.

Table 44. Request to Write Single Register

Item
Code
Slave address
0x12
Function code
0x06
Output address High
0x07
Output address Low
0xD0
Output value High
0x00
Output value Low
0x05
CRC High
0x4B
CRC Low
0xE7
Example of Write coils 19–28 from Slave device 18.
Table 45. Write Coils 19–28
Item
Code
Slave Address
0x12
Function code
0x0F
Starting Address High
0x00
Starting Address Low
0x13
Quantity of Outputs
0x00
High
Quantity of Outputs
0x0A
Low
Bye Count
0x02
Outputs Value High
0xCD
Outputs Value Low
0x01
CRC High
0xAB
CRC Low
0xFB
Note: The binary bits correspond to the outputs in the
following way.

Table 46. Binary Bits and Corresponding Outputs

1
1
0
0
1
1
Bit
Output
26 25 24 23 22 21 20 19 — — — — — — 28 27
Description
Starting address 0x07D0 hex (= 2000)
Output value 0xFF00 hex (= 65280)
Note. Output value is 0x0000 or 0xFF00
Description
Starting address 0x07D0 hex (= 2000)
Output value 0x0005 hex (= 5)
Description
Starting Address 0x0013 (=19)
Quantity of Outputs 0x000A (= 10)
0
1
0
0
0
0
0
0
Modbus TCP On-Board Communications
Example of write Holding registers 2000–2001 from Slave
device 18.

Table 47. Write Holding Registers

Item
Slave Address
Function code
Starting Address High
Starting Address Low
Quantity of Outputs
High
Quantity of Outputs
Low
Bye Count
Outputs Value High
Outputs Value Low
Outputs Value High
Outputs Value Low
CRC High
CRC Low
Modbus Registers
The variables and fault codes as well as the parameters can
be read and written from Modbus. The parameter addresses
are determined in the application. Every parameter and actual
value have been given an ID number in the application. The
ID numbering of the parameter as well as the parameter
ranges and steps can be found in the application manual in
question. The parameter value shall be given without
decimals.
All values can be read with function codes 3 and 4 (all
registers are 3X and 4X reference). Modbus registers are
mapped to drive IDs as follows.

Table 48. Index Table

ID
Modbus Register
1–98
40001–40098
(30001–30098)
99
40099 (30099)
101–1999
40101–41999
(30101–31999)
2001–2099
42001–42099
(32001–32099)
2101–2199
42101–42199
(32101–32199)
0
1
PowerXL DG1 Series VFD MN040010EN—May 2014 www.eaton.com
Code
Description
0x12
0x10
0x07
Starting Address 0x07D0 (=2000)
0xD0
0x00
Quantity of Outputs 0x0002 (=2)
0x02
0x04
0x00
0x01
0x00
0x02
0x53
0x46
Group
Actual Values
Fault Code
Parameters
Process Data In
Process Data Out
R/W
1/1
1/1
1/1
20/20
20/20
25

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents