User Manual for ELD2 Servo
www.leadshine.com
80
Set the correct communication format, the baud rate must be
19200
,
even parity check
.
the status light is red when the serial port is opened successfully
Fill in the data frame format in the sending area (according to relevant motion commands), and the last two bit
bit data are CRC check codes, Instead of entering directly, click the check button of the corresponding send
area to generate automatically, which is shown in figure 31 86
Absolute position
:
11 10 62 00 00 08 10 00 01 00 01 86 A0 01 F4 00 64 00 64 00 00 00 10 67 B3
11
slave ID 17
10
function code
,
write multi data
Example for writing 2 data as blow:
FC=0x10 write multi data
Order
Sending orders
(
Master->Slave
)
Return command (Slave->Master
)
1
ID
Sub-station No.
0~31
ID
Sub-station No.
0~31
2
FC
Function code
0x10
FC
Function code
0x10
3
ADDR
Address
0x62
ADDR
Address
0x62
4
0x00
0x00
5
NUM1
Data quantity Word
0x00
NUM
Actually written data
quantity
0x00
6
0x08
0x08
7
NUM2
Data quantity Byte
0x10
CRC
check code
L
H
8-9
Pr9.00
Mode
XXXX
10-11
Pr9.01
High position
XXXX
12-13
Pr9.02
Low position
XXXX
14-15
Pr9.03
Speed
XXXX
16-17
Pr9.04
Acceleration
XXXX
18-19
Pr9.05
Deceleration
XXXX
20-21
Pr9.06
Delay time
XXXX