Hello Guest it is April 19, 2024, 01:15:12 PM

Author Topic: G code and change end mill  (Read 3247 times)

0 Members and 1 Guest are viewing this topic.

G code and change end mill
« on: June 08, 2012, 12:24:07 PM »
Hello to All I'm a modeler and I'm building the wheel for my loco. I have the Bf20L CNC modified by me; it works well but I'm not able to use correctly the G28 M6 command. In fact after the end mil had been changed the works starts and  regularly the mill damage the work because don't respect the rapid plane distance. Please find an example of what I did on the original file.:
....from Job 1.......
N5861 X26.446 Y37.122
N5862 X30.625 Y41.361
N5863 G00 Z3.
N5864 M05
N5865 G28 M6 ( This line is added by me )
(JOB 2  ZLEVEL FINISH)
(FEATURE Z-LEVEL FINISH)
(N5865 T2)
N5866 S3182 M03
N5867 G90 G54 X75.09 Y52.735
N5868 G43 H2 Z3. M08
N5869 G01 Z-.906 F323.3201
N5870 G03 X51.551 Y46.647 I-14.556 J7.729 F630.4741
Where I'm wrong?
Thanks for your help

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: G code and change end mill
« Reply #1 on: June 10, 2012, 04:33:52 AM »
The line can be ' G91 G28 Z0 M6' for a tool change on a automatic tool changer or 'T2 M6' for a manual tool change.

G28 needs an axis designation e.g. G28 Z0 or G91 G28 X0 Y0 Z0

Graham
Without engineers the world stops
Re: G code and change end mill
« Reply #2 on: June 13, 2012, 06:31:58 PM »
Dear Graham
Thanks for your help. In my program a value had been assigned for the tool change position on the configuration mask. Please let me know what T2 it means...I didn't found any information on the Mach3 code...
Thanks again for your help
Mauro
Re: G code and change end mill
« Reply #3 on: June 15, 2012, 07:43:33 AM »
its just the meaning of tool number two. like T3 is tool number three.
Re: G code and change end mill
« Reply #4 on: June 15, 2012, 06:32:59 PM »
Ok Graham......
If I understood well I put the number of the tool and the Macro M6 for changing the tool and not  G28....but I have to do a zero for a new tool anyway befor start the new operation...don't You?