Disable home buttons on input condition (avoid collision)

  • emcPT
  • emcPT's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
18 May 2021 08:04 #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 or Create an account to join the conversation.

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
18 May 2021 10:52 #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.
The following user(s) said Thank You: emcPT

Please Log in or Create an account to join the conversation.

More
18 May 2021 12:04 #209342 by phillc54
The following user(s) said Thank You: emcPT, rodw

Please Log in or Create an account to join the conversation.

  • emcPT
  • emcPT's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
18 May 2021 16:29 #209357 by emcPT
The motion.homing-inhibit worked perfectly !
Thanks
The following user(s) said Thank You: phillc54, rodw

Please Log in or Create an account to join the conversation.

Moderators: newbynobiHansU
Time to create page: 0.076 seconds
Powered by Kunena Forum