Chapter 7
109
UM10350_PCNC770_Manual_0916A
Programming
7.5.9 Return to Pre-defined Position – G30 and G30.1
G30 uses the values stored in parameters 5181 and 5183 as the X and Z nal point to move to. The
parameter values are absolute mill coordinates in the nave machine units of inches.
G30 makes a rapid traverse move from the current posion to the absolute posion of the values
in parameters.
G30 X~ Z~ makes a rapid traverse move to the posion specied by axes including any osets,
then makes a rapid traverse move to the absolute posion of the values in parameters 5181 and/or
5183. Any axis not specied won’t move.
G30.1 stores the current absolute posion into parameters 5181-5183.
It is an error if:
• Cuer Compensaon is turned on
7.5.10 Straight Probe – G38.x
G38.2 – probe toward workpiece, stop on contact, signal error if failure
G38.3 – probe toward workpiece, stop on contact
G38.4 – probe away from workpiece, stop on loss of contact, signal error if failure
G38.5 – probe away from workpiece, stop on loss of contact
G38.6 – move away from the workpiece ignoring probe input
To perform a straight probe operaon program: G31 X~ Y~ Z~ A~
The probe will convenonally be tool #99. The rotaonal axis words are allowed, but it is beer to
omit them. If rotaonal axis words are used, the numbers must be the same as the current posion
numbers so that the rotaonal axes do not move. The linear axis words are oponal, except that at
least one of them must be used. The tool in the spindle must be a probe. It is an error if:
• The current point is less than 0.01 inch (0.254 millimeter) from the programmed point;
• G38 is used in inverse me feed rate mode;
• Any rotaonal axis is commanded to move;
• No X-, Y- or Z-axis word is used.
• Feed rate is zero
• Probe is already tripped
In response to this command, the mill moves the controlled point (which should be at the end of
the probe p) in a straight line at the current feed rate toward the programmed point; if the probe
trips, then the probe decelerates.