vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.58k stars 533 forks source link

Protect machine table #1600

Open MARIOBASZ opened 3 years ago

MARIOBASZ commented 3 years ago

A good safety measure would be to set a minimum height for the tool in use. If the height of the Z probe relative to the machine base is constant, a routine could be implemented that will interrupt the work if the Z height is too low and reports in the "height too low" style.

ZASto commented 3 years ago

A good safty measure is to reference your Z axis when doing cutouts to machine bed.

MARIOBASZ commented 3 years ago

@ZASto , My reasoning is to protect from human errors (I make too many ...) Suppose I reference Z for base = -20 By mistake, I write G0 Z-24 Crash, I broke another end mill

ZASto commented 3 years ago

Why would you enter negative Z values if you are referenced to machine bed? Any negative Z will end in F"#$%& bed.

MARIOBASZ commented 3 years ago

The Gcode could have a lower value than the bed, or I am reasoning wrong.

ZASto commented 3 years ago

For any axis, g-code can have a value between -∞ to +∞. If you write g-code manually, you can always plow through your bed. Z referencing is something that you have to figure out yourself and to be consistent. When I play with 2 1/2 D reliefs in wood, Relief is referenced to the top of the material. For cutout, tool is referenced to the machine bed so that Z0 will not damage the bed (besides I'm using a sacrificial board on machine bed, just in case). For generating g-code I'm using Vectric Aspire. Couple of clicks more saves the machine bed.