. The time taken after sending the Instruction Packet, to
13
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
Address 0x06,0x07,0x08,0x09
Operating Angle Limit
CW Angle Limit <= Goal Position <= CCW Angle Limit
An Angle Limit Error will occur if this relationship is not satisfied.
Address 0x0B the Highest Limit Temperature
Address 0x0C,0x0D the Lowest (Highest) Limit Voltage
If the present voltage (Address42) is out of the specified range, a Voltage Range
Address 0x0E,0x0F, 0x22,0x23
Max Torque
Address 0X10 Status Return Level
In the case of an instruction which uses the Broadcast ID (0XFE), regardless of
DX-116
receive the requested Status Packet. The delay time is given by 2uSec *
Address5 value.
. Set the operating angle to restrict the Dynamixel’s angular range. The Goal
Position needs to be within the range of:-
. The upper limit of the Dynamixel’s operative
temperature. If the Dynamixel’s internal temperature is higher than this value,
an Over Heating Error Bit (Bit 2 of the Status Packet) will be set. An alarm will
be set in Address 17,18. The values are in Degrees Celsius.
. Setting the operative upper and lower limits
of the Dynamixel’s voltages.
Error bit will be set in the Status Packet and an alarm executed will be set in
Address’s 17,18. The values are 10 times the actual voltages. For example, if
the Address 12 value is 80, then the lower voltage limit is set to 8V.
. The max torque output for the Dynamixel. When it is set to ‘0’,
the Dynamixel enters a Torque Free Run condition. The Max Torque (Torque
Limit) is assigned to EEPROM (Address 0X0E,0x0F) and RAM (Address
0x22,0x23) and a power on condition will copy EEPROM values to RAM. The
torque of a Dynamixel is limited by (Address0x22,0x23) of RAM.
. To determine whether the Dynamixel will return the Status
Packet after the transmission of an Instruction Packet.
Address16Return of Status Pack e t
0Do not respond to any instruction
1Respond only to READ_DATA instructions
2Respond to all instructions
the Address 0x10 value, the Status Packet will not be returned.
14
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
Address 0X11 Alarm LED
This function operates as the logical “OR”ing of all set bits. For example,
Address 0X12 Alarm Shutdown
This function operates as the logical “OR”ing of all set bits. However, unlike
Address 0x14~0x17 Calibration
DX-116
. When an Error occurs, if the corresponding Bit is set to 1, then the
LED blinks.
BitF un c t io n
Bit 70
Bit 6If set to 1, LED blinks whe n Instruction Error occurs
Bit 5If set to 1, LED blinks whe n Overload Error occurs
Bit 4If set to 1, LED blinks when Checksum Error occurs
Bit 3If s et to 1 , LED blinks when Range Error occurs
Bit 2If set to 1, LED blinks whe n Overheating Error occurs
Bit 1If s et to 1 , LED blinks when Angle Limit Error occurs
Bit 0If s et to 1 , LED blinks when Input Voltage Error occurs
when the register is set to 0X05, the LED will blink when a Voltage Error
occurs or when an Overheating Error occurs. Upon returning to a normal
condition from an error state, the LED stops blinking after 2 seconds.
. When an Error occurs, if the corresponding Bit is set to a 1,
then the Dynamixel will shut down (Torque off).
BitF un c t io n
Bit 70
Bit 6If set to 1, torque off when Instruction Error occurs
Bit 5If set to 1, torque off when Overload Error occurs
Bit 4If set to 1, torque off when Checksum Error occurs
Bit 3If set to 1, torque off when Range Error occurs
Bit 2If set to 1, torque off when Overheating Error occurs
Bit 1If set to 1, torque off when Angle Limit Error occurs
Bit 0If s et to 1 , torque off whe n Input Voltage Error oc curs
the Alarm LED, after returning to a normal condition, it maintains a torque off
status. To remove this restriction, Torque Enable (Address0X18) is required to
be set to 1.
. Data used for compensating for the differences between Robotis
products. Users cannot change this area.
15
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
DX-116
From Address 0x18 in the RAM area.
Address 0x18 Torque Enable
. When power is first applied the Dynamixel enters the Torque
Free Run condition. To allow torque to be applied Address 0x18 must be set to 1.
(Torque Enabled Condition)
Address 0x19 LED is on when set to 1 and LED is off if set to 0.
Address 0x1A~0x1D Compliance Margin and Slope
. The Dynamixel controls Compliance by setting the
Margin and Slope. If used well Compliance will absorb the shocks. The following
graph demonstrates the use of Compliance values (length of A,B,C & D) relative
to Position Error and applied torque.
CW
CCW
Goal Position
E
E
CCW
Y axis:Output Torque
A : CCW Compliance Slope(Address0x1D)
B : CCW Compliance Margin(Address0x1B)
C : CW Compliance Margin(Address0x1A)
D : CW Compliance Slope (Address0x1C)
E : Punch(Address0x30)
B A C D
Address 0X1E,0x1F Goal Position
. Requested Angular Position for the Dynamixel to move to. If this
is set to 0x3ff, then the goal position will be 300
CW
X axis:Position Error
°.
16
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
Address 0x20,0x21 Moving Speed
Address 0x24,0x25 Present Position
Address 0x26,0x27 Present Speed
Address 0x28,0x29 Present Load
Load Direction = 0 : CCW Load, Load Direction = 1: CW Load
Address 0x2A Present Voltage
Address 0x2B Present Temperature
Address 0x2C Registered Instruction
Address 0x2E Moving.
DX-116
(Goal Position = 0x1ff)
300°
(Goal Position = 0x3ff)
. The angular speed to move to the Goal Position. If set to the
maximum values of 0x3ff, it moves at 70RPM.
. Current position of the Dynamixel.
. Current Speed of the Dynamixel.
. Load size on the Dynamixel in action. Bit 10 is the direction of the
load.
BIT 15~11109876543210
Value0Load DirectionLoad Value
. The voltage applied to the Dynamixel. The value is 10 times the
actual voltage. For example, 10V is read as 100(0x64).
. Current internal Dynamixel temperature (Degrees Celsius).
. Set to 1 when a REG_WRITE instruction is made. After an
Action instruction and an action it is reset to 0.
Set to 1 when the Dynamixel moves by its own power.
150°
330~360°
Invalid Angle
0°
(Goal Position = 0)
17
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
Address 0x2F Lock.
Address 0x30,0x31 Punch.
Range Each Register has an operative range. Write instructions made outside of these
DX-116
If set to 1, only Address 0x18 ~ Address 0x23 can be written to. Other
areas are not permitted. Once locked, it can only be unlocked by powering down.
Minimum current being supplied to the motor during an action. The
minimum value is 0x20 and the maximum value as 0x3ff.
ranges will return an error. The following table summarises the data range for
each register. 16 bit data registers are indicated as (L) and (H), two bytes. Each
byte of a two byte register can be written to independently.
The best approach is to set the Return Delay Time to the minimum value the
Example 9 Limit the the operative angles of a Dynamixel with ID=0 to 0~150°.
If CCW Angle Limit is 0x3ff, it is 300°, therefore the values for 150°is 0x1ff.
RS485 Direction The Main Controller sets the RS485 communication direction to be an input at all
times other than when specifically sending an instruction packet.
Return Delay Time The Default Value is 160us and can be changed via the Control Table at Address
0x05. The Main Controller needs to change the RS485 communication direction
after sending an instruction packet within the Return Delay time range.
485 Direction The CPU normally indicates the UART_STATUS and the bit definitions within the
register have the following meanings:-
TXD_BUFFER_READY_BIT : Transmission DATA can be loaded into the Buffer.
Note that the SERIAL TX BUFFER is not necessarily completely empty.
TXD_SHIFT_REGISTER_EMPTY_BIT : Set when a Transmission byte has
completed its transmission.
The TXD_BUFFER_READY_BIT is used when a byte is to be transmitted via the
serial communication channel and an example is as follows:-
TxDByte(byte bData)
{
while(!TXD_BUFFER_READY_BIT); //wait until data can be loaded.
SerialTxDBuffer = bData; //data load to TxD buffer
}
When changing the RS485 Direction, check the
RS485 Direction Output Duration
Instruction PacketStatus Packet
Return Delay Time
29
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
An example program to send an Instruction packet:-
LINE 1 PORT_485_DIRECTION = TX_DIRECTION;
LINE 2 TxDByte(0xff);
LINE 3 TxDByte(0xff);
LINE 4 TxDByte(bID);
LINE 5 TxDByte(bLength);
LINE 6 TxDByte(bInstruction);
LINE 7 TxDByte(Parameter0); TxDByte(Parameter1); …
LINE 8 DisableInterrupt(); // interrupt should be disabled
LINE 9 TxDByte(Checksum); //last TxD
LINE 10 while(!TXD_SHIFT_REGISTER_EMPTY_BIT); //Wait till last data bit has been
LINE 11 PORT_485_DIRECTION = RX_DIRECTION; //485 direction changed to RXD
LINE 12 EnableInterrupt(); // enable interrupt again
Please note the important lines (LINE 8 to LINE12).
Line 8 is necessary since an interrupt here may cause a delay longer than the
Byte to Byte Time The delay time between bytes when sending the instruction packet. If the delay
DX-116
TXD_SHIFT_REGISTER_EMPTY_BIT.
sent
return delay time and corruption to the front of the status packet may occur
time is over 100ms, then recognise it as a communication problem and wait for
header(0xff 0xff) of the packet again.
//Global variable number
byte gbpInterruptRxBuffer[256+MEMORY_SPARE]; //485 RxD Data Buffer
byte gbRxBufferReadPointer,gbRxBufferWritePointer; //Pointers for access the gbpInterruptRxBuffer
Should wait until last data bit transmission is
completed.
Note.: ‘Shift register empty’ is differ from ‘Tx
Ready’. Tx Ready just means you can load the
data to CPU UART TxD Register. There can be
several Tx Buffering registers as what kind of
33
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
{
TxD8Hex(bpPrintBuffer[bCount]);
TxD8(' ');
}
}
DX-116
Result
0xFE is BROADCAST_ID, so Dynamixel does not return status packet.(First 2 Instruction Packet)
Set ID to 3
Motor Torque Enable
34
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
Connector Company Name : Molex
Pin Number: 4
Model Number
Temperature range : -40°C to +105°C
Contact Insertion Force-max : 14.7N (3.30 lb)
Contact Retention Force-min : 14.7N (3.30 lb)
Female Connector
Male Connector
DX-116
Molex Part NumberOld Part Number
Male22-03-50455267-04
Female50-37-50435264-04
www.molex.com
or www.molex.co.jp for more detail information
Pin No.1
35
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
Dimension
Motor Curve(No reduction gear state)
DX-116
36
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
Optional Frame Application Example
OF116H
OF116S
OF116B
Body to Body Mount
DX-116
37
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
Full Option frame
Cycloid M2 Board
DX-116
23Axis frame full Set 15Axis frame full set
Helmet and hands plastic is not included in frame set
- The Custom-Built Controller for Dynamixel
- Optional Part : Blue-tooth module, RS232 UART, and 6-button blue-tooth
remocon.
- Can be adapted multi-axis robot directly.
86
48
38
English Translation by: Tribotix Pty Ltd
www.tribotix.com
DYNAMIXEL
Application Example
DX-116
CYCLOIDⅡ
39
English Translation by: Tribotix Pty Ltd
www.tribotix.com
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.