User`s guide

86 DC 900-1317J
ADCCP NRM Programmer’s Guide
To change the default maximum buffer size, the client sends a DLI_PROT_SET_BUF_SIZE
packet (see Section 3.4.31 on page 81) to the ICP. The control packet argument must
specify the number of 64-byte pages allowed for the transparent data area within subse-
quent control packets. The actual buffer allocation on the ICP includes an additional 64
bytes to accommodate the buffer control header and other ICP buffer management
requirements.
If the ICP cannot adjust the buffer size, it responds with a DLI_PROT_RESP_ERROR packet
with the
iProtModifier field set to DLI_PROT_SET_BUF_SIZE. This response typically occurs if
the requested data size is invalid, or if the ICP has already received two or more mes-
sages since it was initialized. (The message buffer size can only be set immediately after
downloading the ICP.)
If the ICP successfully adjusts the buffer size, it responds with a DLI_PROT_RECV_BUF_SIZE
packet (see Section 3.4.32 on page 82) in which the one-word data field specifies the
number of buffers created.
4.1.2 Configuration Procedures
The client must perform an ADCCP configuration procedure after downloading the
ADCCP interface software onto the ICP and prior to enabling any physical link. The cli-
ent issues
DLI_PROT_CFG_LINK packets to set physical link characteristics and logical sta-
tion assignments.
4.1.2.1 Link Configuration
The client configures physical link characteristics (see Section 3.4.20 on page 69) by
using the first variant of the
DLI_PROT_CFG_LINK packet (see Table 37 on page 7 1). The
client must specify the link ID, but must zero both the
iProtModifier and usProtXParms[0]
(station ID) fields. The client must also set the usProtXParms[1] field (data size) equal to
2 and specify the physical link characteristics in the first word of the data area in the
control packet.