Home › G-codes › Hurco WinMax (NC) › G165
G165 Probing part setup subprograms
Hurco WinMax (NC) G-code · Mill
Calls built in probe routines that set G54 like the conversational probe block. P1000 to P5000 store points, then P6000 probes.
Format
G165 P X Y [Z] [A]
Addresses
| Address | What it does |
|---|---|
P1000 | X and Y reference locations |
P2000 P3000 P4000 | X, Y and Z start locations |
P5000 | Skew start location |
P6000 X Y A | Run probing. X Y are plus 1 or minus 1 directions, A1 X skew, A2 Y skew |
How it works
Non modal.
Example program
T20 M06 (SPINDLE PROBE)
G165 P1000 X0. Y0. (REFERENCE)
G165 P2000 X1. Y8. Z-10. (X START)
G165 P3000 X4. Y1. Z-10. (Y START)
…
G165 P1000 X0. Y0. (REFERENCE)
G165 P2000 X1. Y8. Z-10. (X START)
G165 P3000 X4. Y1. Z-10. (Y START)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Sets part zero for G54 only.
- Run P1000 to P5000 again before each P6000. P6000 clears them after it runs.
- Needs the part probe option.
Related codes
Every G-code for Hurco WinMax (NC) in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G165 in the app All Hurco WinMax G-codes