Paramacros – Rockwell Automation 8520 9/Series CNC Lathe User Manual
Page 675
![background image](/manuals/579999/675/background.png)
Chapter
28
28-1
Paramacros
The Paramacrost feature is similar to a subprogram with many added
features. Special features available with a paramacro include:
Computable variables
Computable word address fields in any block type
Variable to and from PAL
Access to certain modal system parameters for computations
Arithmetic operators and expressions for computations
Conditional Branching, Subroutines, and Subprogram calls based upon
logical function results
Parametric programs, Subroutines, and Subprograms
Parametric Autocycles
User-definable prompts to aid in program generation and execution
Prompting of parameters for main program execution
Calculator function under prompt edit
All of these features are valid in any block within a main program,
subprogram, or paramacro program. Most are permitted in an MDI
program unless otherwise stated; the only restriction being that no other
program commands, except other paramacro commands, may exist in a
block that contains paramacro commands. Macro and non-macro
commands may not exist in the same program block.
This chapter describes paramacros and and how to program them. Use this
table to find information:
Information on:
On page:
Parametric Expressions
28-2
Transfer of Control Commands
28-7
Parameter Assignments
28-12
Assigning Parameter Values
28-34
Backing Up Parameter Values
28-41
Macro Call Commands
28-42
Macro Output Commands
28-52
28.0
Chapter Overview