beautypg.com

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

Page 78

background image

4–30

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

3 Seconds

1

15 Seconds

2

30 Seconds

3

60 Seconds

4

120 Seconds

5

180 Seconds

6

300 Seconds

7

600 Seconds

8

Unlimited (no timeout)

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

PORT_TIMEOUT_VALUE, 1

selects a timeout value of 120 seconds for port A.

RX_CHAR_PORTA(rx_char_size)
Data Type

USINT

Read/Write

Read only

Array Index

see RS232 charts

Control Type

Lathe/Mill/Grinder

The RX_CHAR_PORTA item identifies a character received on
serial port A. The control always forces a null after each character
received over this port. So if a device sends an “A” character to this
port, this item will identify two characters received, the A followed
by the null character.

RX_CHAR_PORTB(rx_char_size)
Data Type

USINT

Read/Write

Read only

Array Index

see RS232 charts

Control Type

Lathe/Mill/Grinder

The RX_CHAR_PORTB item identifies a character received on
serial port B. The control always forces a null after each character
received over this port. So if a device sends an “A” character to this
port, this item will identify two characters received, the A followed
by the null character.