

You can even setup User DRO's on the screen set to enter preset and pierce height etc.Īll you do then is alter the Sheet cam post so it enters the Macro name in the G-code at the appropriate point or points needed. With this setup you don't run the risk of falling foul with offsets and can have much more flexabilty and control of what happens.
Sheetcam wont let me edit plus#
Plus the other thing which can cause problems is that G92 only works with Absolute moves so any incremental moves will use the WORK coordinate offset.Ī much better way is to Define a user Macro which has the G31 move to find material height which then Zero's the WORK coordinate DRO's, then move to any heights you'd like. When you use G92 nothing moves it just defines a new Point which you then work from. So even if you load another G-code file the previous offsets still apply if a G92.1 hisn't given before closing the file. G92 Coordinate Offsets are offsets from currant WORK coordinate point and stay in affect until cancelled. Work coordinate Zero can be anywhere on the Machine. When you Ref home you are defining the MACHINE Zero coordinate position which is fixed and never changes unless you move the Switches. What you need to understand is there are 2 coordinate systems, WORK and MACHINE. No offsets are not cancelled with Ref all home this is one of the dangers with them. Yes will work and yes there are better ways.

I gather doing a home-all would clear any offsets or not?
Sheetcam wont let me edit manual#
Maybe not important as every job will use the probe/offset method surely it will get set/reset many times during a job and a retained offset would only matter if I were then to run a manual part after an auto probed run? Is there a way to have g92.1 run at then of every cycle? This can lead to unexpected movements and crashes.!! To be honest using coordinate offsets is not the best way to do it and can easily get you in trouble with other g-code files because they stay in affect if not cancelled. 10mm we started with plus 5mm the offset moved away from it's zero Offset coordinate. Now you'll endup with 15mm positive in the Dro which is the true WORK coordinate. Now type G92 z0 and you'll see the Z dro change to 0 now type G0 z5 which will simulate movement 5mm positive. Next Zero the Work coordinates by zeroing the DRO's then jog a set distance away say 10mm positive. First make sure any Offsets are cancelled by typing G92.1 If you cancel the Offset by using G92.1 you'll see the True WORK coordinate. It just applies an offset Coordinate from this WORK coordinate. It doesn't actually Zero the DRO or should say Set the Zero WORK coordinate. (g92 z0) then Moves 25 away(g0 z25) resets the offset coordinate to Zero at this point (g92 z0) then moves to 1mm above this (g0 z1). What it's doing is using the probe to find the material surface and where ever that coordinate falls in the current WORK Coordinate system (G54) then it sets an offset coordinate value. Ok well G92 is an Offset Coordinate from the exisiting coordinate point. This is from sheetcam, will that not work in mach3? The post processor I have been looking at uses g31 z -100 to drop the torch until the probe switch changes state, g92 z0.0 to zero, then g00 z25.00 to raise it by the preset distance, g92 z0.0 to zero the z axis and g00 z1.00 to preset the pierce height. If you want it to do this you have to alter the Homing script. It will also ignore the Probe input while homing but that shouldn't be a problem.Īlso by default Mach homes each Axis individual one at a time when you press "Ref All Home" they won't all go at same time. Regards "home all" then Mach treats homing separate and just watches the assigned pin, by that I mean it will not watch limits etc unless specificly told to do so.
Sheetcam wont let me edit code#
Ok that's easy enough but if you want DRO's Zeroing etc then it will need to go into a Macro file because you'll need some VB code to do it and Mach doesn't support VB directly in the G-code file. I also want to retain the top limit switch for the "home all" feature in mach.

I have had a look inside the post code for the mach plasma with THC option in sheetcam and it has the code for G31 seeking so it just needs some options altering and the floating head switch wired to the probe input I think.īasically all I want is to have the torch seek the metal at the start of each cut then raise to pierce height and start.
