Setting up custom G-code and M-code
On frequently used proograms, you can shorten the call format, this will
simplify the process of writing a program on the machine.
[!WARNING] Before changing any system parameters on your machine, I recommend saving the current settings somewhere.
1 part
Go to the OffSet menu, set the value 1 in
the PARAMETER WRITE
2 part
[!NOTE] Parameter 3202 #4 NE9 is access control to the 9000th macro:
- value 0 - unlock access
- value 1 - block access
Go to the Sistem menu, enter the parameter number and press
NO. SRH
Unlock access to edit 9000 macros.
3 part
Custom G-code
[!NOTE] Parameters 6050-6059 are setting a custom G-code
Each parameter has its own program number.
For example: calling G201 will start program O9013
| Parameter | Program number | Your custom G-code |
|---|---|---|
| 6050 | O9010 | |
| 6051 | O9011 | |
| 6052 | O9012 | |
| 6053 | O9013 | 201 |
| 6054 | O9014 | 224 |
| 6055 | O9015 | 225 |
| 6056 | O9016 | |
| 6057 | O9017 | |
| 6058 | O9018 | |
| 6059 | O9019 |
Custom M-code
[!NOTE] Parameters 6071-6089 are setting a custom M-code
Each parameter has its own program number.
For example: calling G231 will start program O9023
| Parameter | Program number | Your custom G-code |
|---|---|---|
| 6080 | O9020 | 230 |
| 6081 | O9021 | 201 |
| 6082 | O9022 | 202 |
| 6083 | O9023 | 231 |
| 6084 | O9024 | |
| 6085 | O9025 | |
| 6086 | O9026 | |
| 6087 | O9027 | |
| 6088 | O9028 | |
| 6089 | O9029 |
4 part
Upload your macros to the folder //CNC_MEM/USER/LIBRARY/
5 part
Block access to editing 9000th macros.
6 part
Go to the OffSet menu, set the
PARAMETER WRITE field to 0
[!WARNING] Before saving any program to the LIBRARY folder, test its functionality using the standard call to the G65P... subroutine
Compatibility
- Milling - FANUC Series Oi-MODEL F
- Turning - FANUC Series Oi-MODEL F