User Tools

Site Tools


commands:motctrl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
commands:motctrl [2018/02/07 17:22] – joncommands:motctrl [2025/08/27 17:15] (current) – fix full cmd name in tables brandon
Line 1: Line 1:
 +====== Command:MOTCTRL (MC) ======
  
 +--> MS2000 or RM2000 syntax ^
 +
 +^Shortcut  |MC| 
 +^Format  |MOTCTRL [Axis]± |
 +
 +<--
 +
 +--> Tiger syntax ^
 +
 +^Shortcut  |MC| 
 +^Format  |MOTCTRL [Axis]± |
 +^Type    |Axis-Specific  |
 +
 +<--
 +
 +This command enables ''+'' or disables ''-'' the controller’s ability to control the motor of a certain axis.  The motor control voltage is set to zero and the position feedback control is not monitored when the motor is in disabled ''-'' mode. The electronics of the controller will attempt to keep the motor from moving while disabled, however, it should be noted that this is an open-loop brake control only, and any movement or drift is not corrected. 
 +
 +When queried with ''MC <axis>?'', the controller returns values of ''1'' or ''0'' representing enabled and disabled respectively. The ''MS2000'' controller may also return a value of ''2'' if the clutch is disengaged, there is a switch on the front of the controller to toggle the clutch state.
 +
 +If there are no errors, the positive reply <wrap reply> :A </wrap> will be sent back from the controller.
 +
 +
 +== Example ==
 +
 +<asi> $ MC X+ Y+ Z-
 +:A</asi>
 +
 +This example shows that the X and Y motor control is enabled, but disables the Z motor control.
 +
 +
 +
 +
 +{{tag>commands tiger ms2000}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181