15
« on: June 11, 2018, 11:26:23 AM »
Hi all,
I just converted a shopbot CNC to MACH3. I am on the latest MACH3 version and running a CSMIO /IP as IO/Module.
So far everything works pretty well, except one issue, I am not able to solve.
I have a probe setup. It is active High (Just a simple touch plate which shortcuts via the tool). I have set up the Input for the probe in Input Pins. If I short the probe, I can see the diagnostic LED in the diag screen correctly. So far so good.
Now I added a button with a script to start touching off.
After some calculations of current Z, touch plate thickness and so on I get to move the Z-Axis:
Here is the simplified code:
Code "G1Z-20" (In reality this is a bit more sophisticated but to keep things simple...)
While IsMoving()
Wend
The issue I am having, is that Z is ALWAYS moving to -20, no matter if the probe becomes active or not. I can see in the diag screen that the probe becomes active while Z IsMoving, but the While/Wend loop is never interrupted.
Am I missing something ?
I read somewhere that this might be an issue when using the CSMIO.
There is a setting in the CSMIO plugin saying probe protection....no clue what this does
Appreciate any help :-)
Thanks guys !!!