Writing To Multiple Registers - YASKAWA L1000A Technical Manual

200 v class: 1.5 to 110 kw (2 to 150 hp) 400 v class: 1.5 to 315 kw (2 to 500 hp) 600 v class: 1.5 to 160 kw (2 to 250 hp)
Hide thumbs Also See for L1000A:
Table of Contents

Advertisement

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 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 Enter Command on page 468
Command Message
Slave Address
Function Code
Upper
Starting No.
Lower
Upper
Data Quantity
Lower
Number of Bytes
Upper
Starting Data
Lower
Upper
Next Data
Lower
Upper
CRC-16
Lower
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-02 or H3-10 to 14 (Torque Compensation).
2.
Set bit 3 (Torque Compensation Input) in the 000FH MEMOBUS/Modbus register to 1.
3.
Before entering a run command, set the 0005H MEMOBUS/Modbus register (Torque Compensation, signed) to
an appropriate value.
Note: Settings for the 0005H register can be made before entering a run command.
Troubleshooting Torque Compensation Set-up via MEMOBUS/Modbus
1.
If an error message occurs when sending the torque compensation value, check to see if RTS control has been
enabled or not (H5-07).
2.
Verify that bit 3 in the 000FH MEMOBUS/Modbus register is set to 1 and that the function selection for terminal Al
or A2 (H3-02 or H3-10) is set 14 to enable/select torque compensation.
456
Refer to H5-11: Communications Enter Function Selection on page 450
for detailed descriptions.
Response Message (normal)
01H
Slave Address
10H
Function Code
00H
Starting No.
01H
00H
Data Quantity
02H
04H
CRC-16
00H
01H
27H
10H
79H
9FH
01H
Slave Address
10H
Function Code
Upper
00H
Error Code
Lower
01H
CRC-16
Upper
00H
Lower
02H
Upper
10H
Lower
08H
YASKAWA ELECTRIC SIEP C710616 38F YASKAWA AC Drive - L1000A Technical Manual
Response Message (fault)
01H
90H
02H
Upper
CDH
Lower
C1H
and

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents