YASKAWA GA700 Series Technical Manual page 285

Ac drive for industrial applications
Hide thumbs Also See for GA700 Series:
Table of Contents

Advertisement

Byte
Command Message
9
Next data
10
11
CRC-16
12
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].
Table 6.10
shows example messages when you write to more than one holding register or when you read more
than one command register.
• 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
Comm ENTER Command Mode on page 862
Table 6.10 Message Example When Reading from More than One Holding Register/Reading the Indicated Register
Command Message
Byte
0
Slave address
1
Function Code
2
Upper
Starting No.
3
Lower
4
Upper
Data Qty
5
Lower
6
Byte No.
7
Upper
First data
8
Lower
9
Upper
Next data
10
Lower
11
Upper
CRC-16
12
Lower
13
-
14
-
15
-
16
-
YASKAWA SIEPC71061705H GA700 Series Technical Manual
Setting Data
Response Message (When
(Hex.)
Upper
17
Lower
70
Upper
6D
Lower
B7
Table 6.10
uses this register data for the examples:
and
Enter Command on page 287
Response Message (when normal)
Setting Data
(Hex.)
01
Slave address
5A
Function Code
00
Register status
Data in holding
01
register 1
selected with
00
H5-25
Data in holding
02
register 2
selected with
04
H5-26
Data in holding
00
register 3
selected with
01
H5-27
Data in holding
17
register 4
selected with
70
H5-28
4F
Starting No.
43
Data Qty
CRC-16
6.3 MEMOBUS/Modbus Communications
Setting Data
Normal)
(Hex.)
-
-
-
-
Setting Data
(Hex.)
01
5A
0F
Upper
17
Lower
70
Upper
07
Lower
D0
Upper
10
Lower
00
Upper
00
Lower
00
Upper
00
Lower
01
Upper
00
Lower
02
Upper
AC
Lower
D0
Setting Data
Response Message (When
There is a Fault)
-
-
-
-
H5-11:
for more information.
Response Message (when there is a fault)
Setting Data
Slave address
Function Code
Register status
Data in holding
Upper
register 1
selected with
Lower
H5-25
Data in holding
Upper
register 2
selected with
Lower
H5-26
Data in holding
Upper
register 3
selected with
Lower
H5-27
Data in holding
Upper
register 4
selected with
Lower
H5-28
Error Codes
Upper
CRC-16
Lower
-
-
-
(Hex.)
(Hex.)
01
DA
0F
17
70
07
D0
6
10
00
00
00
02
E9
6C
285

Advertisement

Table of Contents
loading

Table of Contents