Rockwell Automation 8520-ARM2 9/Series CNC AMP Reference Manual Documentation Set User Manual

Page 99

Advertising
background image

Axis Parameters

Chapter 4

4-15

Paramacro parameter numbers are assigned to an axis based on the order in

which it is AMPed. Lets use paramacro parameter #5021 to #5029

(Coordinates of Commanded Position) as examples. Assume the

following:

This Axis

AMPed Here

Coordinate of commanded

position is shown in this

paramacro parameter:

This Axis

AMPed Here

Coordinate of commanded

position is shown in this

paramacro parameter:

X

Axis 1 (process 1)

#5021

X

Axis 4

(process 2)

#5021

Y

Axis 2

(process1)

#5022

Y

Axis 5

(process 2)

#5022

Z

Axis 3

(process1)

#5023

Now assume the same configuration as above however this time the Z axis

is a shared axis. Paramacro variables would be assigned as follows:

This Axis

AMPed Here

Coordinate of commanded

position is shown in this

paramacro parameter:

This Axis

AMPed Here

Coordinate of commanded

position is shown in this

paramacro parameter:

X

Axis 1 (process 1)

#5021

Z

Axis 3

(shared but default

is process 1)

#5021

Y

Axis 2

(process1)

#5022

X

Axis 4

(process 2)

#5022

Z

(shared but default

is process 1)

Axis 3

(process1)

#5023 (in process 1)

Y

Axis 5

(process 2)

#5023

With the above configuration a programer could be easily confused. When

the Z axis is in process one, the programmer may wrongly assume that X is

the first axis in process 2 and assume macro variable #5021 for X. This

would be incorrect. Since the Z axis is shared it is assigned paramacro

variables for both process in the order that it was AMPed. Also a

programer could assume that since Z values are attained thru #5023 in

process one, the same value #5023 would be used in process two. This

would also be incorrect. To alleviate this problem you must change the

order in which you AMP axes as follows:

This Axis

AMPed Here

Coordinate of commanded

position is shown in this

paramacro parameter:

This Axis

AMPed Here

Coordinate of commanded

position is shown in this

paramacro parameter:

X

Axis 1 (process 1)

#5021

X

Axis 3

(process 2)

#5021

Y

Axis 2

(process1)

#5022

Y

Axis 4

(process 1)

#5022

Z

Axis 5

(shared but default

is process 1)

#5023

Z

Axis 5

(shared but default

is process 1)

#5023

Advertising