>From my lathe .ini file:... |
>From my lathe .ini file: |
I use M102 in my G-code files for opening the collet closer. |
I use M102 in my G-code files for opening the collet closer. |
Does this mean the external program must be named M100-199?
What is meant by PROGRAM_PREFIX ? pathway?
I assume the external program can be in any supported language or are we talking G code?
Yes > What is meant by PROGRAM_PREFIX ? pathway?
>From my lathe .ini file:
... you can see that the M1xx files will need to be two directories up from
the current directory and in nc_files. I believe that makes
it /home/user_name/emc2/nc_files. You can change PROGRAM_PREFIX if you want.
> I assume the external program can be in any supported language or are
we talking G code?
My guess is that you can not execute G-code, but bash, python, C or any
non-real-time executable would work. I use a bash script to create
missing g-codes for my lathe, such as M102 Collet Open: file = /home/kwallace/emc2/nc_files/M102