Page 396
PROFIBUS-Specification-Normative-Parts-6:1997
Copyright by PNO 1997 - all rights reserved
cess = Remote Address) before the ASS_REQ_PDU is passed to Layer 2 (see also the
formal description of the formal state machine below).
The LLI of the responder compares the local with the remote LLI context upon re-
ceipt of the ASS_REQ_PDU. If the LLI contexts of both communication partners are
compatible, an ASS.ind is passed to the LLI user which contains the INI_REQ_PDU
of the remote LLI user. Additionally, the monitoring of connection establishment
is started. For the establishment of an open connection in the responder (Con-
nection Attribute = "O") the LLI of the responder shall additionally activate
the assigned LSAP with access protection (parameter Access = Actual Remote Ad-
dress). The LLI service primitive ASS.ind is mapped onto an Initiate.ind by FMS
or onto a FMA7-Initiate.ind by FMA7 and is passed to the user (see also: de-
scription of the formal state machine below).
The LLI user maps the positive response of the user (INI.res<R+>) onto the LLI
service primitive ASS.res<R+>. The LLI of the responder generates an
ASS_RES_PDU, which contains the INI_RES_PDU and passes it to Layer 2 for trans-
mission to the remote partner. After the transmission the connection is estab-
lished (status "OPEN") and is in the data transfer phase. The monitoring of con-
nection establishment is stopped and the monitoring of data transfer is started,
if configured.
If the user of the responder rejects the request to establish a connection
(INI.res<R->), the LLI user maps this onto the LLI service primitive ASS.res<R-
>. If the LLI user detects an error such as incompatible context, it also passes
an ASS.res<R-> to the LLI. LLI generates an ASS_NRS_PDU, which contains the
INI_ERRPDU, and passes it to Layer 2 for transmission to the remote partner. The
connection is not established. For an open connection in the responder (Connec-
tion Attribute = "O") LLI shall activate the assigned LSAP with parameter Access
= All after transmission of the ASS_NRS_PDU.
If the LLI of the responder detects an error during connection establishment,
the connection shall not be established, but a connection release shall be per-
formed. LLI starts the monitoring of connection release (T2, connection release
definition below), generates an ABT_REQ_PDU and enters the reason for the con-
nection release into the field Reason Code (RC, see LLI PDU definition). If the
LLI contexts are incompatible, the field Additional Detail (AD) contains the LLI
context of the responder. For an open connection in the responder (Connection
Attribute = "O") LLI shall activate the assigned LSAP with parameter Access =
All after transmission of the ABT_REQ_PDU.
After receipt of an ASS_RES_PDU from the responder the LLI of the requester
stops monitoring the connection establishment and passes an ASS.con<R+>, which
contains the INI_RES_PDU, to the LLI user. The connection is now established
(status "OPEN") and is in the data transfer phase. The monitoring of data trans-
fer is started, if configured (see data transfer definition). FMS maps the
ASS.res<R+> onto an Initiate.con(+) and passes it to the user. FMA7 maps the
ASS.res<R+> onto a FMA7-Initiate.con(+) and passes it to the user.
If the requester receives an ASS_NRS_PDU, then the responder has rejected the
request to establish a connection. LLI stops monitoring the connection estab-
lishment and passes an ASS.con<R->, which contains the INI_ERR_PDU, to the LLI
user. The connection is not established, but a local connection release, which
is monitored, is performed. For an open connection in the requester (Connection
Attribute = "I") LLI shall deactivate the assigned LSAP. FMS maps the ASS.con<R-
> onto an Initiate.con(-) and passes it to the user. FMA7 maps the ASS.con<R->
onto a FMA7-Initiate.con(-) and passes it to the user.
If the requester receives an ABT_REQ_PDU, the connection establishment is
stopped and a local connection release, which is monitored, is started. The rea-
son for rejecting the request to establish a connection shall be found in the
field RC.
If the reason for this rejection was an incompatibility of the LLI contexts,
then the field AD contains the remote LLI context. LLI passes an ABT.ind to the
LLI user (see definition of interface between LL user and LLI). For an open con-