by PedroR » Thu Aug 30, 2012 4:29 pm
by PedroR
Thu Aug 30, 2012 4:29 pm
Hi
Communicating over RS485 or over TTL is exactly the same from a software perspective.
The difference between RS485 and TTL is a hardware chip that modifies the way the signal is transmitted. However, on arrival at the servo processor, the protocol packets look exactly the same regardless of being sent over RS485 or TTL.
As you very well mentioned the only thing you need to do is set the USB2Dynamixel to RS485.
All the rest should remain the same.
There are however 2 things to confirm:
1)
Double check the Control Table for the RX servo you have and in particular the memory mappings.
The control table is very similar from among Dynamixels but there are some minor differences between Servo Series (for example in an MX servo the position must be passed as a 12 bit value where in AX, it's a 10 bit value).
I'm not fully aware of the particularities of RX servos, but looking in the robotis support site (
http://support.robotis.com) should clarify this.
2)
Another very common assumption people make with RS485 servos is thinking they are Full duplex (ie that they have RX and TX) because they have 4 wires (the AX series uses 3 wires).
This is wrong.
RS485 servos (RX and EX series) are also Half Duplex like the AX series.
The reason why they have a 4 wires is because each direction in RS485 requires a pair of wires. In other words a full duplex setup in RS485 would require 4 DATA wires (1 pair for RX and 1 pair for TX).
Wikipedia should explain more about RS485.
The important thing to retain is that they are Half Duplex servos exactly like the AX series.
As a final note, I would also recommend testing that your servo is working fine by suing the Dynamixel Wizard.
Connect the servo to the PC using the USB2Dynamixel and use the Dynamixel Wizard to test communication with the servo.
If you're not familiar with Dynamixel Wizard, this is a graphical tool to test and manipulate the servo. You must download Roboplus from the Robotis website and the Dynamixel Wizard is one of the many tools included in the Roboplus Suite (you'll find after you install Roboplus).
Regards
Pedro.
Hi
Communicating over RS485 or over TTL is exactly the same from a software perspective.
The difference between RS485 and TTL is a hardware chip that modifies the way the signal is transmitted. However, on arrival at the servo processor, the protocol packets look exactly the same regardless of being sent over RS485 or TTL.
As you very well mentioned the only thing you need to do is set the USB2Dynamixel to RS485.
All the rest should remain the same.
There are however 2 things to confirm:
1)
Double check the Control Table for the RX servo you have and in particular the memory mappings.
The control table is very similar from among Dynamixels but there are some minor differences between Servo Series (for example in an MX servo the position must be passed as a 12 bit value where in AX, it's a 10 bit value).
I'm not fully aware of the particularities of RX servos, but looking in the robotis support site (
http://support.robotis.com) should clarify this.
2)
Another very common assumption people make with RS485 servos is thinking they are Full duplex (ie that they have RX and TX) because they have 4 wires (the AX series uses 3 wires).
This is wrong.
RS485 servos (RX and EX series) are also Half Duplex like the AX series.
The reason why they have a 4 wires is because each direction in RS485 requires a pair of wires. In other words a full duplex setup in RS485 would require 4 DATA wires (1 pair for RX and 1 pair for TX).
Wikipedia should explain more about RS485.
The important thing to retain is that they are Half Duplex servos exactly like the AX series.
As a final note, I would also recommend testing that your servo is working fine by suing the Dynamixel Wizard.
Connect the servo to the PC using the USB2Dynamixel and use the Dynamixel Wizard to test communication with the servo.
If you're not familiar with Dynamixel Wizard, this is a graphical tool to test and manipulate the servo. You must download Roboplus from the Robotis website and the Dynamixel Wizard is one of the many tools included in the Roboplus Suite (you'll find after you install Roboplus).
Regards
Pedro.
Last edited by PedroR on Thu Aug 30, 2012 7:03 pm, edited 1 time in total.