
Chapter
20
20-1
Paramacros
Paramacros are similar to subprograms, with many added features. Use
paramacros to create custom cycles that may require complex
mathematical calculations, access to wheel offset, work coordinates, wheel
position data, and the ability to alter normal program execution. The major
topics covered in this chapter include:
Topic: On page:
ParametricExpressions 20-1
Transfer ofControl Commands 20-7
Parameter Assignments 20-12
AssigningParameterValues 20-39
BackingUp ParameterValues 20-47
MacroCall Commands 20-48
MacroOutputCommands 20-59
All of these features are valid in any block within a main program,
subprogram, or paramacro program. Most are permitted in an M DI
program unless stated otherwise. The only restri ction i s that no other
program commands, except other paramacro commands, can exist in a
block that contains paramacro commands. Macro and non-macro
commands cannot exist in the same program block.
This section contains the following subsections:
Topic: On page:
BasicMathematical Operators 20-2
Mathematical FunctionCommands 20-3
ParametricExpressionsasG -Codes 20-6
Parametric expressions are mathematical or logical expressions that are
evaluated in a paramacro. The following subsections cover the operators
and function commands available for use on the control. These operators
and function commands are valid in any block within a program,
subprogram, paramacro, or MDI program.
20.0
Chapter Overview
20.1
Parametric Expressions
Comentarios a estos manuales