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

Page 74

Advertising
background image

4–26

OCI Data Server Data Items

Publication 8520-6.6 - August 1999

The port_id index must always be used with this data item. You can
not use this index to access more than one port per request. Data for
this item is enumerated as follows:

This Value:

Indicates/Selects

0

No (disabled)

1

Yes (enabled)

2

N/A

For example assigning a value of 1 to the following item:

PORT_AUTO_FILENAME, 2

enables the auto filename feature for port B. The N/A enumeration
is only available for tape devices that do not support this feature.

PORT_STOP_AT_PROGRAM_END, port_id
Data Type

INT (enumerated)

Read/Write

Read/Write

Array Index

port_id

Control Type

Lathe/Mill/Grinder

This item is used to read/enable/disable the tape stop at program end
feature. This feature is used for tape devices. Refer to your
operation and programming manual for details on using this feature.
The index port_id identifies the port as follows:

1 – port A
2 – port B

The port_id index must always be used with this data item. You can
not use this index to access more than one port per request. Data for
this item is enumerated as follows:

This Value:

Indicates/Selects

0

No (disabled)

1

Yes (enabled)

2

N/A

For example assigning a value of 1 to the following item:

PORT_STOP_AT_PROGRAM_END, 2

enables this feature for port B. The N/A enumeration is only
available for tape devices that do not support this feature. Non-tape
devices do not have this feature and will return an error if you
attempt to read or write this data item.

Advertising