Can you map a custom MDI to a keyboard shortcut?
- toddgrundman
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
17 May 2015 22:06 #58792
by toddgrundman
Replied by toddgrundman on topic Can you map a custom MDI to a keyboard shortcut?
Thanks!!
Ok. Got it. Didn't realize it would be gcode of o100 call. I was trying to issue it with "#" figuring it was a halcmd. Still learning....
My only issue is that once I suue the command using the user keys, I can not stop it. Not by "escape" or E-stop. I have minimized the risk by setting the sub routine to fail pretty quickly if it doesn't find the touch off plate. Is there any way to get escape to work? It works if I run it in the mdi tab it works, just not using the user keys.
A successful weekend. A new 16 button pendant that even works to set my z, and a second parallel port setup to handle a relay to turn the spindle on.
Again, thanks a ton for your help and patience!
Ok. Got it. Didn't realize it would be gcode of o100 call. I was trying to issue it with "#" figuring it was a halcmd. Still learning....
My only issue is that once I suue the command using the user keys, I can not stop it. Not by "escape" or E-stop. I have minimized the risk by setting the sub routine to fail pretty quickly if it doesn't find the touch off plate. Is there any way to get escape to work? It works if I run it in the mdi tab it works, just not using the user keys.
A successful weekend. A new 16 button pendant that even works to set my z, and a second parallel port setup to handle a relay to turn the spindle on.
Again, thanks a ton for your help and patience!
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
Less
More
- Posts: 7000
- Thank you received: 1175
17 May 2015 22:44 #58795
by BigJohnT
Replied by BigJohnT on topic Can you map a custom MDI to a keyboard shortcut?
You might try adding a program stop button to your pendant.
JT
JT
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
Less
More
- Posts: 24
- Thank you received: 758
17 May 2015 22:58 #58796
by ArcEye
It uses the send_mdi_command() function in Axis that all the other commands go through, so Esc should work as long as Axis has focus when it is issued.
If the Escape key on your pendant does not work, that is another matter, see if the main keyboard works.
I have an EStop button on my pendant, not really safe without it.
Replied by ArcEye on topic Can you map a custom MDI to a keyboard shortcut?
My only issue is that once I suue the command using the user keys, I can not stop it. Not by "escape" or E-stop.
It uses the send_mdi_command() function in Axis that all the other commands go through, so Esc should work as long as Axis has focus when it is issued.
If the Escape key on your pendant does not work, that is another matter, see if the main keyboard works.
I have an EStop button on my pendant, not really safe without it.
Please Log in or Create an account to join the conversation.
- toddgrundman
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
18 May 2015 00:08 #58799
by toddgrundman
Replied by toddgrundman on topic Can you map a custom MDI to a keyboard shortcut?
If I start it via the MDI tab, estop and escape both work on the pendant and the keyboard. If I run it via the user keys neither the keyboard or pendant are able to stop it with either the Escape or estop. If hit during the program, it executes them as soon as the program is finished.
I have not tried a program stop button yet.
I have not tried a program stop button yet.
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds