- Posts: 17
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
SUBROUTINE_PATH = ncsubroutines:/tmp/testsubs:lathesubs:millsubs - Specifies a colon (
separated list of up to 10 directories to be searched when single-file subroutines are specified in G-code. These directories are searched after searching [DISPLAY]PROGRAM_PREFIX (if it is specified) and before searching [WIZARD]WIZARD_ROOT (if specified). The paths are searched in the order that they are listed. The first matching subroutine file found in the search is used. Directories are specified relative to the current directory for the INI file or as absolute paths. The list must contain no intervening whitespace.
USER_M_PATH = myfuncs:/tmp/mcodes:experimentalmcodes - Specifies a list of colon (separated directories for user defined functions. Directories are specified relative to the current directory for the INI file or as absolute paths. The list must contain no intervening whitespace.
A search is made for each possible user defined function, typically (M100-M199). The search order is:
1) [DISPLAY]PROGRAM_PREFIX (if specified)
2) If [DISPLAY]PROGRAM_PREFIX is not specified, search the default location: nc_files
3) Then search each directory in the list [RS274NGC]USER_M_PATH.
The first executable M1xx found in the search is used for each M1xx.
Please Log in or Create an account to join the conversation.