Home › M-codes › Hurco WinMax (NC) › M42
M42 Two touch probing
Hurco WinMax (NC) M-code · Mill
Makes G31 touch, back off and touch again slowly. This is the default.
Format
M42
Addresses
| Address | What it does |
|---|---|
none | No words |
How it works
Modal. Default.
Example program
M26 M42 (PART PROBE, TWO TOUCH)
G31 X2. F15. (PROBE)
#2001 = #5061 (SAVE HIT)
G31 X2. F15. (PROBE)
#2001 = #5061 (SAVE HIT)
Example is in inch. Check offsets and clearances first.
Watch out for
- Use for setting offsets where repeatability matters.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M42 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | High gear range |
| Haas NGC | Spindle high gear override |
| Okuma OSP | Spindle gear range 2 |
| Centroid CNC12 Acorn | Select medium low gear range, macro |
| Fadal | High range RPM |
Every M-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 M42 in the app All Hurco WinMax M-codes