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

Page 67

Advertising
background image

4–19

OCI Data Server Data Items

Publication 8520-6.6 - August 1999

The AXISCAL_MEAS_DEV_AMOUNT item is used to read back
the correction values from the axis calibration table. Note this item
is read only. Data points are added or removed using axis calibration
command items. Indexes for this item include:

point_num – this index identifies which point you are referencing.
Points can be entered into the table as deviation or absolute. Refer to
your AMP reference manual for details. You can address multiple
points with one command. An error is returned if a point is
requested that does not exist for the specified axis. Use this item in
conjunction with AXISCAL_POINTS_USED.

axis_num – this index identifies the logical axis number for which
you are requesting axis calibration data. Axis numbers are
determined by your AMP configuration. You can only make
requests for one axis at a time. Use the axis number in this request.
Axis names are not valid.

AXISCAL_MEAS_DEV_AMOUNT,5–6, 2

returns axis calibration table values of points 5 and 6 for axis 2.

Use this item in conjunction with the AXISCAL_ABS_POS item
which returns the absolute position for axis calibration points.

AXISCAL_POINTS_USED, axis_num
Data Type

UINT

Read/Write

Read only

Array Index

axis_number

Control Type

Lathe/Mill/Grinder

1

1

Grinder Control Type is not available for Release 1 of 9/PC.

The AXISCAL_POINTS_USED item is used to read back the
number of used axis calibration points used for a selected axis. This
item has one index as follows:

axis_num – this index identifies the logical axis number for which
you are requesting the number of axis calibration points. Axis
numbers are determined by your AMP configuration. You can
address multiple axes with one command. An error is returned if a
request is made to an invalid axis name. Use the axis number in this
request. Axis names are not valid.

AXISCAL_POINTS_USED,1–4

returns the number of axis calibration points used for axes 1, 2, 3,
and 4 separated by the (TAB) character.

Advertising