Results 1 to 2 of 2

Thread: How to Set the Torque limit for Dynamixel MX-28 using MATLAB?

  1. #1
    ubs3 Guest

    How to Set the Torque limit for Dynamixel MX-28 using MATLAB?

    Hi,
    I am working on an exoskeleton which uses Dynamixel Motors. I wanted to know how to set the torqur limits for the MX motors using MATLAB and not the Dynamixel Wizard.

    Help will be much appreiciated

    Thank you.

  2. Re: How to Set the Torque limit for Dynamixel MX-28 using MATLAB?

    Hi,

    Not a Matlab user myself (anymore).
    How do you plan on talking to the servos aside from the part about setting them up? Chances are you can easily use the same lib to set these values too.

    Have a look at http://support.robotis.com/en/produc...munication.htm to get a better understanding of how the communication works.

    What you will want to do is send a WRITE_DATA command that targets the relevant registers in the register table (cf support page for the servo you are using, example MX-28).

    34/35 are the addresses where you want to write if it's only for this time, or if you plan on changing them often.
    14/15 are the addresses where you should write the limits if you want them to be remembered after powering them down. (Writing there can take a few ms, and it does not impact the servo directly: it only sets the value that will be written to 34/35 on startup).

    These pairs of registers have to be written in one write operation (you can't write them one after the other). Be careful with the endianness (order of the bytes in the number).

    Now, be careful that "torque" here is not real torque measured by a torque sensor, it's about what the motor will be given in terms of voltage, with all the differences that entails.
    As they say in the support page :
    Notes: Current load is inferred from the internal torque value, not from Torque sensor etc.
    For that reason, it cannot be used to measure weight or torque; however, it must be used only to detect which direction the force works.
    Last edited by Xevel; 03-07-2015 at 01:55 PM.
    ---
    Personal blog: http://xevel.org
    USB2AX documentation: http://xevelabs.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Question(s) Dynamixel torque control using current feedback
    By Gray Fox in forum DYNAMIXEL & Robot Actuators
    Replies: 4
    Last Post: 11-22-2017, 02:04 AM
  2. Question(s) CM-700 with Matlab
    By zubriki in forum Arbotix, Microcontrollers, Arduino
    Replies: 3
    Last Post: 04-11-2013, 07:47 AM
  3. current limit
    By gradstudent21 in forum Arbotix, Microcontrollers, Arduino
    Replies: 0
    Last Post: 11-22-2011, 10:19 AM
  4. Need matlab code for negative rotation of Dynamixel AX-12+
    By ngom52 in forum DYNAMIXEL & Robot Actuators
    Replies: 7
    Last Post: 03-12-2010, 01:50 PM
  5. Time Limit?
    By Firestorm65 in forum Mech Warfare
    Replies: 26
    Last Post: 03-15-2009, 09:15 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •