Set Up Input Buffer Function (4301) - GE PACSystems RX7i Reference Manual

Cpu
Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

6.2.7 Set Up Input Buffer Function (4301)

This function is provided for compatibility with legacy Serial I/O applications. In PACSystems releases
5.70 and later, the internal input buffer is always set to 2097 bytes. In earlier PACSystems
implementations, the internal input buffer is set to 2K bytes.
The Set Up Input Buffer function returns a success status to the COMMREQ status word, regardless of
the buffer length specified in the command block.
As data is received from the serial port it is placed in the input buffer. If the buffer becomes full, any
additional data received from the serial port is discarded and the Overflow Error bit in the Port Status
word (See Read Port Status Function) is set.
Retrieving Data from the Buffer
Data can be retrieved from the buffer using the Read String or Read Bytes function. It is not directly
accessible from the application program.
If data is not retrieved from the buffer in a timely fashion, some characters may be lost.
Example Command Block for the Set Up Input Buffer Function
VALUE
(decimal)
Address
0002
Address +1 0000
Address +2 0008
Address +3 0000
Address +4 0000
Address +5 0000
Address +6 4301
Address +7 0064
GFK-2222AD
VALUE
(hexadecimal) MEANING
0002
Data block length
0000
NOWAIT mode
0008
Status word memory type (%R)
0000
Status word address minus 1 (%R0001)
0000
Not used
0000
Not used
10CD
Setup input buffer command
0040
Buffer length (in words)
April 2018
Chapter 6. Serial I/O, SNP & RTU Protocols
213

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rsti-epPacsystems rx3i

Table of Contents