User`s guide
3: ADCCP NRM DLI Functions
DC 900-1317J 67
3.4.16 DLI_PROT_SEND_BIND Packet
The client uses this packet to enable a physical link or to enable a station. When the ICP
is initially downloaded, all physical links are disabled. After the client configures links
and stations (see Section 4.1.2 on page 86), the client must enable a physical link prior
to enabling stations on the link.
To enable a physical link, the client must specify the usProtCommand field
(
DLI_PROT_SEND_BIND), the link ID, and a zeroed usProtXParms[0] field (station ID). The
presence of the zeroed station ID tells the ICP that the control packet relates to the
physical link, rather than to an assigned station.
To enable an assigned station on a link, the client must specify the usProtCommand field
(
DLI_PROT_SEND_BIND), the iProtModifier field, and the usProtXParms[0] field (station ID).
The presence of the station ID tells the ICP that the control packet relates to an assigned
station, rather than to the physical link. The
iProtModifier field specifies a time limit on
the request to enable the station. A zero in the
iProtModifier field specifies an infinite
time limit. A non-zero
iProtModifier field gives the time limit in seconds. When this
limit is exceeded, the ICP notifies the client with an ICP Station Inactive packet.
The ICP’s normal response to the DLI_PROT_SEND_BIND packet is a DLI_PROT_RESP_BIND_ACK
packet. However, if the client attempts to enable an active link or station, the ICP
returns a
DLI_PROT_RESP_ERROR packet.
3.4.17 DLI_PROT_RESP_BIND_ACK Packet
The ICP uses this packet to report a physical link active or a station active on the link.
The ICP reports a physical link active only when it changes from an inactive state to an
active state. The ICP reports a station active when it changes from either a disconnected
state or an initialization state to an information transfer state.
When reporting an active physical link, the ICP specifies the usProtCommand field
(
DLI_PROT_RESP_BIND_ACK), the link ID, and a zeroed usProtXParms[0] field (station ID).