CNC Machinist Calculator Ultra

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

AddressWhat it does
noneNo words

How it works

Modal. Default.

Example program

M26 M42 (PART PROBE, TWO TOUCH)
G31 X2. F15. (PROBE)
#2001 = #5061 (SAVE HIT)

Example is in inch. Check offsets and clearances first.

Watch out for

Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.

Related codes

M41 · G31

M42 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucHigh gear range
Haas NGCSpindle high gear override
Okuma OSPSpindle gear range 2
Centroid CNC12 AcornSelect medium low gear range, macro
FadalHigh 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

App Store Google Play