Hello Guest it is March 28, 2024, 06:46:17 AM

Author Topic: G43 ignored  (Read 4704 times)

0 Members and 1 Guest are viewing this topic.

G43 ignored
« on: October 16, 2012, 05:47:24 AM »
Hi Everyone,
I'm trying to get "stop spindle, wait for cycle start" to work properly.
It's selected in config
The M6start macro is still blank and the M6end macro is untouched and just returns xyz if they have been altered.
The program runs OK, stopping to allow a manual tool change and continuing when "cycle start" is pressed

here is my code

N02 M6 T1
N03 S4000 M03
N04 G4 P5
N05 G00 G90 G54 X0. Y0.
N06 G43 H1 Z2.54 M08
N07 G81 G98 X0. Y0. Z-4.871 R2.54 F400.
N08 M09
N09 M05

The tool number "T" does not change from zero and the tool offset "h" is unaltered..........why

stay calm folks

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: G43 ignored
« Reply #1 on: October 16, 2012, 06:28:14 AM »
Do you have the height offset set in the tool table?

Hood
Re: G43 ignored
« Reply #2 on: October 16, 2012, 10:08:25 AM »
Thank you for responding:

Yes, I have diameter D and height H set
K

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: G43 ignored
« Reply #3 on: October 16, 2012, 10:20:43 AM »
Can you attach your xml and aslo your code.
Oh and I think the tool number display part is broken but the height offsets should be changing fine.
Hood
Re: G43 ignored
« Reply #4 on: October 16, 2012, 10:30:06 AM »
Hi, how can I give you the XML file. I could email?
Not sure how to respond.
By the way you should have the code in the origional posting

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: G43 ignored
« Reply #5 on: October 16, 2012, 10:43:33 AM »
Ok just had a look at the original screenset and the DROs for tool number and height offset dont change so seem to be broke. However  the Z DRO does, can you confirm if yours does or  not change to refect the height offset.
Hood
Re: G43 ignored
« Reply #6 on: October 16, 2012, 11:06:21 AM »
I haven't used forums very much so it's slow progress for me.

I put together the gcode using Bobcam. It also has a tool table. The following table shows a program for drilling 4 holes of different diameters through the same thickness plate.
I'm not quite sure why the Z is different for each of the 4 drill operations. I know this is a different question but a little help here might enable me to answer you more accurately.





(BEGIN PREDATOR NC HEADER)
(MACH_FILE=3AXVMILL_MM.MCH)
(MTOOL T1 S1 D2. H127. DIAM_OFFSET 1 = 1.)
(MTOOL T2 S1 D4. H127. DIAM_OFFSET 2 = 2.)
(MTOOL T3 S1 D6. H127. DIAM_OFFSET 3 = 3.)
(MTOOL T4 S1 D8. H127. DIAM_OFFSET 4 = 4.)
(SBOX X0. Y0. Z-25.4 L62.155 W0. H0.)
(END PREDATOR NC HEADER)

%
O100
(PROGRAM NUMBER)
(PROGRAM NAME - CIRCLE TEST.TAP)
(POST -  MACH 3 MILL NO ATC METRIC)
(DATE - TUE. 10/16/2012)
(TIME - 09:15AM)

N01 G21 G40 G49 G54 G80 G90 G91.1

(JOB 1  HOLE  RANDOM POINT PATTERN)
(FEATURE DRILL HOLE)

N02 M6 T1
N03 S4000 M03
N04 G4 P5
N05 G00 G90 G54 X0. Y0.
N06 G43 H1 Z2.54 M08
N07 G81 G98 X0. Y0. Z-4.871 R2.54 F400.
N08 M09
N09 M05

(JOB 2  HOLE  RANDOM POINT PATTERN)
(FEATURE DRILL HOLE)

N10 M6 T2
N11 S3977 M03
N12 G4 P5
N13 G00 G90 G54 X20. Y0.
N14 G43 H2 Z2.54 M08
N15 G81 G98 X20. Y0. Z-13.902 R2.54 F400.
N16 M09
N17 M05

(JOB 3  HOLE  RANDOM POINT PATTERN)
(FEATURE DRILL HOLE)

N18 M6 T3
N19 S2651 M03
N20 G4 P5
N21 G00 G90 G54 X43.364 Y0.
N22 G43 H3 Z2.54 M08
N23 G81 G98 X43.364 Y0. Z-14.503 R2.54 F400.
N24 M09
N25 M05

(JOB 4  HOLE  RANDOM POINT PATTERN)
(FEATURE DRILL HOLE)

N26 M6 T4
N27 S1988 M03
N28 G4 P5
N29 G00 G90 G54 X62.155 Y0.
N30 G43 H4 Z2.54 M08
N31 G81 G98 X62.155 Y0. Z-15.103 R2.54 F400.
N32 M09
N33 M05
N34 M02

(END OF PROGRAM)

N35 M30
%


Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G43 ignored
« Reply #7 on: October 16, 2012, 03:09:34 PM »
The deth of cut (z) is different because the larger the diameter the drill is the LONGER the leadin for the point is and you have to drill deeper to account for the extra length back to the guage point. Tha way you have a hole ALL the way through the material.

Just a thought, (;-) TP

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: G43 ignored
« Reply #8 on: October 16, 2012, 03:10:38 PM »
Ok as a test  zero your Z Axis DRO then go to MDI page and type G43H1 and press enter and see if the Z Dro changes, Next type G43H2 and enter and see if it changes, G43H3 and enter and see if it changes.
If it doesnt then sounds to me like your tooltable in Mach is not set up, if it is then I will get you to attach your xml, I will explain how to if the need arises.
Hood
Re: G43 ignored
« Reply #9 on: October 16, 2012, 03:55:38 PM »
That works fine, whats the best way to get the XML code to you?
K