Owner's manual
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. T he 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
WorksasaMacroCall
CALLING PROGRAM TYPE OF MACRO NESTED
1
G65,
G66,or
G66.1
AMP-G AMP-M
AMP-T
SorB
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--,orB--code Yes yes No No
1
WhatYes/Nomeans:
Yes ---- the macro ty pe across the top row m ay be called from the macro type down the left column.
No ---- the macro type across the top row may not becalledfromthemacrotypedowntheleftcolumn.
When this nesting is attempted, the control will ex ecute any other operation that w ould normally be
performed by thatG-- , 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.