by Lothar » Thu Mar 22, 2012 9:22 pm
by Lothar
Thu Mar 22, 2012 9:22 pm
Hi PedroR,
I think it might be a synchronization problem, too. First I just sended a sync write command with the positions of 14 actuators (AX12). You have to use the broadcast ID with the syncwrite, so the cm-510 doesn't response to the syncwrite. It ran very fast, about 30 times per second, but the actuators didn't move. After that I slowed the loop down by a timer to 5 times per second. Now the actuators moved perfect, but after about ten seconds they suddenly stopped. Next I tried to send a sync write followed by a read command forcing the cm-510 to reply. That also worked fine, but after ten seconds stop ! Seen from the comport side everything seems to be ok. The comport tells me the send buffer is correct sended, but after ten seconds there ar no more recieved bytes. I can not explicitely change the direction of the comport, I only can check if the sendbuffer is empty and if there are bytes i have to read.
resources : in robotis terminal (or hyperterminal or by a program in C,delphi or something like that) you enter 'toss' + return (#13). After that you are in the toss mode. From now you have to send commands as described in the robotis e-manual (Dynamixel->Communication->Instruction/Status Packet. Fritzoid is right saying there is no way back except powering off the cm-510. For example 0xFF means you don't send two characters with the value of 'F', you instead have to send a byte with value 255 decimal. Normally this is not possible with the robotis terminal. I hope this is what you wanted to know !
Regards Lothar
Hi PedroR,
I think it might be a synchronization problem, too. First I just sended a sync write command with the positions of 14 actuators (AX12). You have to use the broadcast ID with the syncwrite, so the cm-510 doesn't response to the syncwrite. It ran very fast, about 30 times per second, but the actuators didn't move. After that I slowed the loop down by a timer to 5 times per second. Now the actuators moved perfect, but after about ten seconds they suddenly stopped. Next I tried to send a sync write followed by a read command forcing the cm-510 to reply. That also worked fine, but after ten seconds stop ! Seen from the comport side everything seems to be ok. The comport tells me the send buffer is correct sended, but after ten seconds there ar no more recieved bytes. I can not explicitely change the direction of the comport, I only can check if the sendbuffer is empty and if there are bytes i have to read.
resources : in robotis terminal (or hyperterminal or by a program in C,delphi or something like that) you enter 'toss' + return (#13). After that you are in the toss mode. From now you have to send commands as described in the robotis e-manual (Dynamixel->Communication->Instruction/Status Packet. Fritzoid is right saying there is no way back except powering off the cm-510. For example 0xFF means you don't send two characters with the value of 'F', you instead have to send a byte with value 255 decimal. Normally this is not possible with the robotis terminal. I hope this is what you wanted to know !
Regards Lothar