
B-63783EN-1/01 11. PROGRAM COMMAND
- 1177 -
7090 Start G code used to call a custom macro
7091 Start program number of a custom macro called by G code
7092 Number of G codes used to call custom macros
[Input type] Parameter input
[Data type] Integer
[Valid data range] No.7090 : -999 to 999
No.7091 : 1 to 99999999
No.7092 : 0 to 255
Set this parameter to define multiple custom macro calls using G codes at a time.
With G codes as many as the value set in parameter No. 7092 starting with the G
code set in parameter No. 7090, the custom macros of program numbers as many as
the value set in parameter No. 7092 starting with the program number set in 7091
can be called. Set 0 in parameter No. 7092 to disable this mode of calling.
If a negative value is set in parameter No. 7090, the modal call mode is entered.
Whether the modal call is equivalent to G66 or G66.1 depends on bit 3 (MGE) of
parameter No. 7000.
Example 1:
When parameter No. 7090 = 900, parameter No. 7091 = 10000000, and
parameter No. 7092 = 100 are set, a set of 100 custom macro calls (simple calls)
is defined as follows:
G900 -> O10000000
G901 -> O10000001
G902 -> O10000002
:
G999 -> O10000099
When the setting of parameter No. 7090 is changed to -900, the same set of custom
macro calls (modal calls) is defined.
NOTE
1 When the following conditions are satisfied, all calls using these
parameters are disabled:
(1) When a value not within the specifiable range is set in each
parameter
(2) (Value of parameter No. 7091 + value of parameter No.
97092 - 1) > 99999999
2 The specification of a mixture of simple calls and modal calls is
not allowed.
3 If a range of G codes set by these parameters duplicate G codes
specified in parameter No. 7050 through No. 7059, the calls
specified by parameter No. 7050 through 7059 are made
preferentially.