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
WHY DOES THIS PROGRAM NOT WORK?
Moderators: Martin, Steve, Mr Magoo
Re: WHY DOES THIS PROGRAM NOT WORK?
Have you set the offsets correctly?
Re: WHY DOES THIS PROGRAM NOT WORK?
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?
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.
- Denford Admin
- Site Admin
- Posts: 3642
- Joined: Fri 10 Feb , 2006 12:40 pm
- Hardware/Software: Go to User Control Panel > Profile
Enter as much information about your CNC hardware and software as you can - it makes it easier for everyone to know what you're talking about then. - Location: Sunny Brighouse
- Contact:
Re: WHY DOES THIS PROGRAM NOT WORK?
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.
Then you only have to worry about setting the tool offset in Z for each tool.