Hello Guest it is April 19, 2024, 05:37:35 AM

Author Topic: G68 and feedhold problem  (Read 3902 times)

0 Members and 1 Guest are viewing this topic.

Offline yam

*
  •  3 3
    • View Profile
G68 and feedhold problem
« on: February 12, 2008, 05:55:49 PM »
Why is it that if I FeedHold and than Cyle Start this program, it does not stay on the toolpath. (Mach3 ver 2.63)
The program is:

G90 G64 G80 G17 G21 G40 G49 G50 G94
G68 R45
G0     x132.00000      y0.00000
M4
M1
M3
G1     x132.00000     y-5.00000
G1       x0.00000     y-5.00000
G1       x0.00000   y-137.00000
G1     x132.00000   y-137.00000
G1     x132.00000     y-5.00000
M5
M0
M30

It only happens after the first g1 move and only when using G68.


Thanks,
      Szilard.
« Last Edit: February 12, 2008, 06:13:45 PM by yam »

Offline jimpinder

*
  •  1,232 1,232
  • Wakefield, West Yorks, UK
    • View Profile
Re: G68 and feedhold problem
« Reply #1 on: February 13, 2008, 02:14:25 PM »
G68 is co-ordinate system rotation - whatever that is. What are you trying to do.

Other prople have difficulty with G68 - if you google  "G Code G68"

I cannot see the relevance of the M4 command (reverse rotation of spindle) either, before the M1
You can use M30 without the prceeding M0
Not me driving the engine - I'm better looking.

Offline yam

*
  •  3 3
    • View Profile
Re: G68 and feedhold problem
« Reply #2 on: February 13, 2008, 03:22:43 PM »
I use this code with flame cutting. When putting a large plate on the table (2000kg or more) I have to roatate the XY plane to match the position (the angle of rotation)of the plate relative to the cutting machine axis.

The M4 is a custom macro that turns on preheat valves than uses G4 to wait for pierce. M1 is used to be able to manually pierce when G4 is not used. M1 cannot be used inside of another macro, this is why is used separatly.

I think you are right with M0 and M30 being redundant.

The question is: can the XY plane rotation(G68) be used and be able to feedhold or even run reverse in Mach3 ?
It would be a great help for flame cutting(or plasma cutting).
 
     Szilard.