Figure 4.2.1.3 copying another program number – Yaskawa YASNAC PC NC Programming Manual User Manual

Page 208

Advertising
background image

4 - 71

YASNAC PCNC Programming Manual

Chapter 4: Enhanced Level Commands

(b) Example 2 (copying program of another program number)

Note

If M99 is specified to execute jump to another level, program enters endless loop and cannot

exit this loop.

FIGURE 4.2.1.3 Copying Another Program Number

(2) Supplements to the Program Copy Function

If the NC is forcibly reset due to the occurrence of an error or

M30 or M02 is executed to

reset the NC during the execution of G25, the program returns to the beginning of the pro-
gram in level 0.

If a numeral of four digits or less is specified for P or Q, it is regarded as a sequence num-
ber and the sequence number search is executed in the program of the present program
number.

If M98 is specified in the G25 block, or if M99 is specified in the block designated by
“p2” and “q2”, alarm “0602” occurs.

If M99 is specified in a block in the range of blocks beginning with “p2” block and ending
with “q2” block, alarm “0264” occurs.

When calling up the program copy function in the canned cycle mode, it is not allowed to
specify the program copy commands with the canned cycle call up command in the same
block. If specified, the alarm “0170” occurs.

The program copy commands can be specified in the canned cycle mode (G70 to G72,
G73, G76, G81 to G89).

Advertising