Yaskawa YASNAC PC NC Programming Manual User Manual
Page 256

4 - 119
YASNAC PCNC Programming Manual
Chapter 4: Enhanced Level Commands
Table 4.4.2.6
Parameter Used for Microprogram Call Up by S Code
When more than one S command is specified in a block, the first S command is checked
whether it is a microprogram call up S command or not. For the second and later S com-
mands, it is possible to select whether they should be treated as normal S commands or
disregarded by the setting for a parameter.
When a microprogram call up S command is executed, S code and SF are not output as a
normal S code. The S command is a 6-digit command.
(6) Microprogram Call Up by T Code
By specifying “T*****”, it is possible to determine whether the specified T command should
be treated as a normal T command or a microprogram call up T command by the setting for
parameter pm4889. If “pm4889 = 0”, the T command is treated as a normal T command.
When using a T command for calling up a microprogram, one required program number can
be set. In this case, the T command value is used as the argument of common variable #149.
Designation of other arguments is not allowed.
Table 4.4.2.7
Parameter Used for Microprogram Call Up by T Code
When a microprogram call up T command is executed, T code and TF are not output as a
normal T code. The T command is a 2-digit or 4-digit command.
(7) Microprogram Call Up by B Code (Second Miscellaneous Function)
By specifying “B*****”, it is possible to determine whether the specified B command should
be treated as a normal B command or a microprogram call up B command by the setting for
parameter pm4890. If “pm4890 = 0”, the B command is treated as a normal B command.
When using a B command for calling up a microprogram, one required program number can
be set. In this case, the B command value is used as the argument of common variable #146.
Designation of other arguments is not allowed.
Common Selection
Call Up Program Number
Normal S command
pm4888 = 0
Macroprogram call up S command
pm4888 max. 5 digits
pm4020 D7 = 0
Treated as normal S command
pm4020 D7 = 1
Disregarded
Common Selection
Call Up Program Number
Normal T command
pm4889 = 0
Macroprogram call up T command
pm4889 max. 5 digits