Network Communications
6
6.3 MEMOBUS/Modbus Communications
YASKAWA SIEPC71061753C GA500 Technical Manual 227
■ Writing to Non-Consecutive Holding Registers
The drive uses function code 67 (Hex.) and subfunction code 010E (Hex.) to write data with a maximum of 60
holding registers.
You must give the holding register number from which to write separately.
Table 6.12 shows example messages when you write the frequency reference and torque limit from the drive for
slave 1. Table 6.12 uses these specified holding registers data 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 [Comm ENTER Command
Mode] setting, you must use the Enter command to save and enable the contents of the changes. Refer to H5-11:
Comm ENTER Command Mode on page 682 and Enter Command on page 227 for more information.
Table 6.12 Message Example When Writing to Non-Consecutive Holding Registers
Byte
Command Message Response Message (When Normal) Response Message (When There is a Fault)
Setting Data
(Hex.)
Setting Data
(Hex.)
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 Quantity
Upper 00
Data Quantity
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 - -
10
Holding register
1 data
Upper 17 - -
11 Lower 70 - -
12
Holding register
2 No.
Upper 00 - -
13 Lower 04 - -
14
Holding register
2 data
Upper 05 - -
15 Lower DC - -
16
CRC-16
Upper 55 - -
17 Lower 59 - -
Note:
The number of bytes set in the command message set the data quantity × 2 during the command message.
◆ Enter Command
When you use MEMOBUS/Modbus communications to write parameters from the PLC to the drive, H5-11
[Comm ENTER Command Mode] lets you use the Enter command to enable these parameters. This section gives
information about the Enter command.
■ Types of Enter Commands
The drive supports the two Enter commands shown in Table 6.13.
Write 0 to register number 0900 or 0910 (Hex.) to enable the Enter command. You can only write to these
registers. If you read to these registers, it will cause an error.