CREATE PROCESS

From Macros Wiki
Jump to navigationJump to search

Up

Command

CREATE_PROCESS <process type>, <process number>, <tool number>


Create a process. Once created, use the SET_PROC_DATA command to set the process type.
Then use SET_PROC_DATA again, once more for each process parameter.

Parameters

<process type>
Process type, must be one of:


MILL_DRILL
MILL_CONTOUR
MILL_ROUGH
MILL_SURFACE
MILL_THREAD_MILL
MILL_CUTOFF


LATHE_DRILL
LATHE_CONTOUR
LATHE_ROUGH
LATHE_THREAD


<process number>
Process number.
<tool number>
Tool number.

Example

CREATE_PROCESS MILL_CONTOUR, 3
Note. An alternative method to create a process is to use the LOAD_PROCESS command to load a saved process file, then change the appropriate data using the [SET_PROC_DATA]] command.


Workaround for creating Volumill process

create_process MILL_ROUGH, 1, 1
SET_CUSTOM_PROC_NAME 1, "Custom_Plugin_VoluMill"
SET_VOLUMILL_PROC_DATA 1, HighFeed, 10000
SET_VOLUMILL_PROC_DATA 1, RPM, 6000
SET_VOLUMILL_PROC_DATA 1, Entryclear, 10
SET_VOLUMILL_PROC_DATA 1, ExitClear, 10

(dirty workaround until creation of Custom Process types are available)