Table 4.4.2.3 modal call up conditions – Yaskawa YASNAC PC NC Programming Manual User Manual
Page 254

4 - 117
YASNAC PCNC Programming Manual
Chapter 4: Enhanced Level Commands
Table 4.4.2.3
Modal Call Up Conditions
(3) Microprogram call up by G code
By specifying “G***
gram number that corresponds to the number specified by G code is called up and executed.
For the G code used to call up a macroprogram/subprogram, a maximum of 24 pairs of G
codes can be set; each G code has a maximum of 3 numerical digits that are not used by the
NC. The program numbers of programs to be called up can be set corresponding to the set G
codes.
Table 4.4.2.4
Parameters for Setting the Correspondence
·
Max. 24 pairs
(4) Microprogram Call Up by M Codes
(a) Microprogram call up format
By specifying “M***
responds to the specified M code is called up and executed.
In this case, if a move command is specified in the same block, the microprogram is exe-
cuted after the completion of the axis move command.
For the M code used to call up a microprogram/subprogram, a maximum of 24 pairs of M
codes can be set excluding such M codes as M00, M01, M02, M30, and those used for
internal processing. The program numbers of programs to be called up can be set corre-
sponding to the set M codes.
Table 4.4.2.5
Parameters for Setting the Correspondence
Call Up Conditions
Mode Setting Code
Mode Cancel Code
After the execution of move command
G66
G67
Number of Pairs
Macroprogram Call Up G Code
Program No. to be Called Up
1
2
•
•
•
23
24
pm4480
(max. 3 digits)
•
•
•
•
pm4503
pm4840
(max. 5 digits)
•
•
•
•
pm4863
Number of Pairs
Macroprogram Call Up M Code
Program No. to be Called Up