C.8 Message Examples
♦ Writing to Multiple Registers
Function code 10H allows the user to write multiple drive MEMOBUS/Modbus registers with one message. This process
works similar to reading registers, in that the address o f the first register to be written and the data quantity are set in the
command message. The data to be written must be consecutive so that the register addresses are in order, starting from
the specified address in the command message. The data order must be high byte then lower byte.
The following table shows an example of a message where a forward (Up) operation has been set with a speed reference
of 100% for the slave 1 drive.
If parameter values are changed using the Write command, an Enter command may be necessary to activate or save the
data depending on the setting o f H5-11.
Refer to H5-11: Communications Enter Function Selection on page 374
and
Refer to Enter Command on page 391
for detailed descriptions.
Command Message
Response Message (normal)
Response Message (fault)
Slave Address
01H
Slave Address
01H
Slave Address
01H
Function Code
10H
Function Code
10H
Function Code
90H
Starting No.
Upper
00H
Starting No.
Upper
00H
Error Code
02H
Lower
01H
Lower
01H
CRC-16
Upper
CDH
Data Quantity
Upper
00H
Data Quantity
Upper
00H
Lower
C1H
Lower
02H
Lower
02H
Number of Bytes
04H
CRC-16
Upper
10H
Starting Data
Upper
00H
Lower
08H
Lower
01H
N ext Data
Upper
02H
Lower
58H
CRC-16
Upper
63H
Lower
39H
Note: Double the number o f the data quantity for the number o f bytes in the comm and message.
♦ Torque Compensation Through MEMOBUS/Modbus Communications
Perform the steps below to utilize Torque Compensation Through MEMOBUS/Modbus Communications.
■ Torque Compensation Set-up via MEMOBUS/Modbus
1. Set H3-01, H3-02: to 14 Torque Compensation.
2. Set MEMOBUS/Modbus Register 0F, bit 3 = Enable Torque Compensation.
3. MEMOBUS/Modbus Register 0005H = Torque Compensation, signed
a. Setting value Pre-Run, w/Run, or Post-Run per application needs.
■ Troubleshooting Torque Compensation Set-up via MEMOBUS/Modbus
1. If an error message occurs when sending the Torque Compensation value.
a. Set H5-07 (RTS): 1 0.
2. Modbus Register 0F, bit 3 = Enable Torque Limit and Torque Comp (H3-02 = 1F).
a. Runaway condition
3. Modbus Register 0005H should be signed (-3000 to +3000)
a. Register has internal limit from 0 to positive values.
i. Negative values are set to "0".
380
YASKAWA ELECTRIC SIEP C710616 33D YASKAWA AC Drive L1000A Technical Manual