WHY DOES THIS PROGRAM NOT WORK?

CNC related queries on software; firmware; DOS; Windows; parameters; programming; error messages etc.

Moderators: Martin, Steve, Mr Magoo

Post Reply
mikep608
Posts: 22
Joined: Tue 25 Dec , 2012 8:38 am

WHY DOES THIS PROGRAM NOT WORK?

Post by mikep608 » Sun 30 Dec , 2012 23:46 pm

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

Martin
CNC Guru
CNC Guru
Posts: 1906
Joined: Fri 24 Feb , 2006 17:09 pm
Location: Brighouse

Re: WHY DOES THIS PROGRAM NOT WORK?

Post by Martin » Sun 30 Dec , 2012 23:48 pm

Have you set the offsets correctly?

mikep608
Posts: 22
Joined: Tue 25 Dec , 2012 8:38 am

Re: WHY DOES THIS PROGRAM NOT WORK?

Post by mikep608 » Mon 31 Dec , 2012 0:22 am

THANKS.

mikep608
Posts: 22
Joined: Tue 25 Dec , 2012 8:38 am

Re: WHY DOES THIS PROGRAM NOT WORK?

Post by mikep608 » Mon 31 Dec , 2012 0:51 am

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.

Martin
CNC Guru
CNC Guru
Posts: 1906
Joined: Fri 24 Feb , 2006 17:09 pm
Location: Brighouse

Re: WHY DOES THIS PROGRAM NOT WORK?

Post by Martin » Mon 31 Dec , 2012 9:58 am

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.

User avatar
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?

Post by Denford Admin » Wed 02 Jan , 2013 10:19 am

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.

Post Reply