If the written data is out of range, the address does not exist, and the response to read-
only data operations is wrong, the returned function code is
0x90
。
Example:Sending message: 01 10 6F 00 00 02 04 4E 82 00 1B ED 56
Message meaning:
01
——
ID
No.
10——Function code to write multiple WORD;
6F
00
——The modbus address of the servo writable object "control word" 60400010, the data length is
two WORD
00 02
——write
2
WORD
;
04
——Data length is
4
Bit
(
2
WORD)
;
4E 82 00 1B
——write data hexadecimal
001B4E82
,decimal
1789570
,convert
to
100RPM
;
ED 56——Check code;
10.2.4 Communication troubleshooting measures
When the communication connection between the driver and the Kinco Servo+ cannot be performed,
please refer to Chapter 10.2 to check the communication parameters and wiring of the driver. When
the communication of the drive is easy to drop, read only but not write or only write but not read,
etc., you can troubleshoot through the following aspects
:
1.
Terminating resistor. When the 485 communication rate is high and the communication distance
is long, the signal will be reflected at the end of the transmission line. Therefore, it is necessary to
connect a 120Ω terminal resistor in parallel at the beginning and end of the communication network.
Since the FD servo drive has its own terminal resistance, it is only necessary to dial the dial code of
the first and last drives to the ON position.
2.
Cable size. The recommended wire diameter of the 485 signal cable is 24AWG, and shielded
twisted pair cables should be used. The shielding layers of the cables should be grounded together
and the grounding resistance should not be greater than 1Ω. The use of twisted pairs can effectively
eliminate antagonistic interference, and cables with good shielding can effectively reduce the
impact of external interference sources
。