CP6100 I/O Process Programming Manual
Using CP6100: Programming
• READ delivers unsolicited messages from the protocol task to
the application. For example, in the case of a serious line
quality problem, an application might want to know, even if no
request is pending. To be sure to receive such information,
an application keeps a READ call outstanding. SOME PROTOCOLS
DO NOT SUPPORT THIS FEATURE.
S5064-006
String
Intege
r
String
Function
, Like
Send Text
Modifier
to
Function
Request ID
, Unique for All Pending
Requests 1
< reqid < 32767
TextOut
, Size of Text Field in Bytes
TextIn
, Number of Bytes Expected
in Response
Response,
Same
as Function
Status,
OK o
r
Error Code
Request ID
, Same as in Request
Reserved
, Varies by Protocol
TextIn
, Number of Bytes Received
Outgoing Buffer Format
(Request)
Incoming Buffer Format
(Reply)
•
•
•
•
•
•
•
•
•
•
•
•
Text
, Depends on
Function and Application
Text
, Depends on
Function and Application
Figure 2-2. WRITEREAD Buffer
2-6