Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Rex B on January 17, 2016, 01:37:32 PM

Title: Need help with first retrofit project - won't run
Post by: Rex B on January 17, 2016, 01:37:32 PM
trying to get my feet wet with a CNC conversion. Actually, I have 3 unfinished conversions. I'd like to get ONE running at least!

so....

I am retrofitting an Emco 5 CNC. All the OE electronics are gone.

I am using this stepper driver. http://www.xylotex.com/XS3525V202.pdf

....with this stepper motor http://www.automationtechnologiesinc.co ... h256-28-4a

Powered by a 12V 5amp power supply (my 24V PS was DOA)

Running Mach3. I have it all hooked up on my desktop, set the Vrefs per the Xylotex instructions.
Connected the 8-wire stepper using the Bipolar series diagram.

Now I'm getting lockup when I apply power, but I can't get it to jog in Mach3.

Any suggestions welcome.
Title: Re: Need help with first retrofit project - won't run
Post by: Tweakie.CNC on January 18, 2016, 07:01:52 AM
Firstly, check the manufacturers data sheet to make certain that you have the correct wire connections for that stepper motor ( H256-28-4A ??? I can’t seem to find that one to verify your wire colours). Check that your Xylotex Enable jumpers are in place.
If you are using the Parallel Port then check in Device Manager for the address of your LPT port and check that the correct address is entered in Mach3 for Port1 & that it is Enabled. Then check the Xylotex data sheet to make sure you have the correct Step and Direction pins set in Mach3 (Ports & Pins / Motor Outputs) also that the Step and Direction Ports are set to Port 1.

Tweakie.
Title: Re: Need help with first retrofit project - won't run
Post by: Rex B on January 18, 2016, 08:47:00 AM
I linked to the motor data but the link doesn't work.  Data sheet attached. 
Enable jumpers are in place
I went all through the Device Manager and am unable to find the port address. I did find that it defaulted to LPT3 so I changed that to LPT1
Ports & pins is correct and double-checked.
Title: Re: Need help with first retrofit project - won't run
Post by: magicniner on January 18, 2016, 09:31:10 AM
I changed that to LPT1

And checked it's address and ensured that address is the address selected or entered in Mach3?
Title: Re: Need help with first retrofit project - won't run
Post by: Rex B on January 18, 2016, 09:40:51 AM
Where do I find the port address?
I am not seeing it in Device Manager
Title: Re: Need help with first retrofit project - won't run
Post by: Rex B on January 18, 2016, 09:44:41 AM
OK, I found it under Resources, I just did not think it was right.
I am showing

I/O Range   B400-B407
I/O Range   B000-B007

So what number would I enter in Ports and Pins?
Title: Re: Need help with first retrofit project - won't run
Post by: magicniner on January 18, 2016, 09:47:29 AM
It should be on the Resources tab when you view the port's properties in device manager
Title: Re: Need help with first retrofit project - won't run
Post by: magicniner on January 18, 2016, 09:49:05 AM
Try Bx400
Title: Re: Need help with first retrofit project - won't run
Post by: magicniner on January 18, 2016, 09:51:51 AM
I don't know why there's an x in there as the second character in what's supposed to be a Hexadecimal address but when I tried it without it didn't work.
Title: Re: Need help with first retrofit project - won't run
Post by: Rex B on January 18, 2016, 10:24:21 AM
Also, should have mentioned:  The instructions say the E-stop button should go green when pressed. It does turn off the flashing bars on either side, but no green anywhere near it.  I have tried all sorts of settings on the input signals
Title: Re: Need help with first retrofit project - won't run
Post by: Rex B on January 18, 2016, 10:26:15 AM
Try Bx400

When I enter that value it closes the window. I re-open it and find the value set to Oxb 
Title: Re: Need help with first retrofit project - won't run
Post by: magicniner on January 18, 2016, 10:31:14 AM
Same here, it may be that you need your PP to occupy one of the common legacy addresses (all mine do) for it to work, what PC and OS are you using
Title: Re: Need help with first retrofit project - won't run
Post by: Rex B on January 18, 2016, 10:35:28 AM
The PC connected to it now for testing purposes is a newer HP on Win7.
I know M3 wants XP, but I figured I'd be able to get the motor turning on the newer OS.
Maybe not.

The shop PC is older with XP.
Title: Re: Need help with first retrofit project - won't run
Post by: Rex B on January 18, 2016, 11:37:39 AM
version R3.043.066

I did enter B400. the config box closes when I hit <enter>.
When I reopen the config>ports and pins the value has changed to 0xb
Title: Re: Need help with first retrofit project - won't run
Post by: Tweakie.CNC on January 18, 2016, 11:40:48 AM
Please check that you are using a 32 bit version of Win 7 (64 bit versions do not work with the parallel port).

Tweakie.
Title: Re: Need help with first retrofit project - won't run
Post by: Rex B on January 18, 2016, 12:02:44 PM
That is probably the issue on this home PC.
I'll take it back out to the shop and try again.