Position data items – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual
Page 104
4–56
OCI Data Server Data Items
Publication 8520-6.6 - August 1999
G_CODE_STATUS, g_code_group
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.
Use this parameter to identify the active G code status. the
g_code_group argument is the modal group number to identify the
active G code. The returned value is 10 times the G code value. For
example:
G_CODE_STATUS,2
returns a value of 170 indicating that G code group 2s active G code
is G17. You can not use this data item to identify non–modal (group
0) G codes. Leaving off the argument will return all of the active
modal G codes.
AXIS_PRESENT_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 present 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 pressent
in the current configuration. A one indicates the logical axis is in the
plane. For example:
AXIS_PRESENT_LOGICAL_BIT_PATTERN.1
Could return the bit pattern 00000111. This would indicate that the
first, second, and third axes are present in process one.
Position Data Items