Hello Guest it is October 16, 2019, 09:03:17 AM

Author Topic: Help! My CNC runs on EMC2, but not Mach3?!?!  (Read 4501 times)

0 Members and 1 Guest are viewing this topic.

Help! My CNC runs on EMC2, but not Mach3?!?!
« 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?



Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: Help! My CNC runs on EMC2, but not Mach3?!?!
« Reply #1 on: August 30, 2011, 02:50:14 AM »
Attach your xml and maybe a config issue will be found.
Hood

Offline Tweakie.CNC

*
  • *
  •  7,947 7,947
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Help! My CNC runs on EMC2, but not Mach3?!?!
« Reply #2 on: August 30, 2011, 04:14:53 AM »
Are you perhaps using a laptop or computer with on-board graphics ??

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: Help! My CNC runs on EMC2, but not Mach3?!?!
« Reply #3 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

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: Help! My CNC runs on EMC2, but not Mach3?!?!
« Reply #4 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

Offline Tweakie.CNC

*
  • *
  •  7,947 7,947
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Help! My CNC runs on EMC2, but not Mach3?!?!
« Reply #5 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.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: Help! My CNC runs on EMC2, but not Mach3?!?!
« Reply #6 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
« Last Edit: August 30, 2011, 11:29:27 PM by daus300b »

Offline Hood

*
  •  25,855 25,855
  • Carnoustie, Scotland
    • View Profile
Re: Help! My CNC runs on EMC2, but not Mach3?!?!
« Reply #7 on: August 31, 2011, 02:39:04 AM »
You do not have a Port number set for X,Y,Z Step/Dir pins.
Hood
Re: Help! My CNC runs on EMC2, but not Mach3?!?!
« Reply #8 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   

Offline ERP

*
  •  35 35
    • View Profile
Re: Help! My CNC runs on EMC2, but not Mach3?!?!
« Reply #9 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.