Rockwell Automation 8520-ARM2 9/Series CNC AMP Reference Manual Documentation Set User Manual
Page 469

Paramacro Parameters
Chapter 21
21-15
Use these AMP parameters to modify how the control reacts when a macro
call is made by a G--, M--, T--, S--, or B--code. Specifically they are
intended to give more definition to the operation of the codes when
conflicts occur between other features and these G--, M--, T--, S--, or
B--codes. These parameters give more control over the nesting of some of
these macro calls and allow these calls to be prohibited in MDI.
Function
This parameter impacts the use of AMP-defined G- and M-codes that call a
paramacro program (see previous parameters in this chapter) while in MDI
mode. The two options for this parameter are:
Works as a macro call -- When “works as a macro call” is selected, G- or
M-codes that are assigned in AMP to call a paramacro will call that
paramacro. This is, of course, provided that the macro being called is a
valid paramacro number and no nesting violations occur (refer to the
parameter Func of called AMP macro). Any other operations that
would normally be performed by that G- or M-code (as defined by the
control as a standard code, PAL, or some other AMP feature) are
ignored and are not performed.
Works as the system defined code -- When “works as the system
defined code” is selected, any attempt to call an AMP-defined G- or
M-code macro call in the MDI modify is ignored. If that G- or M-code
is defined by some other feature (either the control as a standard code,
PAL, or some other AMP feature), it is executed as defined by that
feature. If the G- or M-code is not defined by one of these features, the
system generates an error indicating that an invalid code has been
programmed (even if that code is defined as a paramacro call).
Parameter
Parameter Number
Func of AMP-defined G/M in MDI
[12]
Range
Selection
Result
(a)
works as a macro call
(b)
works as the system-defined code
21.5
Calling AMP-defined G- , M- ,
S- , T- , or B- codes
21.5.1
Func of AMP-defined G/M in
MDI