17.CUSTOM MACRO PROGRAMMING B-63324EN/03
- 642 -
17.6.6 Macro Calls with G Codes with the Decimal Point
(Specification of Multiple G Codes)
By setting the first G 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 G codes with the decimal point.
Using n G codes with the decimal point that start with that set for
parameter No. 7093, n custom macros with the program numbers that
start with that set for parameter No. 7094 can be called, n being the
number set for parameter No. 7095. To disable the calls, set 0 for
parameter No. 7095.
If a negative G code is set for parameter No. 7093, the calls are modal
calls. In this case, whether the G code is equivalent to G66 or G66.1
can be specified using parameter MGE (bit 3 of No. 7000).
The iteration and argument specifications are the same as those for a
macro call with a G code.
If No.7093=900, No.7094=20000000, and No.7095=100,
G90.0 → O20000000
G90.1 → O20000001
G90.2 → O20000002
G99.9 → O20000099
the above 100 combinations of G codes and custom macro
calls (simple calls) are defined. If No. 7093 is changed to -
900, the same combinations of G codes and custom macro
calls (modal calls) are defined.
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
2 Simple and modal calls cannot be specified at the
3 If a G code specified as described in this section is
also specified for parameter No. 7060 to 7069, the
call with parameter No. 7060 to 7069 will take