On Thu, 24 Feb 2022 at 01:42, Ralph Stirling <[email protected]> wrote: > > If you wanted totally automated, you could use linuxcncrsh.
I don't think that linuxcncrsh is appropriate here, that is for remote connection. I would plan on running the controlling script on the actual controller PC. It looks like what I intend can be done with the python interface: program_open(string) - open an NGC file. auto(int[, int]) - run, step, pause or resume a program. Though the documentation on "auto" could afford to be a bit more forthcoming on what the parameters do, or are for... (Looking at emcmodule.cc it appears that the first integer is the command: #define LOCAL_AUTO_RUN (0) #define LOCAL_AUTO_PAUSE (1) #define LOCAL_AUTO_RESUME (2) #define LOCAL_AUTO_STEP (3) #define LOCAL_AUTO_REVERSE (4) #define LOCAL_AUTO_FORWARD (5) And the optional second integer is the start line for run-from-line ) -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
