4 g-code for macro call 1 to 15 – Rockwell Automation 8520-ARM2 9/Series CNC AMP Reference Manual Documentation Set User Manual
Page 464
![background image](/manuals/580257/464/background.png)
Paramacro Parameters
Chapter 21
21-10
Function
Use these parameters to define the Type II AMP-defined G-code used to
call your paramacro program. Up to 15 different G-codes may be defined
to call 15 different paramacro programs. Specify the number of the
G-code that is used to call a specific paramacro program. These G-codes
can contain up to one decimal place.
Parameter
Parameter Number
G-CODE FOR MACRO CALL 1
[700]
G-CODE FOR MACRO CALL 2
[703]
G-CODE FOR MACRO CALL 3
[706]
G-CODE FOR MACRO CALL 4
[709]
G-CODE FOR MACRO CALL 5
[712]
G-CODE FOR MACRO CALL 6
[715]
G-CODE FOR MACRO CALL 7
[718]
G-CODE FOR MACRO CALL 8
[721]
G-CODE FOR MACRO CALL 9
[724]
G-CODE FOR MACRO CALL 10
[727]
G-CODE FOR MACRO CALL 11
[730]
G-CODE FOR MACRO CALL 12
[733]
G-CODE FOR MACRO CALL 13
[736]
G-CODE FOR MACRO CALL 14
[739]
G-CODE FOR MACRO CALL 15
[742]
For example, assume that the parameter G-CODE FOR MACRO CALL
1 is set at a value of 231.6 and the parameter PROGRAM NUMBER
FOR MACRO CALL 1 is defined as program number 100.
Programming a G231.6 in a program calls the paramacro program named
100 from control memory. If, however, the TYPE OF MACRO CALL is
set to NOT USED, any values assigned to the parameter are ignored.
Assigning a decimal value of 0 gets the same result as not having a
decimal-pointed value, e.g., a G231.0 is functionally the same as a G231.
Range
1.0 to 255.9
21.3.4
G-code for Macro Call
1 to 15