Hello Guest it is April 23, 2024, 04:25:08 AM

Author Topic: g92 Proper Use Of with M98, M99 ?  (Read 10361 times)

0 Members and 1 Guest are viewing this topic.

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
g92 Proper Use Of with M98, M99 ?
« on: December 24, 2006, 02:45:22 PM »
Trying to get this code to work properly.

It appears to cut properly, doesn't display properly during cut and doesn't execute final ret. to  x0, y0 at finish.

Have tried so many different combinations.

Just lost hear now, hope someone can get me back on track.

Thanks, Chip.

« Last Edit: December 24, 2006, 07:47:27 PM by afn09556 »

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: g92 Proper Use Of with M98, M99 ?
« Reply #1 on: December 24, 2006, 03:16:36 PM »
High Chip,
     Doesn't display right for me either. Can you send me a dxf. or dwg. print. I will write the code with my cam package and compare. I'm no Gcode guru by a long shoot. I think it has sometheing to do with the incremental G91 and the G90 absolute.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: g92 Proper Use Of with M98, M99 ?
« Reply #2 on: December 24, 2006, 03:33:18 PM »
Hi, Brett

It's a LC generated file, gust trying to cut 5, at a time useing gust one ABS file below, in a vertical cut.

My NCPLOT shows it returning to x0y0, and plots it properly, Mach3.029 doesn't.

I now I could just make copy's in DXF and generate Gcode.

Just trying to do it with G92,M98, M99, you no learn something now and then.

Thanks, Chip

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: g92 Proper Use Of with M98, M99 ?
« Reply #3 on: December 24, 2006, 03:54:19 PM »
I understand wanting to learn new ways. That is what makes life interesting. I don't know if this will help or not but I have seen very similar things done with a main program that calls up sub programs. I would think you would do the code in incremental. Copy it however many times you want to run it and add fixture offsets in absolute. This may be totally wrong though as I need a lot of help with Gcode. Without my cam package I don't think I could mill a straight pocket. ;D Some of the guys who frequent here are really sharp on Gcode.

Brett
MERRY CHRISTMAS
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: g92 Proper Use Of with M98, M99 ?
« Reply #4 on: December 24, 2006, 05:56:07 PM »
Hi Chip,

try it like this.

Graham.
Without engineers the world stops

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: g92 Proper Use Of with M98, M99 ?
« Reply #5 on: December 24, 2006, 06:22:57 PM »
Chip,
    Graham is one of the gurus I was speaking of.

Merry Christmas Graham

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: g92 Proper Use Of with M98, M99 ?
« Reply #6 on: December 24, 2006, 07:35:13 PM »
Hi, Graham

Thanks, The Goo x0 y0 z0 returns now.

Still don't understand why it still uses the bottom object twice.

Thought Mach used the  Display / RunData. data-files for cut, Must be some disagreement in the Mach Code.

Both codes posted Run in NCPlot and return to Zero though.

I reposted the first one it had an error.

Thanks, Chip

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: g92 Proper Use Of with M98, M99 ?
« Reply #7 on: December 24, 2006, 07:45:12 PM »
Hi Chip,

Not sure what you mean by its using the bottom object twice

Graham.

Without engineers the world stops

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: g92 Proper Use Of with M98, M99 ?
« Reply #8 on: December 24, 2006, 07:54:48 PM »
Hi, Graham

It cuts the Bottom Part 2 times then goes to finish point of top part then to X0 y0 z0.

Using Mach3 Ver. .029 hear maybe there is something wrong with my XML

Thanks, Chip

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: g92 Proper Use Of with M98, M99 ?
« Reply #9 on: December 24, 2006, 08:14:10 PM »
Hi Chip,

I don't think you can use G92 like this, G92 sets a datum at the current point when you use X0 Y0 Z0 but it has no way to go back to the original start point.

G52 X1. Y1. Z1. is a datum shift by the amount in X,Y,Z, if the values are ZERO it is shift cancel.

When Mach runs the program to generate the path it may be setting the datums and because its a G92 it can't get back to the original datum point so its cutting the bottom part twice because that was the last datum point created by G92.

I hope that makes sense (Its getting late here).

Graham.
Without engineers the world stops