94
Chapter 9 Communication
A CD servo driver has the RS232 communication interface, which directly controls the working of the
servo driver with the operation software of a host computer. If the servo driver needs to communicate with a
Programmable Logic Controller (PLC) or other controllers via the free RS485 communication interface,
an
RS232 to RS485 converter
should be added on the driver side.
Fig. 9-1 Communication cables between a PC and a servo driver
9.1 Transport Protocol
The RS-232C communication of the CD servo driver strictly follows a master/slave protocol. The host
computer can send any data to CD driver. The driver configured with ID No. will calculate such data and
return a reply.
Default communication settings for the CD servo driver are as follows:
Baud rate = 38400 bps
Data bits = 8
Stop bits = 1
No parity check
This transport protocol uses a data packet with fixed length of10 bytes.
ID 8 byte data CHKS
byte 0 byte 9
The baud rate can be changed by setting d5.02, after changing the value, it is necessary to set d2.00 or d3.00
to save it and reboot the system so that it will take effect.
The transport protocol used by the RS-232 uses a data packet with fixed length of10 bytes.
ID
CHKS
8 byte data
byte 0
byte 9
ID is the ID No. of the slave
CHKS =-
SUM(byte0,…,byte8), CHKS is the last two digits of the calculation result.
The host sends:
ID
CHKS
8 byte host data
byte 0
byte 9
The slave sends/The host receives:
Summary of Contents for CD420
Page 8: ...8 1 3 3 Power Brake and Encoder cable of Motors...
Page 22: ...22 Fig 4 3 Separate regulation of bits...
Page 78: ...78...
Page 99: ...99 Chapter 11 Specification 11 1 Servo Drivers and Motors Selection Table...
Page 100: ...100 11 2 Servo Driver 11 2 1 Technical Specification Table for Servo Driver...
Page 101: ...101 11 2 2 Mechanical Dimension Diagram for Servo Driver...
Page 103: ...103 11 3 2 SMH80 Servo Motor...
Page 104: ...104 11 3 3 SMH110 Servo Motor 1 Technical Specification Table...
Page 105: ...105 2 Dimension Torque Curve...
Page 106: ...106 11 4 Wiring Diagram for Servo Motor Cable 11 4 1 Wiring Diagram for the Power Cable...
Page 107: ...107 11 4 2 Wiring Diagram for the Encoder Cable...