M100 on subroutine hangs
- Martin.L
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 4
05 Sep 2025 17:51 #334504
by Martin.L
M100 on subroutine hangs was created by Martin.L
I'm trying to execute an M100 from this toolchange subroutine, whithout M100 works. Here is the M100 and it works in MDI, what can cause the hang?
#!/bin/bash
# M100 Orient Spindle (Homing function)
halcmd sets s-index-zero-for-ATC true
exit 0
#!/bin/bash
# M100 Orient Spindle (Homing function)
halcmd sets s-index-zero-for-ATC true
exit 0
Attachments:
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 566
- Thank you received: 58
05 Sep 2025 21:01 - 05 Sep 2025 21:02 #334517
by langdons
Replied by langdons on topic M100 on subroutine hangs
Maybe try #!/usr/bin/env bash
(never hurts to try)
(never hurts to try)
Last edit: 05 Sep 2025 21:02 by langdons.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 19126
- Thank you received: 5282
05 Sep 2025 21:17 #334518
by PCW
Replied by PCW on topic M100 on subroutine hangs
Did the subroutine execute?
You could run
halcmd show signal s-index-zero-for-ATC
From the command line to check
You could run
halcmd show signal s-index-zero-for-ATC
From the command line to check
Please Log in or Create an account to join the conversation.
Time to create page: 0.056 seconds