Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual

Page 754

Advertising
background image

Paramacros

Chapter 28

28-54

Precautions must be taken when attempting to nest AMP assigned macro
calls since many combinations of these calls may not be valid. The system
installer determines in AMP the functionality of the AMP-defined macro
call when nested. These two options are available (see the system
installer’s documentation to determine which applies to your system):

Works as a macro call -- When “works as a macro call” 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 28.I.

Table 28.I

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 may be called from the macro type down the left column.

No ---- the macro type across the top row may not be called from the macro type down the left column.
When this nesting is attempted, the control will execute any other operation that would normally be
performed by that G--, M--,T--, S--, or B--code (as defined by the 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 28.J.

Advertising