- Posts: 48
- Thank you received: 0
M100 on subroutine hangs
1 year 1 month ago #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
Attachment not found
Attachment not found
Please Log in to join the conversation.
1 year 1 month ago #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 to join the conversation.
1 year 1 month ago #334544
by Martin.L
Replied by Martin.L on topic M100 on subroutine hangs
I have tryed both, unfortunately #!/usr/bin/env bash makes no difference. Also halcmd show signal s-index-zero-for-ATC stays false. I also tryed to call M100 from a remapped M19 but it's totally ignored, meanwhile the same sintax for similar commands like M10 or M21 works fine.
UPDATE: somehow in toolchange.ngc M1xx doesn't work, just hang the M6Tx called BUT I noticed it works inside the subroutines called by toolchange.ngc, like M10 (remapped) so I temporarly solved. What it could be the cause?
UPDATE: somehow in toolchange.ngc M1xx doesn't work, just hang the M6Tx called BUT I noticed it works inside the subroutines called by toolchange.ngc, like M10 (remapped) so I temporarly solved. What it could be the cause?
Please Log in to join the conversation.
Time to create page: 0.076 seconds
