Hello Guest it is April 19, 2024, 10:12:49 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dodger

Pages: 1
1
G-Code, CAD, and CAM discussions / Issue with G82 and M06 (Mach4)
« on: October 30, 2016, 10:23:46 PM »
So set up is Mach4 (2.0.3200) through an ESS to my little 3020 machine.

Making PCBs and it makes the traces very will with PCB-gcode on Eagle and Autoleveller.

The issues i'm having is the drilling.

reading a few things on G82 called for in the code generated by PCB-gcode, the first code in the script carries all the parameters and all subsequent G82 callouts immediately following it will use the same parameters as the previous except for those specified on that line. And this will continue until a new code is called and so when the next G82 is placed all the parameters need to be specified again and so on.

that's the understanding i got and hopefully i'm correct.

Anyway the issue i'm running into is Mach4 is stopping and telling me the subsequent G82 calls are invalid cause they lack a Z coordinate. That's one of the parameters i thought to be considered "sticky" after the initial G82. Am I wrong? Or is Mach4 just being prissy with me?

Here's a snip of the drill code:

M06 T03 ; 0.8128
G01 Z0.0000 F250
M06
G00 Z2.5400
M03
G04 P3.000000
G82 X-1.9050 Y6.9850 Z-1.2000 F250 R2.5400 P1.000000
G82 X-3.8100 Y11.4300
G82 X-1.9050 Y12.7000
G82 X-3.8100 Y13.9700
G82 X-1.9050 Y18.4150
G82 X-1.9050 Y22.8600
G82 X-4.4450 Y22.8600
G82 X-6.9850 Y18.4150

It's also giving me something funny with those M06 change tool calls. It'll inform me of a tool change and instruct me to hit cycle start after it completes.  Instead of a pause for me to change tools, touch off, and resume the cycle, it just keeps on trucking through the script till it gets confused with the G82.  There's a strong chance i misunderstand the use of some of these codes.  But from thumbing through the Mach3 Gcode Manual and Mach4 Mill Programming guide I'm hard press to believe i've goofed it up that badly.

Any help would be great.  I guess the real question i should ask is if this is a coding problem or a Mach4 problem.

Regardless, thanks for any help or enlightenment y'all can provide. It'll be much appreciated.

(I originally had this posted in the G-Code section of CNCZone, but it's so diverse I figured it would be better placed here)

Pages: 1