Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: daus300b on August 29, 2011, 09:36:08 PM

Title: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: daus300b on August 29, 2011, 09:36:08 PM
My Taig CNC will respond to jogging and run g-code on the Linux prograM emc2, but not mach3...   ???

I confirmed the following:

- the driver is working
- the driver test works fine
- my board is an arcsin and has pins 2,4,6 configured for the motor and direction pins configured for 3,5,7. Configured the same way on EMC2
- i use windows 7 32bit professional

i would press the tab key, activate jogging, nothing..   :P

Any suggestions?



Title: Re: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: Hood on August 30, 2011, 02:50:14 AM
Attach your xml and maybe a config issue will be found.
Hood
Title: Re: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: Tweakie.CNC on August 30, 2011, 04:14:53 AM
Are you perhaps using a laptop or computer with on-board graphics ??

Tweakie.
Title: Re: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: daus300b on August 30, 2011, 09:33:54 AM
I'll attach my xml when I get home tonight.  In the meantime, yes I have an on board graphics processor.  Is that usually a big issue with mach3?  I spec'ed this computer originally for EMC2 on linux as the motherboard had really low latency.  Last night I got a whole program to run under EMC2 so I know at least the mill and computer hardware are working.   

Daus
Title: Re: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: Hood on August 30, 2011, 09:49:57 AM
Low latency may be the issue, try increasing the pulse width to 5 and see if that helps, its on Motor Tuning page.

Hood
Title: Re: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: Tweakie.CNC on August 30, 2011, 11:03:07 AM
Daus,

Some motherboards with on-board graphics work just fine whilst others do not. In my case fitting a PCI (or was it AGP, can't remember now) graphic card resolved the issue. If possible, borrow a graphics card just to try.

Tweakie.
Title: Re: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: daus300b on August 30, 2011, 11:26:53 PM
I tried adjusting the plus.  Nothing.  

Here's the link to the xml file.

http://www.filefactory.com/file/cd55412/n/taig.xml

If you don't have a file factory account, you can just click on the "slow download" link in the bottom right hand of the page.

Daus
Title: Re: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: Hood on August 31, 2011, 02:39:04 AM
You do not have a Port number set for X,Y,Z Step/Dir pins.
Hood
Title: Re: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: daus300b on August 31, 2011, 11:46:39 AM
Thanks.  I added "1" to my step and dir ports.  It wouldn't jog, but when pressing buttons, I got movement on the "return" button.  I guess we some type of communication.

Daus   
Title: Re: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: ERP on August 31, 2011, 12:00:45 PM
No idea if this will help, but I had 2 issues when I made the transition, the first was not realizing that valid port numbers started at 1, and they all defaulted to 0.
The second was that for some reason the default acceleration setting in the motor tuning which was stupidly high stalling my steppers instantly, I actually moved the settings over from the EMC2 xml file and it still wouldn't jog until I drastically reduced the acceleration. I suspect EMC is using a different shaped ramp.
Title: Re: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: daus300b on August 31, 2011, 01:13:18 PM
I got the jogging to work.  I don't know why it didn't at first. Yes, the motors will need some tuning, but it has a nice and quick start/stop. 

I didn't have a default port set, just the red X's.  I put "1" in and now it seems to work.

Thanks!

Daus   
Title: Re: Help! My CNC runs on EMC2, but not Mach3?!?!
Post by: Hood on August 31, 2011, 02:44:46 PM
You dont seem to have any keys set up for the keyboard jogging for some reason. Go to Config menu then System Hotkeys and then click on X++ and press the right arrow when the box pops up. Next click on X-- and press the left arrow on your keyboard etc etc.
Hood