G-code question

For general topics and questions that do not fit into any of the other categories or forums.
Post Reply
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7770
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

G-code question

Post by acourtjester »

I have a question about the post processor for GRBL THC with scriber. There are 2 things that don't make sense to me (many other really).
One is in the attached image of the G-code it seems the 2 lines near the top I think are not needed. After the probe command it zeros out the DRO (G92) then moves to Z0.059 and clears the DRO again then moves to Z0.160 for the pierce. Why the move to 0.059???? then add the distance of 0.160 to it, or don't zero out the DRO between them.
Next other cut starts do not have the probe command before the pierce action. My way of thinking is you should probe at the start of each cut operation.
gcode question.JPG

You currently do not have access to download this file.
To gain download access for DXF, SVG & other files Click Here

DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
sonbakler
3 Star Member
3 Star Member
Posts: 349
Joined: Fri Apr 15, 2011 3:47 am

Re: G-code question

Post by sonbakler »

I don't see the point in that either. I am sure it is accounting for something but I can't figure out what. Anything in the settings prior to posting that has the value 0.059" in it? Is it accounting for Z axis slop or limit switch offset? Would make sense that it is Z axis slop or switch offset since it only does it once after the initial probe.
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7770
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: G-code question

Post by acourtjester »

That could be it as it is using a G38 for touch off, this was for GRBL controller. I use G31 with ohmic sensor so only one move to pierce height with another controller (UCCNC).
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8599
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: G-code question

Post by adbuch »

acourtjester wrote: Tue Jul 26, 2022 12:45 pm I have a question about the post processor for GRBL THC with scriber. There are 2 things that don't make sense to me (many other really).
One is in the attached image of the G-code it seems the 2 lines near the top I think are not needed. After the probe command it zeros out the DRO (G92) then moves to Z0.059 and clears the DRO again then moves to Z0.160 for the pierce. Why the move to 0.059???? then add the distance of 0.160 to it, or don't zero out the DRO between them.
Next other cut starts do not have the probe command before the pierce action. My way of thinking is you should probe at the start of each cut operation.
gcode question.JPG
For Hypertherm - 0.059" is pretty close to 0.060" - which is the recommend cut height for most setups. Since I am not familiar with your setup, I don't really know what is happening there. Perhaps it somehow has some settings reversed or there is a value set into the wrong parameter. Is the "probing" your ohmic sensing? Perhaps it is only probing once and then using "from previous cut height" for the remaining pierce/cuts.
David
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7770
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: G-code question

Post by acourtjester »

I am not using this GRBL Post Processor I was just looking at it, and saw that which I questioned. Just trying to learn if there was a valid reason of a typo involved. I think Sonbakler gave a very reasonable answer of it being the backlash of a floating head switch. With a ohmic sensor there is almost zero backlash so no correction is needed.
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8599
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: G-code question

Post by adbuch »

acourtjester wrote: Wed Jul 27, 2022 8:59 am I am not using this GRBL Post Processor I was just looking at it, and saw that which I questioned. Just trying to learn if there was a valid reason of a typo involved. I think Sonbakler gave a very reasonable answer of it being the backlash of a floating head switch. With a ohmic sensor there is almost zero backlash so no correction is needed.
:Like :Like :Like
Post Reply

Return to “CNC Plasma Cutters General Forum”