Monday, August 20, 2012

First program to control a motor using Galil DMC-4133

In a previous blog, I discussed connecting to the Galil DMC-4133 using Gilal Tools. This blog now discusses a very simple set of commands to get the motor moving. I will list each command and discuss them as I type them.

:MT 2 'The MT is required for setting up communication with a stepper motor. The variable can be 2, -2, 2.5, or -2.5 depending on active low step or active high step and whether it is reverse direction.
:SH 'Turns motor on
:PRA = 13000
:BGA
:MO A  'Turns motor A off

No comments:

Post a Comment

JSP - Java Description

https://docs.oracle.com/javaee/5/tutorial/doc/bnair.html