ACC Programmer's Reference Guide
202 Chapter4
ZCOM C I/F Library Routines
ZCONFIG (3X)
Response Data
data.portscret.iftno,
data.portscret.portno,
data.portscret.subchno
These are the interface, port number and subchannel numbers as supplied in
the original configuration data (request). They indicate the interface, port
and subchannel whose configuration has been modified.
data.portscret.status
Completion status returned from port configuration:
The error or status message text may be fetched using zcomstatus (3X) with
req = ZCOM_MRQCODE_PORT (or 14) and the return status. Note that
status codes PT_BAD_BAUD, PT_ILL_SCLK, PT_ILL_PMODE, and
PT_BAD_PORT imply the associated port is now inoperative. Another port
configuration request must be performed to recover it.
<0-StandardZCOMerrorPT_OK
PT_OK (0) - No error (successful)
PT_INV_PORT (1) - Port number out of range
PT_BAD_PARM (2) - Bad parameter
PT_NOT_DSBL (3) - Some terminals in this port not disabled
PT_BAD_BAUD (4) - Bad baud rate
PT_ILL_SCLK (5) - Illegal clock source
PT_ILL_PMODE (6) - Illegal port mode
PT_BAD_PORT (7)-Portfailedselftest
PT_NO_BREAK (8 ) - BREAK routine not available
PT_BAD_XCLK (9) - Clock multiplier not compatible with
configuration mode
PT_NO_PLL (10) - No DPLL available at this baud rate
PT_TOO_FAST (11) - Async mode not valid for baud > 38400
PT_NO_BUF (12) - Subchannel buffer required
PT_SC_ENB (13) - Subchannel must be disabled
PT_BAD_TS (14) - Timeslot is not permitted










