User`s guide
48 DC 900-1343D
DDCMP Programmer’s Guide
2.6 Overview of DDCMP Responses using Raw dlRead
Table 2–11 shows the valid DDCMP codes sent to your application in response to a Raw
dlRead request; the returned dlRead pOptArgs.usProtCommand field indicates the
response code. DDCMP error codes associated with the responses are returned in the
pOptArgs.iICPStatus field and are described in Appendix A.
The following responses can be received from the ICP. Table 2–11 lists the possible
DDCMP response codes returned in the
dlRead pOptArgs.usProtCommand field.
• Received data (Section 2.6.1 on page 49)
• Circuit exceptions (Section 2.6.2 on page 50)
• Command confirmations (Section 2.6.3 on page 53)
• Reports in response to dlWrite information requests (Section 2.6.4 on page 53)
a
All of the responses can return an error code in the dlRead pOptArgs.iICPStatus field.
Table 2–11: DDCMP Response Codes
Category
DLI Response Code
a
in the
pOptArgs.usProtCommand Field Usage
Reference
Section
Incoming Data
DLI_PROT_RECV_DATA Received data
Circuit exceptions
Section 2.6.1
Section 2.6.2
Command
Confirmations
(Section 2.6.3)
DLI_PROT_CFG_LINK Configure link confirmation Section 2.5.1.1
DLI_PROT_CLR_STATISTICS Clear statistics confirmation Section 2.5.1.2
Reports
(Section 2.6.4)
DLI_PROT_GET_BUF_REPORT Buffer report Section 2.5.2.1
DLI_PROT_GET_STATISTICS_REPORT Link statistics report Section 2.5.2.2
DLI_PROT_GET_STATUS_REPORT Link status/configuration report Section 2.5.2.3