Page 1 of 1

WHY DOES THIS PROGRAM NOT WORK?

Posted: Sun 30 Dec , 2012 23:46 pm
by mikep608
i MADE THIS CNC CODE IN MILL CAM. WHEN I RUN IT IN VRMILL 2 WITH A MICROMILL 200NS, IT GETS TO THE LINE WHERE IT SAYS Z.08 (ABOUT 12 LINES DOWN) THERE IS AN ERROR MESSAGE THAT SAYS IT MOOVE EXCEEDS LIMITS. WHAT IS WRONG?


G20
[BILLET X2.5 Y2.5 Z.125
[EDGEMOVE X0 Y0
[TOOLDEF T1 D.1875
[TOOLDEF T2 D.125
G91 G28 X0 Y0 Z0
M06 T1
M03 S1500
G90 G00 X.75 Y1.75
Z.08------------------------THIS LINE IS WHERE IT STOPS
G01 Z-.0625 F3.9
Y.75 F5.9
X1.75
Y1.75
X.75

Re: WHY DOES THIS PROGRAM NOT WORK?

Posted: Sun 30 Dec , 2012 23:48 pm
by Martin
Have you set the offsets correctly?

Re: WHY DOES THIS PROGRAM NOT WORK?

Posted: Mon 31 Dec , 2012 0:22 am
by mikep608
THANKS.

Re: WHY DOES THIS PROGRAM NOT WORK?

Posted: Mon 31 Dec , 2012 0:51 am
by mikep608
SO, GENERALLY, I SHOULD MANUALLY JOG THE MACHINE TO PART ZERO AND DEFINE THAT LOCATION AS THE OFFSET WITH EACH NEW MILLING JOB THAT IS GOING TO BE DONE. I.E. WITH EACH NEW BILLET THAT IS GOING TO BE PLACED ON THE MACHINE.

Re: WHY DOES THIS PROGRAM NOT WORK?

Posted: Mon 31 Dec , 2012 9:58 am
by Martin
If the billet is the same thickness & mounted in the same place then you don't need to alter the offset as long as you don't change tools but if it changes then you will need to. You can set up multiple sets of offsets which can be change easily if you have constants.

Re: WHY DOES THIS PROGRAM NOT WORK?

Posted: Wed 02 Jan , 2013 10:19 am
by Denford Admin
Normally you can bolt an L shaped bracket/fixture to the table so that work pieces are always placed in the same location, meaning X and Y offsets need never change.
Then you only have to worry about setting the tool offset in Z for each tool.