6 amp-defined t-, s-, and b-code macro call – Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual

Page 700

Advertising
background image

Paramacros

Chapter 20

20-56

Important: Your system installer can optionally disable the use of
AMP-defined G and M-code macro calls when in MDI mode. See your
system installer’s documentation to determine if this feature is functional
in MDI.

Important: Certain AMP-defined M-code macro calls cannot be called by
other AMP-defined macro calls (see page 20-57 for details).

Use this format when calling an AMP-defined T-, S-, or B-code macro:

T t ;

S s ;

or

B b ;

Where:

Is:

t:

is equal to the value assigned to parameter #149

s

is equal to the value assigned to parameter #147

b

is equal to the value assigned to parameter #146

Important: Programming arguments are not allowed with the
AMP-defined T-, S-, or B-code macro calls.

These macros are executed only as non-modal macro.

The execution of the T-, S-, or B-code macro calls is the same as M-code
macro calls with these exceptions:

the parameter # referenced when called

the macro program called

T calls macro 9000
S calls macro 9029
B calls macro 9028

In order for the T, S, or B words to call up a macro program, these
prerequisites must be met:

The value following the word must be equal to the value stored for the
specified parameter #.

For example:

T14;

The value of 14 must have been previously stored as the value for the
parameter #149.

20.6.6
AMP-Defined T-, S-, and
B-Code Macro Call

Advertising