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

Page 85

Advertising
background image

4–37

OCI Data Server Data Items

Publication 8520-6.6 - August 1999

MESSAGE_BASE-LAST-INDEX, range_num
Data Type

UDINT

Read/Write

Read only

Array Index

range_num

Control Type

Lathe/Mill/Grinder

1

1

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

The message bases for system error messages are divided into three
categories, Common Message Base (Range 1 – 200), Single Process
Control Specific Message Base (Range 201–300) and Dual Process
Control Specific Message Base (301–400). The
MESSAGE_BASE_LAST_INDEX API returns the values of the last
index in each of the message base sections mentioned above. The
range_num may be used to obtain the last index for a particular
section. For example, MESSAGE_BASE_LAST_INDEX,1 returns
the last index of the Common Message Base.

ACTIVE_PAL_MESSAGES, line_num
Data Type

String

Read/Write

Read only

Array Index

line_num

Control Type

Lathe/Mill/Grinder

Important:

This data item does not apply to 9/PC.

This item is used to pass any active PAL/Logic messages to the OCI
station. PAL/Logic messages are created by your logic program.

The line_num index is used to identify the number of the PAL/Logic
message. You must use valid PAL/Logic message line numbers for
this data item. Valid line numbers are 1, and 13-22. You can request
up to five line numbers with each DDE request. The data item is
returned as invalid if any other line numbers are used.

Advertising