HAL pin to indicate motion or pgm running ?

More
27 Sep 2024 17:10 #310908 by slowpoke
I made this Arduino based push-button display gizmo that is mounted at eye level on the front of my mill.

When in jog mode the display has enough room to display the feed and jog rates (left image).

When in MDI mode the display is cluttered with "soft" buttons for MDI entry so not enough room to display the feed and jog rates (right image).

Want I want to do is while in MDI edit mode, hide the feed speed (as shown), however as soon as the enter key is hit to initiate motion I want to display the feed speed,  basically hide the G3, G3  soft key row and instead display feed speed in that location only while in motion.

So I need a halui pin/signal that will be active whenever there is motion to enable the dynamic speed display.

Any suggestions as to the best signal to use?
 
Attachments:

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

More
27 Sep 2024 17:28 #310910 by Aciera
Attachments:
The following user(s) said Thank You: slowpoke

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

More
27 Sep 2024 18:06 #310913 by MaHa
If you just want to check for any motion, there is 'motion.current-vel' it is OUT FLOAT, i think you can use COMP for float to bit
The following user(s) said Thank You: slowpoke

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

More
27 Sep 2024 23:25 #310927 by slowpoke

If you just want to check for any motion, there is 'motion.current-vel' it is OUT FLOAT, i think you can use COMP for float to bit
 

Works like a charm, just what I was looking for and thanks for mentioning comp, that's what I used.

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

Time to create page: 0.092 seconds
Powered by Kunena Forum