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

Page 53

Advertising
background image

4–5

OCI Data Server Data Items

Publication 8520-6.6 - August 1999

For example the data item NUM_FILES, which returns the number
of part programs that exist in a specific directory, uses this array
index to determine which directory you are requesting information.

NUM_FILES,2

returns the UINT value representing the number of part programs
currently residing in the protected part program directory. You can
not request information from multiple directories with the same
command. This argument can not be omitted from items that use the
CNC_DIRECTORIES argument.

SERVO_MODULES

This array index is dimensioned by the number of servo modules
available on your 9/Series. The array index always returns “1” on a
9/PC CNC. The 9/260 and 9/290 CNCs can have up to three servo
modules installed. This array index ranges from
1 to 3.

For example the data item SERVO_FW_REVISION returns the
firmware revision number for the servo control on the 9/PC card.
This item does not return revision of the servo software on the 1394
CNC serial drive. The data item uses this array index to determine
which servo module you are referencing.

SERVO_FW_REVISION,2

returns the DINT value representing the firmware revision number
for the second servo module on a 9/260 or 9/290. Refer to the
SERVO_FW_REV item description for details on the return value
format for this item.

SERVO_NUM

This array index is dimensioned by the AMP configured number of a
specific servo port on the control. This is the logical servo number
including split, dual, spindles, and adaptive depth probes. This array
index ranges from 1 to 15.

For example the data item SERVO_NAME, which returns the name
of the servo as configured in AMP, uses this array index to determine
which servo you are referencing.

SERVO_NAME,6

returns the SINT value representing the axis name of the number six
axis configured in AMP.

Advertising