11.4 Advanced Programming

Probe Move (G31)

G31 is to be issued with an associated axis move (i.e. G31 X10). When the G31 is executed, it moves at current feedrate selected for G1 until the touch probe selected is deflected. At this point, the move is stopped, and the position where the probe touched the part is read and passed to system variables (#1060 to #1063 for X to U).

G31 is aborted if any of the following events occur:

The primitive is issued while the probe is still deflected (touching the part).

The ready signal is not present.

Hardware malfunction: Trigger signal engaged, but no position is latched.

Start pulse is issued, but probe is not ready after 2 seconds. (Only cordless probes).

Cordless probe still in "sleeping mode”.

Low battery signal becomes active (Only cordless probes).

M9387X0 Selects the Tool touch probe (X13)

M9387X1 Selects the 3-D touch probe (X12) (default)

M9387Y0 Copies Tool touch probe state (deflected or not) into a system variable (#1066)

M9387Y1 Copies 3-D touch probe state (deflected or not) into a system variable (#1066)

M9387Z0 Turns off cordless probe

M9387Z1 Turns on cordless probe

Canned cycles are available for the most common probe functions. Using the G31 primitive, parametric programming, and the M-Code described here, it is possible to write additional cycles to perform custom probing functions.

420

11 G-Code Edit, Help, & Advanced Features

Page 446
Image 446
Acu-Rite CNC 3500i user manual Probe Move G31