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

Page 737

Advertising
background image

Paramacros

Chapter 28

28-37

There are 3 methods for assigning parameters. They can be assigned by:

using arguments (only available for local parameters)

direct assignments

using tables (view or set common parameters, view local parameters)

Assigning Parameters Using Arguments

Arguments may be used only to assign local parameter values. System,
Common, and PAL variables may not be assigned using arguments.
Usually parameters assigned using an argument are variables for a macro.
They are usually specific to the part currently being cut (for example, the
length and diameter of a shaft in a macro that turns a shaft).

The control provides 5 sets of local parameters. The first set of local
parameters (those that apply to the main program and any subprogram call)
may not be assigned using arguments. The second through fifth sets may
be assigned by their association to given words in an argument statement
located in a paramacro calling block. Table 28.H gives a listing of
arguments and their corresponding parameter numbers.

These arguments assign values to the local parameters associated with the
paramacro called in the same block.

28.5
Assigning Parameter Values

Advertising