Owner's manual

Paramacros
Chapter 28
28-52
Use this format for calling an AMP-defined M-code macro:
M255 A_B_
Where : Is :
M255
ProgramsanAMP-defined M-code command.
A-Z
Optional argumentstatements. Maybe programmed using anyletterfromA to Z
excluding G,L,N,O,orP. Used to assign numericvalues to parametersin the
paramacro(seeTable 28.H). Argumentsmaybespecified asany valid
parametric expression.
These macros are executed only as non-modal macro.
The term AMP-defined M-code macro comes from the fact that the
M-code that calls a specific macro program is specified in AMP by the
system installer. The system installer may define M-codes that will call
paramacro programs with program names ranging from 9001 to 9009.
Refer to the system installers documentation to determine what M-codes
are used to call what paramacro program name.
When one of these AMP assigned M-codes is specified in a part program,
execution is transferred to the macro associated to that specific M-code.
M-code values for paramacro calls may range from -1 to 999. The system
installer may define a maximum of 9 AMP-defined M-codes to call
specific paramacro programs.
Important: Note the system installer may optionally disable the use of
AMP-defined G-- and M-code macro calls when in MDI mode. See the
system installers documentation to determine if this feature is functional
in MDI.
Use this format for calling an AMP-defined T--, S--, or B--code macro:
Tt;
Ss;
or
Bb;
Where : Is equal to the valu e assigned to p arameter:
t
#149
s
#147
b
#146
Important: Programming arguments are not allowed with the
AMP-defined T--, S--, or B--code macro calls.
28.6.5
AMP-Defined M-Code Macro
Call
28.6.6
AMP-Defined T-, S-, and
B-Code MacroCall