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

Page 106

Advertising
background image

4–58

OCI Data Server Data Items

Publication 8520-6.6 - August 1999

ROTARY_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 configured as
rotary 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 configured as a rotary axis. A one indicates the logical
axis is a rotary axis. For example:

ROTARY_AXIS_LOGICAL_BIT_PATTERN.1

Could return the bit pattern 00000100. This would indicate that the
third axis in the process is configured as a rotary axis.

VIRTUAL_NAMES, disp_mode
Data Type

Integer

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 identify the name used for the virtual axis in
G16.1 and G16.2 modes. This virtual axis is typically only available
when in one of these modes. This is an an array of 4 integers. The
argument selects the integers as follows:

VIRTUAL_NAMES,1 Provides axis name for Absolute Displays
VIRTUAL_NAMES,2 Provides axis name for DTG Displays
VIRTUAL_NAMES,3 Provides axis name for Program Displays
VIRTUAL_NAMES,4 Provides axis name for Target Displays

Not including the disp_mode argument returns all four integers. The
axis name is returned as its ASCII character value. Axis names for
virtual axes are defined in AMP. This item returns all zeros if not in
G16.1 or G16.2 modes.

This data item only returns the name for virtual axes in the four
different display modes. If you also require the actual location of the
axis use the items AXIS_POSITION_ABS,
AXIS_POSITION_DTG, AXIS_POSITION_PRG, and
AXIS_POSITION_TAR with arguments for the axis number after
the last configured real logical axis number.

Advertising