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

Page 123

Advertising
background image

5–12

OCI Data Server CNC Commands

Publication 8520-6.6 - August 1999

RESTORE_AXISCAL (no argument)

Use this command to restore into RAM the axis calibration data
currently in flash memory. This command will overwrite any axis
calibration data currently residing in RAM. Refer to your AMP
reference manual for details on when and why axis calibration
should be restored from flash.

For example:

[RESTORE_AXISCAL]

would write into RAM the axis calibration data currently stored in
backup memory. Use the command BACKUP_AXISCAL to store
axis calibration into backup.

STOP_AXISCAL (axis_number)

Use this command to disable axis calibration on the specified axis.

axis_number – Defines the logical axis number (as defined in AMP)
for the axis to disable axis calibration. This argument is an integer
(DINT). For example:

[STOP_AXISCAL(1)]

would cancel axis calibration from being applied to logical axis 1.

Once disabled axis calibration can only be enabled by re–homing the
axis.

TRANSFER_AXISCAL_FROM_PORTA (no argument)

Use this command to restore an axis calibration data table from a
peripheral device attached to the the control’s port A. This will
restore the axis calibration data to RAM.

For example:

[TRANSFER_AXISCAL_FROM_PORTA]

would read the axis calibration data from the device connected to the
control’s port A. This command will overwrite the axis calibration
data currently in the control’s RAM. This will not affect axis
calibration data stored in the control’s backup memory.

Important: This command does not apply to the 9/PC CNC.

Advertising