Servo Motor Control

Discussion in 'Homework Help' started by viknesh316, Dec 27, 2010.

  1. viknesh316

    Thread Starter New Member

    Dec 27, 2010
    I could use so help with my assignment here.
    I am supposed to write a C++ program in Visual Studio 2008 for a servo motor. The motor is controlled by a card that goes by the name Servo X8P. No other detail is known about the card. The supplier however provided me with some commands and protocols.

    When I contacted him regarding some examples in C++, he told me that with the command and protocols I can build myself a library and start programming. The card is connected via Serial Port (RS 232).

    I have enclosed these commands in pdf format.
    I would like to know how to begin.

    Thank you
  2. Georacer


    Nov 25, 2009
    It seems that the controller receives commands serially in strings of bytes. In the examples, the simple bytes are constant and characteristic of the commands, whereas the bold ones are the input/output variables.

    However, it is a little obscure since we don't know the appearance of the controller (number of ports, connections to the motors etc). Maybe someone with more exprerience could shed some light to the case.