2 hole machining pattern cycles (g70, g71, g72) – Yaskawa YASNAC PC NC Programming Manual User Manual

Page 169

Advertising
background image

4 - 32

YASNAC PCNC Programming Manual

Chapter 4: Enhanced Level Commands

It is possible to call a subprogram while in the canned cycle mode by specifying the
subprogram call command (M98). The canned cycle can be continuously executed in
the called subprogram. When a subprogram is called, the P command (dwell time)
used for a canned cycle is temporarily destroyed by the P command (jump destination
program number) specified with M98. However, the previously specified P value is
recovered when jump to the sub-program is completed.

The limit on the nesting level (up to 4 levels) of M98, command from punched tape,
etc, and other requirements are the same as those applicable to the modes other than
the canned cycle mode. An alarm occurs if M98 and canned cycle commands are
specified in the same block.

An L command specifying the number of repetitions of a canned cycle is non-modal.
However, there is a special case in which an L command is saved temporarily. As in
the example of programming given below, if only an L command is specified in a
block, it is saved until it is actually executed.

Example of Programming

G91 G81 X10. R-20. Z-30. F100;

L3;

The canned cycle is not executed since this block does not
include X, Y, Z, a, or R.

L3 is saved.

X20;

G81 is executed three times according to the L3 command
which has been saved. After the execution of the G81 cycle
three times, L3 is deleted.

A canned cycle is canceled either when G80 or a G code in 01-group is specified. If a
G code of 01-group is specified with a G code calling up a canned cycle, alarm “0170”
occurs. However, if G80 is specified as a G code to call up the canned cycle, alarm
does not occur, but the specified operation is executed.

An F command specified in a canned cycle remains valid even after the cancellation of
the canned cycle.

If an address search is executed during the execution of a canned cycle while a cycle is
suspended (block stop state), an alarm occurs. Address search during block stop state
specified in a program is allowed. If more than one cycle is executed by the designa-
tion of an L command, address search attempted at the completion of a single cycle
causes an alarm.

It is possible to call up a canned cycle while in another canned cycle already called up.
If address data are omitted in a newly specified canned cycle calling block, the modal
data of that address are used.

4.1.2

Hole Machining Pattern Cycles (G70, G71, G72) *

The hole machining pattern cycle permits hole machining position data to be entered by the radius
and angle. The function converts the data into the position data in the Cartesian coordinate sys-
tem to execute positioning. The function supports three pattern cycles; bolt-hole circle, arc, and
line-at-angle. These pattern cycles can be used in the canned cycle mode.

Advertising