Owner's manual
Chapter
2
8
28-1
Paramacros
This chapter describes paramacros and and how to program them. Use this
table to find information:
Information on: On page:
Paramacros 28-1
ParametricExpressions 28-2
TransferofControlCommands 28-7
Parameter Assignments 28-12
Assigning ParameterValues 28-37
Macro Call Commands 28-45
Macro OutputCommands 28-55
The paramacros feature is similar to a subprogram with many added
features. Special features available with a paramacro are:
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 a id 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.
28.0
Chapter Overview
28.1
Paramacros