CREATE PROCESS: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (11 intermediate revisions by 3 users not shown) | |||
| Line 3: | Line 3: | ||
{{Command|syntax=CREATE_PROCESS <process type>, <process number>, <tool number> | {{Command|syntax=CREATE_PROCESS <process type>, <process number>, <tool number> | ||
|description=:Create a process. Once created, use the [[SET_PROC_DATA]] command to set the process type.<br> | |description=:Create a process. Once created, use the [[SET_PROC_DATA]] command to set the process type.<br> | ||
:Then use [[SET_PROC_DATA]] again, once more for each process parameter | :Then use [[SET_PROC_DATA]] again, once more for each process parameter. | ||
|param1=<process type>|param1_desc= | |param1=<process type>|param1_desc=Process type, must be one of: | ||
|param2=<process number>|param2_desc= | <br> | ||
|param3=<tool number>|param3_desc= | :MILL_DRILL | ||
:MILL_CONTOUR | |||
:MILL_ROUGH | |||
:MILL_SURFACE | |||
:MILL_THREAD_MILL | |||
:MILL_CUTOFF | |||
<br> | |||
:LATHE_DRILL | |||
:LATHE_CONTOUR | |||
:LATHE_ROUGH | |||
:LATHE_THREAD | |||
<br> | |||
|param2=<process number>|param2_desc=Process number. | |||
|param3=<tool number>|param3_desc=Tool number. | |||
}} | }} | ||
===Example=== | ===Example=== | ||
:CREATE_PROCESS 1, 1 | :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) | |||
[[Category:Procs]] | [[Category:Procs]] | ||
Latest revision as of 21:47, 21 February 2025
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)