Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual

Page 714

Advertising
background image

Paramacros

Chapter 28

28-14

Example 28.11

Assigning Using More Than One I, J, K Set

G65P1001K1I2J3J4J5;

The above block sets the following parameters:

parameter #6 = 1

parameter #7 = 2

parameter #8 = 3

parameter #11 = 4

parameter #14 = 5

If the same parameter is assigned more than one value in an argument, only
the right-most value is stored for the parameter.

Example 28.12

Assigning the Same Parameter Twice

G65P1001R3.1A2R-0.5

The above block sets the following parameters:

parameter #1 = 2.0 As set by the A--word

parameter #18 = -0.5 As set by the last R--word.

The 1st value of 3.1, assigned to parameter #18 by the R--word, is
replaced by the 2nd value set by the second R--word.

Example 28.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 1st value of 5, assigned to parameter #7 by the D--word,
is replaced by the 2nd value set by the second I--word.

Advertising