Welcome | spec | C-PLOT | Support | Users | Contact
 



Motors
Counters
MCA
Interfaces

    Hardware reference : Motors : Compumotor : Compumotor AX

Compumotor AX



Interface:
  • Serial


config file

RS_CMAX = device_name baud_rate number_of_motors 

edconf:   DEVICES screen
MOTORS        DEVICE   ADDR  <>MODE  NUM                           <>TYPE
   YES    /dev/tty00     <>    9600    4          Compumotor AX  (Serial)
      
 

Function Reference:

Command pass through is available using the following functions. Command pass through should be used 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.

Top