3
« on: May 04, 2016, 10:48:33 PM »
Hello, My name is Ben and i am currently sub-contracting for a company that wants me to write a variety of programs using g-code.
Since the mach3 g-code environment does not support the loops that i need to run i have resolved to writing a vbScript file and running code from that using the "Code "codeName" " function.
I have written some of the programs so that they work correctly using the mach3 built in vbScipt editor, when i click the play button it even runs on the machine.
I saved the file as M101.m1s and placed it in the directory "Mach3\macos\Vintage_Custom\M101.m1c" (Vintage_Custeom has been set as the working directory when mach 3 starts.)
When i call M101 from code my understanding is that if not found in the default mach3 defined M-Codes it will look in "Mach3\macos\Vintage_Custom\" to find it.
My Issue:
When my G-Code reached the line where i write M101 nothing happens, the machine runs as if the line never executed.
Any Insite?