Network
Communications
6
6.2 Modbus Communications
SIEPYEUOQ2A01A AC Drive Q2A Technical Manual 223
You must give the holding register number from which to read separately.
The following table shows example messages when you read the frequency reference and torque limit from the
drive for slave 1. These specified holding registers data are used for the examples.
• 0024H:U1-01 [Frequency Reference] = 60.00 Hz (6000 = 1770H)
• 0028H:U1-09 [Torque Reference] = 100.0% (1000 = 03E8H)
Table 6.7 Message Example When Reading the Contents of Non-Consecutive Holding Registers
Byte
Command Message
Response Message Response Message
Setting Data
(Hex.)
(when Normal)
Setting Data
(Hex.)
(when There is a Fault)
Setting Data
(Hex.)
0 Slave address 01 Slave address 01 Slave address 01
1 Function code 67 Function code 67 Function code E7
2
Subfunction
code
Upper 01
Subfunction
code
Upper 01 Error code 02
3 Lower 0D Lower 0D
CRC-16
Upper EA
4
Data Qty
Upper 00
Byte No.
Upper 00 Lower 31
5 Lower 02 Lower 04 -
6
Holding register
1 No.
Upper 00
Holding register
1 data
Upper 17 -
7 Lower 24 Lower 70 -
8
Holding register
2 No.
Upper 00
Holding register
2 data
Upper 03 -
9 Lower 28 Lower E8 -
10
CRC-16
Upper 8B
CRC-16
Upper 47 -
11 Lower 29 Lower ED -
Note:
The number of bytes set within the response message sets twice the number of data contained in the command message. The response
message uses the same formula.
■ Writing to Non-Consecutive Holding Registers
You can separately write the specified data to a maximum of 60 holding registers that uses function code 67
(Hex.) and subfunction code 010E (Hex.) .
You must give the holding register number from which to write separately.
The following table shows example messages when you write the frequency reference and torque limit from the
drive for slave 1. These specified holding registers data are used for the examples.
• 0002H: Frequency Reference = 60.00 Hz (6000 = 1770H)
• 0004H: Torque Limit = 150.0% (1500 = 05DCH)
When you rewrite the parameter value with the write command through the H5-11 [Mbus ENTER Command
Mode] setting, you must use the Enter command to save and enable the contents of the changes. Refer to H5-11
Mbus ENTER Command Mode on page 728 and Enter Command on page 224 for more information.
Table 6.8 Message Example When Writing to Non-Consecutive Holding Registers
Byte
Command Message Response Message Response Message
Setting Data
(Hex.)
(when Normal)
Setting Data
(Hex.)
(when There is a Fault)
Setting Data
(Hex.)
0 Slave address 01 Slave address 01 Slave address 01
1 Function code 67 Function code 67 Function code E7
2
Subfunction
code
Upper 01
Subfunction
code
Upper 01 Error code 02
3 Lower 0E Lower 0E
CRC-16
Upper EA
4
Data Qty
Upper 00
Data Qty
Upper 00 Lower 31
5 Lower 02 Lower 02 -
6
Byte No.
Upper 00
CRC-16
Upper D5 -
7 Lower 04 Lower FC -
8
Holding register
1 No.
Upper 00 - -
9 Lower 02 - -