
Paramacros
Chapter 20
20-58
Table 20.J
WorksasaMacroCall
CALLING PROGRAM TYPE OF MACRO NESTED
1
G65,
G66,or
G66.1
AMP-G AMP-M
AMP-T
SorB
G65,G66 orG66.1 Yes Yes Yes Yes
AMPG-code Yes No Yes Yes
AMPM-code Yes Yes No No
AMP T-, S-, or B-code Yes yes No No
1
WhatYes/Nomeans:
Yes -- the macro type across the top row can be called from the macro type down the left column.
No -- themacrotype across the toprow 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, orB code (as definedby the9/SERIESsystem 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
SorB
G65,G66 orG66.1 Yes Yes Yes Yes
AMPG-code Yes No No No
AMPM-code Yes No No No
AMP T-, S-, or B-code Yes No No No
1
WhatYes/Nomeans:
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 becalled 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, orB code (as definedby the9/SERIESsystem 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 s tandard code, PAL, or some other AMP
feat ure) 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.
Komentarze do niniejszej Instrukcji