Hello Guest it is April 24, 2024, 09:36:51 AM

Author Topic: skull and crossbones G code  (Read 5825 times)

0 Members and 1 Guest are viewing this topic.

skull and crossbones G code
« on: November 26, 2007, 01:02:43 PM »
Hi, another newbie, both CNC and Mach3

I bought a secondhand cnc machine and modified it to work from the lpt port instead of the original obsolete controller. My main interest is drilling my pcbs and milling smd masks, but that is incidental.

I began with the cross.tap file, but in its original version the z axis was not operating correctly. The positive action to lift the tool was fine, but then it would not lower into the work after the first cut. Somehow or other it seemed as if the F word was supposed to do this but nothing happened.
All the rapid movements after the beginning were in the following format.
M5
G0 Z1.0000
G0 X5.7892 Y5.0536
f5000.000M3
f5000.000G1 X5.8909 Y5.0706

I replaced each occurence with
M5
G0 Z1.0000
G0 X5.7892 Y5.0536
M3
G0 Z-.1000
G1 X5.8909 Y5.0706

then everything worked, with the rest of the pattern being cut. Where have I made an error in setup or whatever with the original code?


Dave

 
Re: skull and crossbones G code
« Reply #1 on: December 28, 2007, 12:03:06 AM »
Thanks!  I'm NOT crazy - I just started with Mach3 and the skull sample and I couldn't figure out why it would drop Z down, then go up and then never come back down again.  Go figure... 3 hours wasted.
Re: skull and crossbones G code
« Reply #2 on: December 28, 2007, 04:48:18 AM »
Thank YOU, as well.
I thought I was posting to cyberspace.
There was obviously something so simple that I had overlooked.
I have had so many questions on Mach3 and Lcam over the last month but I decided to work my own way through, or around any problems.

Dave

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: skull and crossbones G code
« Reply #3 on: December 28, 2007, 06:29:17 AM »
Sorry Guys,

I did not think the post needed a reply, it looked more like a statement than a question. Sorry,

Graham.
Without engineers the world stops
Re: skull and crossbones G code
« Reply #4 on: December 28, 2007, 07:57:30 AM »
No problems. I've learn't a tremendous amount by just looking at old posts.
It was a question in that I thought that if it worked for everyone else, what was I missing?

Dave