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

Page 121

Advertising
background image

5–10

OCI Data Server CNC Commands

Publication 8520-6.6 - August 1999

EXIT_AXISCAL_MODIFY_MODE (no argument)

When this command is executed the axis calibration tables are closed
for editing. You must issue this command when your edits to the
axis calibration table are complete. This command will close the
axis calibration data tables.

For example:

[EXIT_AXISCAL_MODIFY_MODE]

closes the axis calibration table. Note this command does not send
the axis calibration table to backup memory.

INITIALIZE_AXISCAL_TABLE (axis number, calibration_type,

calibration_start)

Use this command to initialize the axis calibration table after you
have opened it for editing. Typically the table is only initialized the
first time it is opened for editing. This command determines how
axis calibration points are entered.

axis_number – Defines the logical axis number (as defined in AMP)
for the axis calibration table being modified. This argument is an
integer.

calibration_type – Defines how points will be defined. Select
between:

0 – measurement (points referenced from zero)
1 – deviation (points referenced from previous point)

calibration_start – Defines if the first point is:

0 – Most + on the axis
1 – Most – on the axis

Refer to your AMP reference manual for details on these different
axis calibration measurement types.

For example:

[INITIALIZE_AXISCAL_TABLE(1,0,1)]

initializes the axis calibration table for the first logical axis setting,
referencing all points from the same machine zero point and
indicating the first point is the most negative point on that axis.

Advertising