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

Page 659

Advertising
background image

Paramacros

Chapter 20

20-15

Example 20.13

Assigning The Same Parameter Twice Using I, J, and K

G65P1001R2I3.4D5I-0.6

The above blocks set the following parameters:

parameter #18 = 2 As set by the R word.

parameter #4 = 3.4 As set by the 1st I word.

parameter #7 = -0.6 As set by the 2nd I word.

The value 5, assigned to parameter #7 by the D word, is replaced by
the value -0.6, assigned to the second I word.

The common parameters refer to parameters 100 to 199 and 500 to 999 for
all 9/SERIES controls except for the 9/240, which allows 100 to 199 and
500 to 699. They are assigned through the use of a common parameter
table as described on page 20-44.

Common parameters are global in nature. This means that the same set of
parameters can be called by any program, macro, subprogram, or MDI
program.

Common parameters are divided into two types:

Unsaved common parameters -- the common parameters that do not
retain their value after power to the control is lost. When power to the
control is turned back on, these parameters reset their value to zero.
Unsaved common parameters are numbers 100 - 199

Saved common parameters -- the common parameters that retain their
value even after power to the control is lost. Saved common parameters
are parameter numbers 500 - 999 for all 9/SERIES controls except the
9/240, which allows only 500 to 699.

The PAL programmer can use some of these parameters to check
parametric values with the Paramacro Range Check feature. For more
information refer to the description of $PRMQTY and $PRMERR in your
PAL reference manual.

20.3.2
Common Parameters

Advertising