ROBOTIS e-Manual v1.13.01
| Dynamixel SDK |
Command codes are inputted into Instruction packet.
|
void dxl_set_txpacket_instruction( int instruction ); |
- instruction
The following codes are command codes. One of the following values can be obtained.
|
Value |
Name |
Contents |
|
1 |
INST_PING |
No execution. It is used when controller is ready to receive Status Packet |
|
2 |
INST_READ |
This command reads data from Dynamixel |
|
3 |
INST_WRITE |
This command writes data to Dynamixel |
|
4 |
INST_REG_WRITE |
It is similar to WRITE_DATA, but it remains in the standby state without being executed until the ACTION command arrives. |
|
5 |
INST_ACTION |
This command initiates motions registered with REG WRITE |
|
6 |
INST_RESET |
This command restores the state of Dynamixel to the factory default setting. |
|
131 |
INST_SYNC_WRITE |
This command is used to control several Dynamixels simultaneously at a time. |
- None
| dxl_set_txpacket_instruction( INST_WRITE ); |