Installation guide

4: Commands and Responses
DC 900-1564A 35
4.1 Access Category
The commands and responses in the Access category are used to establish access control
sessions for a specified SLC network connection. Several access modes are supported:
Master, Reader, Control, or Trace (refer back to Table 4–1 on page 33 for a summary).
For each SLC network connection, only one application session is permitted per access
mode. The
DLI_ICP_CMD_ATTACH command establishes the access mode. Also see
Section 6.2 on page 83 for suggestions on using access modes.
4.1.1 Attach
The DLI_ICP_CMD_ATTACH command obtains access to the SLC network connection
associated with a specified ICP data link. The specified ICP data link is channel 1
1
on
the SLC network connection. The corresponding
DLI_ICP_CMD_ATTACH response reports
the success or failure of the request. If successful, the SLC access session ID assigned to
the application is reported. The header formats are detailed in Section 5.1 on page 62.
4.1.2 Detach
The DLI_ICP_CMD_DETACH command relinquishes access to the SLC network connection
for the ICP link and access mode associated with a specified application session. The
corresponding
DLI_ICP_CMD_DETACH response reports the success or failure of the
request. The header formats are detailed in Section 5.5 on page 67.
1. When the multi-channel configuration option (Section 4.2.3 on page 36) is used, the application
must specify the ICP link configured as channel 1 on the SLC network connection.