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

Page 70

Advertising
background image

4–22

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

Raw

1

Level 1

2

Level 2

3

DF1

4

Level 2

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

PORT_PROTOCOL, 1

selects DF1 protocol for port A.

Not all devices support all of these protocol options. Refer to your
hardware specification manual valid protocol types.

PORT_TYPE, 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/write the type of port for port B (note port
A is always RS–232). 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

RS232C

1

RS422A

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

PORT_TYPE, 2

selects RS422A communication hardware drivers for port B.

Advertising