
B–62093E–1/02
3. EXECUTION MACRO
PROGRAMMING
35
The code specified by compilation parameters 9045 to 9047 can be used
to call the corresponding P–CODE macro programs registered in Power
Mate.
Specifying call arguments is the same as calling macros with G code
(3.1.4).
Specify the following for parameters 9045 to 9047:
Parameter 9045 : G code to start calling
Parameter 9046 : Number of P–CODE programs
Parameter 9047 : Number of the program to be called first
For example, suppose programs are compiled with 200 specified for
parameter 9045, 100 specified for parameter 9046, and 1000 specified for
parameter 9047. When G200 to G299 are specified, 100 P–CODE
programs from O1000 to O1099 compiled on the Power Mate can be
called.
CAUTION
1
Specifying call arguments is the same as calling macros with the
G code specified by compilation parameters 9013 to 9022.
2 Continuous–state calling cannot be specified.
3 When the G code specified with compilation parameters 9013 to
9022 is specified, the specified parameters 9013 to 9022 are
effective.
Parameter 9013 = 250
Parameter 9045 = 200
Parameter 9046 = 100
Parameter 9047 = 1000
When G250 is issued with the settings above, program O9010 is
called.
3.1.8
Calling Macros with a
G Code by Specifying
the Range