Program exceeds machine minimum on axis Z?

More
29 Jan 2016 01:22 #69213 by spinnaker
I am still a big foggy on this on minimum and maximum axis error thing. I have yet to see a good explanation of what the software is comparing the program to,

I am getting the error Program exceeds machine minimum on axis Z. I am drilling to a depth of -0.059 inches or -1.4986 mm.

Is it the depth the program is using to determine the maximum? If so what setting is it comparing to to produce the error? Is it the table limits? Mine are setup just as you see below. Is this wrong?




Here is the G code

(.../CNC/PCBGcode/pcb-gcode.ulp)
(Copyright 2005 - 2012 by John Johnson)
(See readme.txt for licensing terms.)
(This file generated from the board:)
(.../Temp/test.pcb.brd)
(Current profile is .../CNC/PCBGcode/profiles/emc.pp )
(This file generated 1/28/2016 7:33 PM)
(Settings from pcb-machine.h)
(spindle on time = 3.0000)
(spindle speed = 20000.0000)
(tool change at 0.0000 0.0000 2.0000 )
(feed rate xy = F0.00 )
(feed rate z = F3.00 )
(Z Axis Settings)
( High Up Down Drill)
(0.5000 0.1000 -0.0035 -0.0590 )
(Settings from pcb-defaults.h)
(isolate min = 0.0010)
(isolate max = 0.0095)
(isolate step = 0.0020)
(Generated bottom outlines, bottom drill, )
(Unit of measure: inch)
M06 (Running Gcode)
( Tool| Size | Min Sub | Max Sub | Count )
( T01 | 0.900mm 0.0354in | 0.0000in | 0.0000in | 0 )
(Inch Mode)
G20
(Absolute Coordinates)
G90
S20000
G00 Z0.5000
G00 X0.0000 Y0.0000
M03
G04 P3.000000
M05
G00 Z2.0000
M06 T01 (0.0354 )
G01 Z0.0000 F3.00
M06
G00 Z0.1000
M03
G04 P3.000000
G82 X-0.1219 Y0.3056 Z-0.0590 F3.00 R0.1000 P1.000000
G82 X-0.1219 Y0.4056
G82 X-0.1219 Y0.5056
G82 X-0.1219 Y0.6056
G82 X-0.2719 Y0.4556
G82 X-0.2719 Y0.3556
G82 X-0.5719 Y0.3556
G82 X-0.5719 Y0.4556
G82 X-0.7719 Y0.5556
G82 X-0.6719 Y0.6556
G82 X-0.3719 Y0.6556
G82 X-0.7719 Y0.2556
T01
G00 Z0.5000
M05
M02

Please Log in or Create an account to join the conversation.

More
29 Jan 2016 02:34 #69214 by spinnaker
I figured it out. It was my tool change height.

G00 Z2.0000

I don't have 2 inches of height on my machine.

So I think I understand now what was causing the error. I set my home position. Then I touched off. The distance between the home position and the touch off point was greater than 2 inches so I got the error.

Question: Is there any way for the software to highlight the line causuing the error?

Please Log in or Create an account to join the conversation.

More
29 Jan 2016 06:43 #69217 by Rick G
In the Axis display the amount of travel is displayed. If it is beyond the possible machine travel it will be shown in red.

Rick G

Please Log in or Create an account to join the conversation.

More
29 Jan 2016 14:32 #69232 by spinnaker
Where is that displayed? I have never seen anything in red. Is there something I need to turn on?

Is there anything that shows the gcode line causing the problem?

Please Log in or Create an account to join the conversation.

More
29 Jan 2016 17:01 #69241 by cncnoob1979
I ran into the same issue as you did.

In the axis display window where the dimensions are displayed graphically, the total z axis movement will be listed [ along with x, and y]. The z axis displayed will be reverse highlighted red it if is out of you particular travel.

I hope that helps and did not confuse you.

Please Log in or Create an account to join the conversation.

More
29 Jan 2016 17:49 #69243 by spinnaker
How is it designated?

Please Log in or Create an account to join the conversation.

More
29 Jan 2016 18:00 #69244 by spinnaker
And I would still like to know if there is a way to highlight the code causing the error.

Please Log in or Create an account to join the conversation.

More
29 Jan 2016 18:08 - 29 Jan 2016 18:11 #69245 by cncnoob1979
The graphical display is altered by:

The limits you set in the INI; The z axis touch off and The tool offset you used either set in the G-code or set with tool touch-off.
I found typically it is from my G-Code program using MasterCam [Still new using it] or when I use tool length adjustments [Tool touch-off].

So if you have a z axis limit of 0-6inches set in your INI, then you used a relative distance of +2inches [Touch off to the work] you would have 4 inches of z axis remaining. If you then added a tool of 2 inches [Tool Touch-off, length ect..] you now have, 2 inches remaining. Does that make sense? I believe then the display would show total z at 4 + x {total depth of the part], in this case lets say a depth of 3 inches.

I'm still very new, so if the terminology is incorrect or I am misunderstanding / misstating, please someone correct me.

So then:

4+[3] = 7 inches. You are now out of total z axis limits and can not cut the part. The z axis in this case would show 7 for the graphical display, and would be in the RED.

EDIT: For highlighting the code, the machine will try to do as you programmed it. As far as I know there is not a way to highlight the "faulty code". As far as the machine knows, if the syntax is correct: the code is correct and will try to execute.

You would have to look at the factors that affect you depth of cut, tool offsets, tool length ect.

Hope that helped.
Last edit: 29 Jan 2016 18:11 by cncnoob1979.

Please Log in or Create an account to join the conversation.

More
30 Jan 2016 07:49 #69265 by Rick G

I figured it out. It was my tool change height.

G00 Z2.0000


Good.
Make sure under the view tab that "show extents" is selected.

And I would still like to know if there is a way to highlight the code causing the error.

Not that I know of, but
If when you receive the error message you select run anyway the machine will in fact run the code till it gets to the line that caused the problem and list the line number, You can try this on a sim setup.

Rick G

Please Log in or Create an account to join the conversation.

More
02 Feb 2016 14:16 - 02 Feb 2016 14:16 #69444 by andypugh

And I would still like to know if there is a way to highlight the code causing the error.


Sometimes.

If the graphical preview shows a "wild line" out of the limits box, then clicking on the line in the preview window will highlight the G-code line in the listing.
Last edit: 02 Feb 2016 14:16 by andypugh.

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds
Powered by Kunena Forum