Hello Guest it is May 25, 2019, 05:33:49 AM

Author Topic: Configuration Issues  (Read 2512 times)

0 Members and 1 Guest are viewing this topic.

Configuration Issues
« on: July 25, 2008, 01:32:29 PM »
I am trying to run a single stepper motor using Mach3, but I can't get the motor to run.  I am using a Campbell breakout board and a Geckodrive G203V driver with my motor.  I can't get the motor to respond to any Mach3 commands, but when I turned off the power to the breakout board and driver while Mach3 was still running, the motor turned a little bit.  It seems that things are hooked up, but I don't have Mach3 configured correctly.  Does anyone have any ideas on fixing this problem?

Offline Hood

*
  •  25,817 25,817
  • Carnoustie, Scotland
    • View Profile
Re: Configuration Issues
« Reply #1 on: July 25, 2008, 01:59:23 PM »
Could be many things, first thing to check is you have the correct address for the parallel port. Then check you have the axis enabled, the correct pins chosen for that axis and also the correct port asigned for it.
 To check that the computer is putting out the direction signal you can measure with a voltmeter between your chosen direction pin and ground, when you jog one way then the other the voltmeter should change between 0 and 5v. You can also check on the step piin with a voltmeter but you will need it set to millivolt range, you will see a voltage when you jog, the figure is unimportant, just you need to see a voltage when jogging and nothing when stopped.
 If these tests check out then your problem is probably from your computer out the way, let us know how you get on.

Hood
Re: Configuration Issues
« Reply #2 on: August 21, 2008, 01:53:06 PM »
I looked into my problem some more.  I found that the signals that I'm trying to send to my breakout board using Mach 3 are not ending up going where I have them set to go on the breakout board.  5 volts DC  is always sent to the X-Step, X-Dir, Y-Step, Z-Step and Ax-Step pins on my breakout board.  This doesn't change when I change my breakout board between using computer ground (for my Geckodrive G203V driver) and using 5 volts DC offset.

Also, the Y-dir signal is being sent to my OUT1 pin, the Z-dir signal to OUT2, and the Ax-dir signal to OUT3.  I am using the XML file that was provided for use with my soundlogic breakout board.  The program is not sending the signals to the pins that it should be sending them to.  I thought that it might be a problem with my parallel port ribbon cable, but I got a new one and the problem is still there.

I only this system to drive a single motor, so I tried switching up the output pins, so that the signals go the the correct pins.  I am trying to run the motor on the y-axis, and set it up so that I can send the y-dir signal to the correct pin.  However, I can't send the y-step signal to the correct pin, as the y-step pin always has 5 volts sent to it, as I mentioned above.  I tried sending that signal to one of the other output pins, but can't get that to give me very much amperage, for some reason.

Has anyone seen something like this or have any ideas on how to fix it?

Offline jimpinder

*
  •  1,233 1,233
  • Wakefield, West Yorks, UK
    • View Profile
Re: Configuration Issues
« Reply #3 on: August 21, 2008, 02:50:52 PM »
The Campbell breakout board is a *** to use. Have you got any manual with it. You cannot wire it up without a manual. You can download this.

If you look he has allocated the pins outs in an odd-ball way having the steps on pins 2,3,4,5 and the dirs on 6.7.8.9 - thats a new one on me.

You must allocated the Ports and pins as per Campbells system, otherwise it will not work. He has tried to be all things to all men.

You would be better to get an UNPOWERED break out board. Your Gecko drives are Opto isolated so they are safe enough. The only thing you would need is a 5 volt power supply to provide the 5 volt reference for the Gecko Opto isolation. Use a phone charger and a 5v regulator.

It would be a lot cheaper than Campbells board which is shown as $130 on the web site.
Not me driving the engine - I'm better looking.