Writing to multiple registers, C.8 message examples – Yaskawa L1000E AC Drive Technical Manual for CIMR-LE Models for Elevator Applications User Manual
Page 430

C.8 Message Examples
430
YASKAWA ELECTRIC SIEP YAIL1E 01A YASKAWA AC Drive L1000E Technical Manual
◆ 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 of 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.00% 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 of H5-11.
Refer to H5-11: Communications Enter Function Selection on page 424
and
Refer to Enter Command on page 442
for detailed descriptions.
Note: Double the number of the data quantity for the number of bytes in the command 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".
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
Next Data
Upper
27H
Lower
10H
CRC-16
Upper
79H
Lower
9FH