- GCode and Part Programs
- G&M Codes
- Easiest way to check if M100-M199 working? M100 doing nothing on LinuxCNC 2.9.2
Easiest way to check if M100-M199 working? M100 doing nothing on LinuxCNC 2.9.2
21 Feb 2024 01:40 #293881
by Jur4S
Easiest way to check if M100-M199 working? M100 doing nothing on LinuxCNC 2.9.2 was created by Jur4S
Welcome. So I tried to use M100 P0 to show a window on the screen I found a good script on the forum and pasted it to M100 with the option "allow to run as a program" try to open it with Python 3.1 and everything was fine but when I open linuxcnc with axis and do M100 P0 in MDI program just flash and doing nothing like nothing happened. Linux see the file because MDI M101 giving some error when M100 only quick flash. Any ideas on where to look for the problem and the easiest way to check if M1xx can execute from Linux MDI?
Please Log in or Create an account to join the conversation.
21 Feb 2024 02:10 #293883
by Jur4S
Replied by Jur4S on topic Easiest way to check if M100-M199 working? M100 doing nothing on LinuxCNC 2.9.2
Okay i tried:
#!/bin/bash
open /home/cnc/linuxcnc/nc_files/test.png
exit 0
And its working from MID but still my script wont.
#!/bin/bash
open /home/cnc/linuxcnc/nc_files/test.png
exit 0
And its working from MID but still my script wont.
Attachments:
Please Log in or Create an account to join the conversation.
21 Feb 2024 03:19 #293885
by Jur4S
Replied by Jur4S on topic Easiest way to check if M100-M199 working? M100 doing nothing on LinuxCNC 2.9.2
Okay, I figured it out. Simply python 3.1 by executing M100 was running fine but python3 from the terminal was not so I have to debug it a bit and now it's working just fine
Attachments:
Please Log in or Create an account to join the conversation.
- GCode and Part Programs
- G&M Codes
- Easiest way to check if M100-M199 working? M100 doing nothing on LinuxCNC 2.9.2
Time to create page: 0.066 seconds