91
Modbus RTU control (RS-485 communication)
11.8.2 Setting with indirect reference
1. Send the following query to set each operation data of the operation data No.0 and start an operation in the forward
direction.
•
Query
Field name Data Description
Slave address 01h Slave address 1
Function code 10h Writing to multiple holding registers
Data
Register address (upper) 13h
Register address to start writing from
Register address (lower) 40h
Number of registers (upper) 00h
Number of registers to be written from the starting register address
(10 registers=000Ah)
Number of registers (lower) 0Ah
Number of data bytes 14h
Value of twice the number of registers in the query
(10 registers×2=20 registers: 14h)
Value write to register address (upper) 00h
Value written to register address 1340h
=Rotation speed of operation data No.0 (2000)
Value write to register address (lower) 00h
Value write to register address +1 (upper) 07h
Value write to register address +1 (lower) D0h
Value write to register address +2 (upper) 00h
Value written to register address 1342h
=Torque limiting value of operation data No.0 (100)
Value write to register address +2 (lower) 00h
Value write to register address +3 (upper) 00h
Value write to register address +3 (lower) 64h
Value write to register address +4 (upper) 00h
Value written to register address 1344h
=Acceleration time of operation data No.0 (10)
Value write to register address +4 (lower) 00h
Value write to register address +5 (upper) 00h
Value write to register address +5 (lower) 0Ah
Value write to register address +6 (upper) 00h
Value written to register address 1346h
=Deceleration time of operation data No.0 (5) (initial value)
Value write to register address +6 (lower) 00h
Value write to register address +7 (upper) 00h
Value write to register address +7 (lower) 05h
Value write to register address +8 (upper) 00h
Value written to register address 1348h
=Remote input upper (0) (0000 0000 0000 0000)
=Remote input lower (38) (0000 0000 0011 1000)
Value write to register address +8 (lower) 00h
Value write to register address +9 (upper) 00h
Value write to register address +9 (lower) 38h
Error check (lower) 39h
Calculation result of CRC-16
Error check (upper) 2Dh
*
The timing to update the new setting of operation data is "A: Update immediately." Therefore, only changing the value in
the rotation speed can change the motor speed.
•
Response
Field name Data Description
Slave address 01h Same as query
Function code 10h Same as query
Data
Register address (upper) 13h
Same as query
Register address (lower) 40h
Number of registers (upper) 00h
Same as query
Number of registers (lower) 0Ah
Error check (lower) 45h
Calculation result of CRC-16
Error check (upper) 5Eh