...
POST No. 21074
can't control RX-28 using C language
2008-03-20 23:58:00
Dear friends,
        I can control RX-28 using  Robot Terminal.exe easily. But when I using the C language, the RX-28 doesn't have any reflection. First ,I used your programm CM-2 PLUS.c and found that RX-28 had no refection and it also didn't send status packet back. Then I write a very simple programm to turn on the led of one RX-28 with the ID number 1.For this ,I should send' ff ff 01 04 03 19  01  dd'(hexadecimal) to RX-28. I am sure that the instruction packet is right and sent to the RX-28, but it doesn't reflect at all. If I use Robot Terminal.exe ,it works well.In this way ,I just need to enter "wr 25 1" and the instruction packet  that shows on the  screen is just 'ff ff 01 04 03 19  01  dd'.So i don't know the reason .Do i need to do other thing except sending  "ff ff 01 04 03 19  01  dd''when i use C language?By the way , i send the number one by one,I mean, once 'ff' is sent out ,the second 'ff'is sent out ,and then '01'.
Can you please explain this problem for me?
      Thank you! Look forward to your reply!
2008-03-20 23:58:00