Robotis DX-117 Automobile Electronics User Manual


 
18
DYNAMIXEL
DX-Series
4. Instruction Set and Examples
The following Instructions are available.
4-1. WRITE_DATA
Function Write data into the control table of the Dynamixel
Length
N+3 (Writing Data is N)
Instruction 0X03
Parameter1
Start Address of the Area to write Data
Parameter2 1st Data to write
Parameter3
2nd Data to write
Parameter N+1 Nth Data to write
Example 1 Set ID of connected Dynamixel as 1
Write 1 into the Address 3 of the Control Table. The ID is transmitted using Broadcasting
ID (0xFE).
Instruction Function Value
Number of
Parameter
PING
No action. Used to obtain a Dynamixel Status
Packet.
0x01 0
READ DATA Read the values in the Control table. 0x02 2
WRITE DATA Write the values to the Control Table. 0x03 2 ~
REG WRITE
Similar to WRITE DATA, but stay in standby
mode until write upon the action instruction.
0x04 2 ~
ACTION Start the action registered by REG WRITE. 0x05 0
RESET
Change the values of the Dynamixel in the
control table back to the Factory Default Values
0x06 0