6.3 MEMOBUS/Modbus Communications
YASKAWA
SIEPC71061737B GA800 Drive Technical Reference
279
Figure 6.11 Message Example When Writing to Multiple Holding Registers
Note:
The number of bytes set in the command message set the data quantity × 2 during the command message. The response message uses the
same formula.
■
Reading from More than One Holding Register/Reading the Indicated Register
The drive uses function code 5A (Hex.) to write to more than one register, then it reads the contents of four holding
registers at the same time.
The function for writing to more than one register is the same as the function for function code 10 (Hex.). You can
write to a maximum of 16 holding registers.
The four holding registers to be read from are specified in
H5-25 to H5-28 [Function 5A Register x Selection]
.
shows example messages when you write to more than one holding register or when you read more than one
command register.
uses this register data for the examples:
•
The drive for slave 1 is set for Forward run with a frequency reference of 60.00 Hz.
•
The setting in
H5-25
to
H5-28
and the data in the specified holding registers are as follows.
–
H5-25
= 0044H:
U1-05 [Motor Speed]
= 60.00 Hz (6000 = 1770H)
–
H5-26
= 0045H:
U1-06 [Output Voltage Ref]
= 200.0 V (2000 = 07D0H)
–
H5-27
= 0042H:
U1-03 [Output Current]
= 50% of drive rated current (100% = 8192, 50% = 4096 = 1000H)
–
H5-28
= 0049H:
U1-10 [Input Terminal Status]
= 00H
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
ENTER Command Mode on page 889
and
for more information.
Table 6.6 Message Example When Reading from More than One Holding Register/Reading the Indicated Register
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
5A
Function Code
5A
Function Code
DA
Summary of Contents for GA800 Series
Page 2: ...This Page Intentionally Blank 2 YASKAWA SIEPC71061737B GA800 Drive Technical Reference...
Page 20: ...i 3 Warranty Information 20 YASKAWA SIEPC71061737B GA800 Drive Technical Reference...
Page 58: ...2 9 Installation Methods 58 YASKAWA SIEPC71061737B GA800 Drive Technical Reference...
Page 268: ...5 6 Safe Disable Input 268 YASKAWA SIEPC71061737B GA800 Drive Technical Reference...
Page 306: ...6 3 MEMOBUS Modbus Communications 306 YASKAWA SIEPC71061737B GA800 Drive Technical Reference...
Page 426: ...8 7 Storage Guidelines 426 YASKAWA SIEPC71061737B GA800 Drive Technical Reference...