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

Page 91

Advertising
background image

4–43

OCI Data Server Data Items

Publication 8520-6.6 - August 1999

ACTIVE_TOOL_GEOM_NUM
Data Type

UINT

Read/Write

Read only

Array Index

none

Control Type

Lathe/Mill/Grinder

1

1

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

The ACTIVE_TOOL_GEOM_NUM data item identifies the last tool
geometry offset number activated on the control (refer to the offset
chapter of your operation and programming manual for details).
This tool geometry number may have been activated through part
program execution, or from the execution of the OCI command
ACTIVATE_TOOL_GEOM. .

Note that an active offset number does not necessarily indicate the
offset is physically implemented on the machine. It only indicates
the number of the offset that may or may not be active depending on
the programmed operating mode of the control and the AMP
configuration on how the offset is activated. Refer to the offset
chapter of your operation and programming manual for details.

ACTIVE_TOOL_LENGTH_AXIS_LOGICAL_BIT_PATTERN
Data Type

UDINT

Read/Write

Read only

Array Index

none

Control Type

Lathe/Mill/Grinder

1

1

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

This item is used to determine what axes are currently selected as the
tool length axes in the process. It returns a bit pattern of the logical
axes in the process. If a zero is reported to the logical axis number
that axis is not currently a tool length axis. A one indicates the
logical axis is a tool length axis. For example:

ACTIVE_TOOL_LENGTH_AXIS_LOGICAL_BIT_PATTERN.1

Could return the bit pattern 00000100. This would indicate that the
third axis defined in that process is selected as the tool length axis.

Offset Data

Advertising