Gray_code_element

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

Arduino HTTP Request

This worked on April 11, 2025 for an Arduino R4 using the Arduino Desktop IDE on a Windows 11 computer.  Make Sure that the Arduino IDE is u...