Figure 4.2.1.1 program copy nesting, Figure 4.2.1.2 copying in the same program number – Yaskawa YASNAC PC NC Programming Manual User Manual

Page 207

Advertising
background image

4 - 70

YASNAC PCNC Programming Manual

Chapter 4: Enhanced Level Commands

(1) Program Copy Nesting

It is allowed to specify G25 in the program that is copied. This is called program copy nesting
and up to four levels of program nesting are allowed. If the nesting level exceeds four, or the
total nesting (program copy nesting and subprogram call nesting) exceeds four, alarm “0261”
occurs.

If G25 is used with macro program call up (G65, G66), program copy nesting is possible for
up to four levels independent of macro program call up.

FIGURE 4.2.1.1 Program Copy Nesting

(a) Example 1 (copying in the same program)

Designation of a program number is not necessary when copying in a program in the same
program.

Note:

To give G25 in tape, the program number must always be specified with P.

FIGURE 4.2.1.2 Copying in the Same Program Number

Advertising