Write Multiple Registers - 10H - YASKAWA GPD 515/G5 Modbus RTU Technical Manual

Hide thumbs Also See for GPD 515/G5 Modbus RTU:
Table of Contents

Advertisement

Write Multiple Registers - 10h

The multiple register write function (10h) allows the master to write data to the driveís registers.
The multiple register write message format is shown below.
Each GPD 515ís slave address is set in advance by the drive parameter H5-01. Valid slave
addresses must be in the range of 1 to 31 decimal (1 to 1F hex). No two slaves may have the
same address. The master addresses the slave by placing the slave address in the address field
of the message. In the command message above, the slave is addressed at 1.
By setting the slave address to zero (0) in the address section of the message, the master can
send operation signals (register 1h) and frequency reference (register 2h) to all slaves on the
network. The master can send a single transmission to all the slaves simultaneously. This is
called simultaneous broadcasting. In a simultaneous broadcast message all of the slaves on the
network act upon one message. Simultaneous Broadcast registers are shown in Chapter 7,
Registers (page 7-2).
The function code of this message is 10h (write multiple registers).
The starting register number is the first register to be written to. In the command message above
the starting number is 01h, indicating that the first register is the frequency reference. A listing of
the GPD 515ís registers is shown in Chapter 7, Registers.
Command Message
SLAVE ADDRESS
01h
FUNCTION CODE
10h
UPPER
START-
00h
ING
REGISTER
NO.
LOWER
01h
UPPER
00h
QTY.
LOWER
02h
04h
NO. OF DATA BYTES
UPPER
00h
DATA TO
FIRST
REGISTER
LOWER
01h
UPPER
17h
DATA TO
NEXT
REGISTER
LOWER
70h
LOWER
6Dh
CRC-16
UPPER
B7h
The first register, 01h
(Operation Command) has
a value of 01h or 1 dec.
(forward run command)
The next register, 02h
(Frequency Reference) has
a value of 1770h or 6000
dec. (60.00 Hz)
The Message Format
6-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents