$14 Setting Safety Door bit invert doesn't stick #23
Replies: 2 comments 10 replies
-
Have you enabled the safety door input handling? It is disabled by default. Lines 73 to 77 in edd243a If not the setting will not stick as inverting the input might otherwise cause problems. |
Beta Was this translation helpful? Give feedback.
-
Coming a bit late to this. Was playing with enabling Door and ran into this. grblHAL after Feb 2021 no longer allows setting bits in $14 that don't an associated capability. (I may be describing this incorrectly but that is the effect I am seeing). I wanted to set Door to NO from it's default NC so I can play with it on a bare Teensy. But doing that with a build with door disabled didn't work. While I get that ioSender might want to disallow setting the bits so as not to confuse uses about a non-existent capability, even using a terminal app, the bits don't get set. And of course, grblHAL refuses to allow $nn=mm with the door "open" so there is no way to change it to NO via a sender/terminal app. To be clear in most cases you just short the door input to ground and everyone is happy. But on my Pro board I need 12V to make the I/O work and that wasn't convenient at the time. I think this is a problem for someone setting up a grblHAL system - bench testing is common and that may not have 12V initially. So, my question is why does grblHAL need to prevent unused bits from being set? |
Beta Was this translation helpful? Give feedback.
-
On ioSender 2.0.33 Settings: Grbl tab as well as in the console tab of Lightburn, setting $14=78 should result in Feed Hold, Cycle Start, Safety Door, and Estop signals inverted. After saving and then reloading, the setting reverts to $14=70 with the Safety Door signal invert reverting to default (non-inverted) value. Tried setting Feed Hold, Cycle Start, Estop, and Reset to invert ($14-71) and after reloading that stayed correctly at $14=71. Adding Safety Door inverted so $14=79 and after reloading it reverted back to $14 = 71 so it seems to be specific to the Safety Door bit.
Edit: This is using the current master branch of the grblHAL iMXRT1062 repo with SD Card and Ethernet enabled
Beta Was this translation helpful? Give feedback.
All reactions