beautypg.com

Addressing assigned parameters, Backing up parameter values – Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual

Page 744

background image

Paramacros

Chapter 28

28-44

Addressing Assigned Parameters

Once you assign a parameter you can address it in a program:

Example 28.16

Addressing Assigned Parameters

#100=5;

#105=8;

G01X#100+5 ;

Axis moves to 10.

G01x[#100+5]

Axis moves to 8

You can also indirectly address parameters with other parameters

Example 28.17

Indirectly Addressing Parameters

#100=101

#101=2.345

G01 X#[#100];

X axis moves to the
contents

of #100 which

is #101. #101 has the
value of 2.345.

Backing Up Parameter Values

You can back up the contents of COM1, COM2A, or COM2B individually,
or all of these simultaneously, by using the BACKUP softkeys.

(softkey level 2)

LOCAL

PARAM

COM-1

PARAM

COM-2A

PARAM

COM-2B

PARAM

BACKUP

COM1

BACKUP

COM2A

BACKUP

COM2B

BACKUP

ALL

To back up parameters:

Press this softkey:

#100 -- 199

{BACKUP COM1}

#500 -- 519

{BACKUP COM2A}

#520 -- 999

{BACKUP COM2B}

all of the above

{BACKUP ALL}

1.

Press the appropriate BACKUP softkey.

The system prompts you for a file name.