Dynamixel rx-28, 6. sync write – Robotis RX-28 User Manual

Page 24

Advertising
background image

DYNAMIXEL

RX-28

The returned Status Packet is as the following

Status Packet : 0XFF 0XFF 0X00 0X02 0X00 0XFD

ID LENGTH ERROR CHECKSUM

Note the ID of this Dynamixel actuator is now changed to 1 after the RESET instruction.

4-6. SYNC WRITE

Function

Used for controlling many Dynamixel actuators at the same time. The communication

time decreases by the Synch Write instruction since many instructions can be

transmitted by a single instruction. However, you can use this instruction only when the

lengths and addresses of the control table to be written to are the same. Also, the

broadcasting ID needs to be used for transmitting.

ID

0XFE

Length

(L + 1) * N + 4 (L: Data length for each Dynamixel actuator, N: The number of Dynamixel

actuators)

Instruction

0X83

Parameter1

Starting address of the location where the data is to be written

Parameter2

The length of the data to be written (L)

Parameter3

The ID of the 1st Dynamixel actuator

Parameter4

The 1st data for the 1st Dynamixel actuator

Parameter5

The 2nd data for the 1st Dynamixel actuator

Data for the 1st Dynamixel actuator

Parameter L+3

The Lth data for the 1st Dynamixel actuator

Parameter L+4

The ID of the 2nd Dynamixel actuator

Parameter L+5 The 1st data for the 2nd Dynamixel actuator

Data for the 2nd Dynamixel actuator

Parameter L+6

The 2nd data for the 2nd Dynamixel actuator

Parameter 2L+4 The Lth data for the 2nd Dynamixel actuator

….

Example 5

Setting the following positions and velocities for 4 Dynamixel actuators

Dynamixel actuator with an ID of 0: to position 0X010 with a speed of 0X150

Dynamixel actuator with an ID of 1: to position 0X220 with a speed of 0X360

23

Advertising