Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual
Page 702

Paramacros
Chapter 20
20-58
Table 20.J
Works as a Macro Call
CALLING PROGRAM
TYPE OF MACRO NESTED
1
G65,
G66,or
G66.1
AMP-G
AMP-M
AMP-T
S or B
G65, G66 or G66.1
Yes
Yes
Yes
Yes
AMP G-code
Yes
No
Yes
Yes
AMP M-code
Yes
Yes
No
No
AMP T-, S-, or B-code
Yes
yes
No
No
1
What Yes/No means:
Yes -- the macro type across the top row can be called from the macro type down the left column.
No -- the macro type across the top row cannot be called from the macro type down the left column.
When this nesting is attempted, the control executes any other operation that would normally be
performed by that G, M, T, S, or B code (as defined by the 9/SERIES system as a standard code, PAL,
or some other AMP feature) and the paramacro call normally made by that code is not performed.
Works as the system defined code -- When “works as the system
defined code” is selected, G-, M-, T-, S-, or B-code macro calls that are
nested and called by other G-, M-, T-, S-, or B-code macro calls allow
nesting as shown in Table 20.K.
Table 20.K
Works as the System Defined Code
CALLING PROGRAM
TYPE OF MACRO NESTED
1
G65,
G66,or
G66.1
AMP-G
AMP-M
AMP-T
S or B
G65, G66 or G66.1
Yes
Yes
Yes
Yes
AMP G-code
Yes
No
No
No
AMP M-code
Yes
No
No
No
AMP T-, S-, or B-code
Yes
No
No
No
1
What Yes/No means:
Yes ---- the macro type across the top row can be called from the macro type down the left column.
No ---- the macro type across the top row cannot be called from the macro type down the left column.
When this nesting is attempted, the control executes any other operation that would normally be
performed by that G, M, T, S, or B code (as defined by the 9/SERIES system as a standard code, PAL,
or some other AMP feature) and the paramacro call normally made by that code is not performed.
Important: If the nesting is invalid (No in one of the above tables),
the control executes the programmed code as some other function (as
defined by the system as a standard code, PAL, or some other AMP
feature) and the macro call is not made. If no other function is found
that uses that G, M, T, S, or B code, the control generates an error.