질문 하시기 전에 검색을 통해 원하는 질문/답변 내용을 찾아봐주세요.

how to write an instruction packet for reading present position in RX-64

조회 수 843 추천 수 0 2010.08.03 13:29:53
aditya *.172.226.121

i have a dynamixel RX-64

i want to know how to write an instruction packet for reading present position in RX-64

help please

thks


댓글 '4'

MikeG

2010.08.03 22:13:18
*.99.244.218

The ReadData instruction is published in the RX-64 manual http://www.robotis.com/xe/?mid=download_en&page=2&document_srl=20605.


In order to write the instruction for you we need to know the RX-64's ID but you should read the manual.

aditya

2010.08.04 10:43:16
*.172.226.121

i've read the manual. It worked for reading the model number, firmware number, temperature, voltage, and many other.. But it didn't work for reading the present position, present speed, and present load..


I wrote the instruction in this form:

FF FF 01 04 03 24 02 D1


And i don't understand the status packet, it had no correlation to the actual position.

Please help.. I bought the dynamixel RX-64 because of this feature, and now i don't know what to do..

Thanks..

[레벨:30]ROBOTIS

2010.08.04 10:46:48
*.112.9.210

Hi Aditya,

 

Please refer to the link below for more information on the instruction packet.

http://support.robotis.com/en/techsupport_eng.htm#product/dynamixel/communication/dxl_packet.htm

 

The current position reads 0x24 and the sent packet is FF FF 01 04 02 24 02 D2

 

ROBOTIS

MikeG

2010.08.05 00:10:02
*.99.244.218

Aditya,

The present position is a 2 byte value that starts at address 0x24.  The status packet return low (0x24)-high(0x25) byte.  You must assemble the bytes correctly in your client application. 


I positioned an RX-64 at 756 then executed FF FF 01 04 02 24 02 D2 the status packet returned is

FF FF 01 04 00 F6 02 02


Low byte = F6

High byte = 02


Therefore, 02F6 = 758.  I'm two digits off because I sent the motor to 756 at the fastest possible speed and my compliance setting allow this buffer.


Please see the RX-64 manual and the link provided.


문서 첨부 제한 : 0Byte/ 2.00MB
파일 제한 크기 : 2.00MB (허용 확장자 : *.*)
List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 [ROBOTIS] Please read before posting questions. ROBOTIS 2012-02-07 20
399 [AX-12+] Power loss and fail to follow correct goal position [1] 김승아 2010-08-20 569
398 extra zeros in status packet and dropped 0xFF byte [5] MTR 2010-08-14 753
397 [EX-106] Pose Utility [1] Customer 2010-08-12 577
396 Problem connecting with RS485 serial port [1] Ugo 2010-08-05 832
» how to write an instruction packet for reading present position i... [4] aditya 2010-08-03 843
394 Problem with CM-510 [5] Rami 2010-08-02 887
393 [HELP] dynamixel RX-64 transfer function [1] dhona 2010-08-02 769
392 How to program CM2+ using MATLAB? [3] lokesh sardana 2010-08-01 743
391 Multiple motors detection problem [1] Rami 2010-07-29 731
390 RX-64 + Arbotix microcontroller problem [1] Ilya 2010-07-29 651
389 RX64/28/10 Torque Enable problem [3] Christian 2010-07-23 699
388 Connecting RX-64 to the PIC16F876A UART [4] Joan Pere 2010-07-22 842
387 CM 510 - Technical Question [1] Charles 2010-07-21 771
386 About EX-106+ [1] lrg 2010-07-20 787
385 about the power supply of ex-106+ [1] lrg 2010-07-19 681
384 Problem with the USB2Dynamixel [1] SAKIS 2010-07-15 681
383 Status Return Error [2] taufik 2010-07-15 736
382 how to purchase BIOLOID products in a reasonable price in china... [1] iloveyou 2010-07-15 789
381 USB2Dynamixel with AX12+ [2] angela 2010-07-13 791
380 Istill have Problem with the USB2Dynamixel connection [1] SAKIS 2010-07-13 644

XE Login