Disable home buttons on input condition (avoid collision)

More
5 years 5 months ago #209312 by emcPT
Good morning,

I would like to disable the possibility to home the machine if a determined input is disable.
It would be nice to leave the home buttons "gray" in this case.

The reason is that my custom machine might be physically in a position that is dangerous to home the machine and a collision might occur during the home process that is normally unattended.
To prevent this I already have a sensor that is TRUE if all is on position for a safe home or jog. For jogging the motion.feed-inhibit that I already have connected to this sensor works as expected but this does not cover the home.

Thank you

Please Log in to join the conversation.

More
5 years 5 months ago #209332 by rodw
My first thought was we need a halui.home-disable pin but I could not find where the halui source lives.
If your custom GUI only used halui.home-all to home the machine, couldn't your new pin be and2 'ed with the screen home button pin and connected to home-all. The gui screen handler could disable buttons based on your pain value.

Please Log in to join the conversation.

More
5 years 5 months ago #209342 by phillc54

Please Log in to join the conversation.

More
5 years 5 months ago #209357 by emcPT
The motion.homing-inhibit worked perfectly !
Thanks

Please Log in to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum