Communication port data items – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 69

Advertising
background image

4–21

OCI Data Server Data Items

Publication 8520-6.6 - August 1999

Important: The data items in this section apply to 9/Series controls
only.

PORT_BAUD_RATE, 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 communication baud rate for the
specified port. 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

300 Baud

1

600 Baud

2

1200 Baud

3

2400 Baud

4

4800 Baud

5

9600 Baud

6

19200 Baud

7

38400 Baud*

* For release 12 or greater.

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

PORT_BAUD_RATE, 1

selects the baud rate of 19200 for port A.

PORT_PROTOCOL, 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 communication protocol for the
specified port. The index port_id identifies the port as follows:

1 – port A
2 – port B

Communication Port

Data Items

Advertising