1781
General Mach Discussion / Re: edge finding/2.5D probing
« on: May 14, 2009, 05:01:38 AM »
pilotjunky - thanks for the feedback - hope you get some good results. I'll take a look at cnc4free. Thanks.
markhammill - Have you successfully installed and run Start Menu / All Programs / Probe Utilities/ ProbeCtrl which apart from other things provides init values for probe25D.tap. The reason for your error is that there appears from what you say to be no values in the Mach vars - you can check this out via the Mach menu Operator / Gcode var monitor.
stevespo - Looks to me like the macros are being run at startup - and they shouldn't be. As you know - when you load a gcode file into Mach, it is processed to calculate the path. Often however it's desirable to NOT have Mach run macros during this phase. A way to achieve this is to set the checkbox in Config / general config / ignore M calls while loading. Another way is to build into the macro the test "isLoading". I've chosen to use the latter with the intention of making things easier for the user which certainly used to work fine. I'm wondering if something's changed in Mach and "isLoading" is maybe not working - but that's just a guess at the moment. Try setting the "ignore M calls" checkbox to see if that helps.
markhammill - Have you successfully installed and run Start Menu / All Programs / Probe Utilities/ ProbeCtrl which apart from other things provides init values for probe25D.tap. The reason for your error is that there appears from what you say to be no values in the Mach vars - you can check this out via the Mach menu Operator / Gcode var monitor.
stevespo - Looks to me like the macros are being run at startup - and they shouldn't be. As you know - when you load a gcode file into Mach, it is processed to calculate the path. Often however it's desirable to NOT have Mach run macros during this phase. A way to achieve this is to set the checkbox in Config / general config / ignore M calls while loading. Another way is to build into the macro the test "isLoading". I've chosen to use the latter with the intention of making things easier for the user which certainly used to work fine. I'm wondering if something's changed in Mach and "isLoading" is maybe not working - but that's just a guess at the moment. Try setting the "ignore M calls" checkbox to see if that helps.