Paramacros – Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual

Page 645

Advertising
background image

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:

Parametric Expressions

20-1

Transfer of Control Commands

20-7

Parameter Assignments

20-12

Assigning Parameter Values

20-39

Backing Up Parameter Values

20-47

Macro Call Commands

20-48

Macro Output Commands

20-59

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 stated otherwise. The only restriction is 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:

Basic Mathematical Operators

20-2

Mathematical Function Commands

20-3

Parametric Expressions as G-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

Advertising