Fanuc Series 15i/150i-MA (Programming) Operators Manual

17.CUSTOM MACRO PROGRAMMING B-63324EN/03
- 644 -
17.6.8 Macro Calls with M Codes with the Decimal Point
(Specification of Multiple G Codes)
By setting the first M code with the decimal point to be used for a
macro program call, the number of the first program to be called, and
the number of code and call combinations, macro calls can be defined
with multiple M codes with the decimal point.
Explanation
Using n G codes with the decimal point that start with that set for
parameter No. 7099, n custom macros with the program numbers that
start with that set for parameter No. 7100 can be called, n being the
number set for parameter No. 7101. To disable the calls, set 0 for
parameter No. 7101.
The iteration and argument specifications are the same as those for a
macro call with a M code.
[Example]
If No.7099=90000000, No.7100=40000000, and
No.7101=100,
M90000000 O40000000
M90000001 O40000001
M90000002 O40000002
:
M90000099 O40000099
the above 100 combinations of M codes and custom macro
calls (simple calls) are defined.
NOTE
1 In the following cases, all calls defined with these
settings are nullified:
1)If a value outside the valid data range is set for a
parameter.
2)If (No.7100+No.7101-1)>99999999
2 If a M code specified as described in this section is
also specified for parameter No. 7080 to 7089, the
call with parameter No. 7080 to 7089 will take
precedence.

Leave a Reply

Your email address will not be published. Required fields are marked *