cmAX

Compumotor AX motor controller

DESCRIPTION

The Compumotor Model AX is supported over an RS-232C interface. From the configuration editor, switch to the Device screen to select the following:

MOTORS        DEVICE   ADDR  <>MODE  NUM                           <>TYPE
   YES    /dev/ttyS0     <>    9600    4          Compumotor AX  (Serial)

The corresponding entry in the config file is:

RS_CMAX  =  device_name  baud_rate  number_of_motors

FUNCTIONS

Command pass through is available using the following functions. Note, use command pass through with caution to avoid interfering with the built-in programming commands spec sends to the controllers.

motor_par(motor, "send", cmd)
Sends the string cmd to the motor channel associated with motor.
motor_par(motor, "read", cmd)
Sends the string cmd to the motor channel associated with motor, as above, and returns a string containing the response.