a blog of ideas and improvements
for tormach cnc mills
articles | for sale |
about |
contact
|
https://www.youtube.com/watch?v=GQDtVp7OWyI
Open a website via the MDI line.
Create a file with the following contents:
#!/bin/bash URL="https://tormachtips.com/cgi-bin/drill.cgi" google-chrome "$URL" exit 0 |
That URL is a drill cycle generator I made, but you can point it wherever you want.
Save the file as "M101" (no quotes, no extension) to /home/operator/tmc/configs/tormach_mill/nc_subs (actually, it can go in /gcode/subroutines which is a ton easier)
Make M101 executable by going to a terminal window (CTRL+ALT+X) and typing
chmod +x /home/operator/tmc/configs/tormach_mill/nc_subs/M101
or rather
chmod +x /home/operator/gcode/subroutines/M101
This can also be done by right-clicking the file in the linux file browser.
Reboot the machine.
Now, typing M101 from the MDI line will open chrome to whatever site you put in the script.