| 5x template | ( Template to mill 5 fixtures ) | |
| ( work offset for 5 fixtures ) | ||
| G10 L2 P1 X0 Y0 (G54) | ||
| G10 L2 P2 X0 Y0 (G55) | ||
| G10 L2 P3 X0 Y0 (G56) | ||
| G10 L2 P4 X0 Y0 (G57) | ||
| G10 L2 P5 X0 Y0 (G58) | ||
| ( * absolute zero * ) | ||
| ( * begin tool template * ) | ||
| ( * fixture * ) | ||
| G54 | work offset = 0 | |
| G0 X#101 Y#201 | move tool to face zero | |
| G92 X0 Y0 | set tool to home | |
| ( * M98 * ) | M98 Pnnnn - P0001 to PnCols | |
| G92.1 | reset tool to fixture zero | |
| (END) | ||
| ( * fixture * ) | ||
| G55 | work offset = 0 | |
| G0 X#102 Y#202 | move tool to fixture zero | |
| G92 X0 Y0 | set tool to home | |
| ( * M98 * ) | M98 Pnnnn - P0001 to PnCols | |
| G92.1 | reset tool to fixture zero | |
| (END) | ||
| ( * fixture * ) | ||
| G56 | work offset = 0 | |
| G0 X#103 Y#203 | move tool to fixture zero | |
| G92 X0 Y0 | set tool to home | |
| ( * M98 * ) | M98 Pnnnn - P0001 to PnCols | |
| G92.1 | reset tool to fixture zero | |
| (END) | ||
| ( * fixture * ) | ||
| G57 | work offset = 0 | |
| G0 X#104 Y#204 | move tool to fixture zero | |
| G92 X0 Y0 | set tool to home | |
| ( * M98 * ) | M98 Pnnnn - P0001 to PnCols | |
| G92.1 | reset tool to fixture zero | |
| (END) | ||
| ( * fixture * ) | ||
| G58 | work offset = 0 | |
| G0 X#105 Y#205 | move tool to fixture zero | |
| G92 X0 Y0 | set tool to home | |
| ( * M98 * ) | M98 Pnnnn - P0001 to PnCols | |
| G92.1 | reset tool to fixture zero | |
| (END) | ||
| ( * end tool template * ) | ||
| ( stop of program ) | ||
| M30 | stop progran and rewind | |
| ( * subroutine * ) | each column of gcode | |
| (END) |