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

Page 65

Advertising
background image

4–17

OCI Data Server Data Items

Publication 8520-6.6 - August 1999

Enumeration

Result:

0

Short

1

Unsigned Short

2

Long

3

Unsigned Long

4

Quad

5

Unsigned Quad

6

Float

7

Double

8

Unsigned Character

9

ASCII Character

For example:

AMP_PARAMETER_DATA_TYPE,1

returns the data type enumeration for patch AMP parameter number
1. Use AMP_PARAMETER_NUMBER to identify the actual AMP
parameter associated with patch AMP parameter number 1.

AMP_PARAMETER_NUMBER patchAMP_num
Data Type

UINT

Read/Write

Read

Array Index

patchAMP_num

Control Type

Lathe/Mill/Grinder

1

1

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

This data item is used to identify quick edit number of a specific
patchAMP parameter. For example:

AMP_PARAMETER_NUMBER, 1

returns the value 11 indicating that AMP parameter with the quick
edit number of 11 is the first patch AMP parameter.

NUM_PATCHABLE_AMP_PARAMETERS
Data Type

UINT

Read/Write

Read

Array Index

patchAMP_num

Control Type

Lathe/Mill/Grinder

1

1

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

This data item is used to identify the quantity of available AMP
parameters that can be changed thru patch AMP. For example if the
value of NUM_PATCHABLE_AMP_PARAMETERS is 299 it
indicates that the patch AMP numbers range from 1 to 299. Use this
to identify the range for the patchAMP_num argument for the items
AMP_PARAMETER_NUMBER, and
AMP_PARAMETER_DATA_TYPE.

Advertising