Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: gautamgtm on May 29, 2014, 04:50:25 AM
-
Is it possible to control Mach3 using Command line in Windows?
I have a VBScript stored in the folder as
c:\mach3\code.m1s
I know it is possible to load a profile in Mach3 using the command
c:\mach3\mach3.exe /p smoothstepper
But then I have to run the VBScript myself using the VBScript from the UI manually.
I want to knoiw if I can do that through command line, so that I can automate that using a script.
Thanks in advance
Gautam
-
What exactly are you trying to do ??
(;-) TP
-
For controlling a machine, generally we have to load our profile in mach3 and then we can control the stepper motor through the interface or through VBscript.
But we have to first open the mach3 application and then load the VBscript by our-self.
I want to know if I can run the VBscript through command prompt, so that I need not open mach3 by myself.
Thank you in advance.
Guatam
-
IF the VB script is always the same you can create a Mcode from the script and then Call that Mcode from the Initiation line on start up. When you open Mach3 it automatically will load and run the Mcode.
Just a thought(;-) TP