6 registering the microprogram, Table 4.4.6.1 classification of macroprograms – Yaskawa YASNAC PC NC Programming Manual User Manual

Page 300

Advertising
background image

4 - 163

YASNAC PCNC Programming Manual

Chapter 4: Enhanced Level Commands

4.4.6

Registering the Microprogram

Microprograms can be registered and edited in entirely the same manner as registering and editing
normal NC programs and subprograms.

For this registration, there are no limits in the size of microprograms; NC programs, subprograms
and microprograms can be stored to the limit of the memory capacity.
The program numbers to be used when registering microprograms are classified as indicated in
Table 4.4.6.1 according to their applications.

In addition to the classification indicated below, the program numbers to be used specially for
microprograms can be set to clearly identify them from NC programs and subprograms. Whether
the program number range should be secured for microprograms or not can be set by using a
parameter.

Table 4.4.6.1

Classification of Macroprograms

To disable all of edit, input/output, and display of O8000 to O8999: pm0020 D0 = 1

To disable edit and output/input and enable display of O8000 to O8999: pmO020 D0 =
0 and pm0021 D0= 1

To disable all of edit, input/output, and display of O9000 to O9999: pm3004 D0 = 1
and pm0022 D0 = 0

To disable edit and output/input and enable display of O9000 to O9999: pm3004 D0 =
0 and pm0022 D0 = 1

For O9000 to O9999, an option is provided to disable all of edit, input/output, and display always
disregarding of the setting for prn3004 and pm0022.

Program No.

Classification by Applications

Protect

O1 to O7999

There are no restrictions on registration, deletion or
editing.

O8000 to O8999

Macroprograms can be protected from edit and dis-
play; edit protect and display protect can be set in-
dependently by using a parameter.

Protect 1

O9000 to 09999

Macroprograms can be protected from edit and dis-
play; edit protect and display protect can be set col-
lectively by using a parameter.

Protect 2

O10000 to O99999

There are no restrictions on registration, deletion or
editing

Advertising