Hello Guest it is March 29, 2024, 07:44:42 AM

Author Topic: automatic loading of a program on startup  (Read 911 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.

Offline rcaffin

*
  •  1,052 1,052
    • View Profile
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.
OR
Change the loadfile string to ("-C:\Mach3\GCode\roadrunner.tap"). There is a '-' sign at the start.

Cheers
Roger