I don’t think that is the case for the Feed Hold/Safety Door as the whole point of a door switch would be opening the door would open the switch which would cause a trip.
From GRBL code:
This option causes the feed hold input to act as a safety door switch. A safety door, when triggered, immediately forces a feed hold and then safely de-energizes the machine. Resuming is blocked until the safety door is re-engaged. When it is, Grbl will re-energize the machine and then resume on the previous tool path, as if nothing happened.
Without scouring over the Xcontroller schematics (if they are even available), the feed hold button may actually be a normally closed circuit and pressing it causes it to open and so when you hit resume, it’s considered closed.
They are both momentary buttons. Resume is 1 button, Feed Hold is 1 button. I found the schematic and, without P/Ns, it appears that they are both normally open but no mention how they’re handled internally to the processor.
Just throwing it out there as a possibility as that is one difference in how 1.0c operates versus 0.9j and potentially a difference between gshield/arduino versus Xcontroller.
Only from some speculative reading. I think it’s supposed to issue a Feed Hold and then stop the spindle and move it away from the work surface, then when the door closes moves the spindle back, start the spindle and do a cycle start.
It’s pretty simple. The Atmega328P has an internal active circuit (I think it’s a MOSFET) that pulls a given pin up to 5 volts when that option is programmed into the chip. It acts like a high resistance (about 37K ohms) so that you can turn the pull-up on and then use a switch to ground to pull the pin low and the internal pull-up limits the current so you don’t burn out the pin grounding it.
The same thing can be accomplished outside of the chip by hooking a resister between +5 volts and the pin. Then the resistor becomes the pull-up and limits the current through the pin when you ground the pin.
It’s a convenience offered by the chip maker to make wiring up switches easier.
Not entirely. This morning I knew nothing about G-codes and after some reading I used your macro from a previous post and added a software pause and hardware resume with follow up movement. Now I know that a lot is possible. If this works for one axis it can be done for the other axis too.
I tried to import this in Easel but that is not allowed. There is some confusion about the hard and software implementation of grbl in the X-Controller. So maybe UGS is easier to do untill Inventables adds a function in easel that does probing.
The z-probe feature in Easel will work with the original X-Carve. You need to run the machine setup under the “Machine” menu. It will get to a page asking if you have a z-probe. If you do have one that works with other software it should work with Easel. Be sure to select the advanced option on the z-probe setup page, so you can enter the height of your device (if not using the one sold by Inventables).
You will need to make sure your arduino is updated to 1.0.