Hello Guest it is May 21, 2019, 03:07:43 PM

Author Topic: automatic loading of a program on startup  (Read 242 times)

0 Members and 1 Guest are viewing this topic.

automatic loading of a program on startup
« on: September 21, 2018, 07:19:27 AM »
hello I am trying to use mach 3 as a single use machine, what I need is to start mach 3 with a g code pre loaded, I have seen online someone has done it using the reset button and a macro call in the general configuration / initialization string, example:-

m777  in initialization string
m777.m1s saved in macro folder
written in m777    loadfile ("C:\Mach3\GCode\roadrunner.tap")

this doesn't work what am I doing wrong?
also I would like to switch off the shut down message when closing the program

thanks  Martin.
Re: automatic loading of a program on startup
« Reply #1 on: October 07, 2018, 05:26:17 AM »
Not sure, but you could try:
Move Roadrunner.tap from the Gcode folder to the Subroutines folder and change the loadfile string to just "Roadrunner.tap". The default directory for this is the Subroutines one.
Change the loadfile string to ("-C:\Mach3\GCode\roadrunner.tap"). There is a '-' sign at the start.