Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 147

Advertising
background image

5–36

OCI Data Server CNC Commands

Publication 8520-6.6 - August 1999

BACKUP_COM1_PARAMETERS ("Filename_string")

This command tells the control to create a backup program of all the
common 1 paramacro parameters (#100 – #199). Refer to your
operation and programming manual for details.

The argument for this command is the filename_string (as discussed
on page 6–19) which will specify the directory and filename for the
backup program. The target directory for this backup program must
be either the MAIND or PROTD. You cannot create the backup
program on the remote OCI hard drive. If the filename specified
with this argument does not exist on the CNC the control will create
it (assuming proper syntax is followed in the command). If the
filename already exists, the control will abort the backup and send an
error return code.

For example:

[BACKUP_COM1_PARAMETERS (“maind:com1back.ppg”)]

would create the backup program on the CNCs main directory and
name the backup program com1back.

BACKUP_COM2A_PARAMETERS ("Filename_string")

This command tells the control to create a backup program of all the
common 2A paramacro parameters (#500 – #519). Refer to your
operation and programming manual for details.

The argument for this command is the filename_string (as discussed
on page 6–19) which will specify the directory and filename for the
backup program. The target directory for this backup program must
be either the MAIND or PROTD. You cannot create the backup
program on the remote OCI hard drive. If the filename specified
with this argument does not exist on the CNC the control will create
it (assuming proper syntax is followed in the command). If the
filename already exists, the control will abort the backup and send an
error return code.

For example:

[BACKUP_COM2A_PARAMETERS (“maind:cm2Aback.ppg”)]

would create the backup program on the CNCs main directory and
name the backup program cm2aback.

Advertising