Yaskawa J50M Instructions User Manual
Page 103

Note :
Macro call by arbitrary G code permits only single
nesting. Namely, the macro which was called by the
macro call using arbitrary G code or the macro call with
M code or T code does not permit another macro call by
arbitrary G code.
(4)
Macro Call by M Code
.
-
This command may call macros.
this case,
the macro is executed after the execution of the
move command in the same block. MF and M
codes are not transmitted. For Mxx, four sets
of M codes of except for MOO, MO1, M02,
through M99 may be set for the parameter.
#6130 . . . Sets M code which calls the macro of
program number 09001.
#6131
Sets M code which calls the macro of
program number 09002.
#6132 . . . Sets M code which calls the macro of
program number 09003.
#6133 . . . Sets M code which calls the macro of
program number 09004.
For macro call by arbitrary M code macro, argument
designation is available.
#6073
1 : Argument designation applicable
#6580
#6581
#6582
#6583
#6584
#6585
#6586
#6587
#6588
#6589
#6590
#6591
#6592
#6593
#6594
#6595
#6596
#6597
#6598
#6599
Notes:
O : Argument designation not applicable
code
Program No. 09005 macro calling M code
Program No. 09006 macro calling M code
Program No. 09007 macro calling M code
Program No. 09008 macro calling M code
Program No. 09009 macro calling M code
Program No. 09020 macro calling M code
Program No. 09021 macro calling M code
Program No. 09022 macro calling M code
Program No. 09023 macro calling M code
Program No. 09024 macro calling M code
Program No. 09025 macro calling M code
Program No. 09026 macro calling M code
Program No. 09027 macro calling M code
Program No, 09028 macro calling M code
Program No. 09029 macro calling M code
Program No. 09030 macro calling M code
Program No. 09031 macro calling M code
Program No. 09032 macro calling M code
Program No. 09033 macro calling M code
No. 09034 macro
M code
2.
No argument designation can be made to the M code
in the M code macro. If commanded, error “104”
ERROR (DOUBLE ADD) ] will occur.
3.
When arguments can be specified, addresses X,
Y, Z, A, B, C, U, V and W are also regarded as
arguments.
When these M codes are specified in the
macros called by the macro call using arbitrary
G code or by the macro call using M code or T
code, the macro call is not executed but is
handled as a usual M code.
(5)
M a c r o
by T Code
All the T code commands provide a macro call
mand.
T x x x x ;
With this command, the macro of program num-
ber 09000 is executed after the move command
in the same block is executed:
Transmission of T code and TF signal is not per-
formed.
Whether a T code is to be used as a
macro call command may be specified by the fol-
lowing parameter:
Parameter No.
#6134
o :
T code designation is handled as a T code.
1 :
T code designation is handled as macro call
command to call the macro of program number
09000.
When a T code is specified as a macro call command,
the value designated by T
(up to decimal 4 digits)
becomes the argument of common variable #149. Note
that the argument designation other than this is not per-
mitted. When a T code is designated in the macro called
by the macro call by arbitrary G code or by the macro
call by M code or T code, the macro call is not executed
but is handled as a usual T code.
Priority of G. M. T codes specified in the same block is :
Example
If specified as G** M**T**, only G** is valid and M and T
are ignored.
(In this case, no alarm.)
T**M**G**
in the
is,
order
does not make matter ; only G** is valid.
When the tool life control option is provided, T5-digit
command is also called by T-code macro.
At this time, T number of the group called by
command is input to #149.
The current M code macro specifications and the
M code macro specification that
argument
designation can also be switched by parameter
setting.
95