
Paramacros
Chapter 20
20-15
Example 20.13
Assigning The Same Parameter Twice Using I, J, and K
G65P1001R2I3.4D5I-0.6
The above blockssetthefollowing parameters:
parameter #18 = 2 As setbythe R word.
parameter #4 =3.4As setby the 1stI word.
parameter #7 =-0.6As setby the2ndIword.
The value 5,assigned toparameter#7 by the D word,is replaced by
thevalue -0.6,assigned tothesecond Iword.
The common param eters 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 param eters
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 $PRMER R in your
PAL reference manual.
20.3.2
Common Parameters
Comentários a estes Manuais