Page 418
PROFIBUS-Specification-Normative-Parts-6:1997
Copyright by PNO 1997 - all rights reserved
If the local FMS detects errors it passes an Abort.ind to the user and the serv-
ice primitive ABT.req to LLI.
If the local FMA7 detects errors it passes an FMA7-Abort.ind to the user and the
service primitive ABT.req to LLI.
If the local LLI detects errors (e.g. reaction of the LLI connection) it passes
an ABT.ind to the LLI user. The LLI user passes this ABT.ind to the user.
In all cases the LLI of the requester starts the monitoring of connection re-
lease (T2, see connection release definition) and generates an ABT_REQ_PDU. The
LLI enters the reason for the connection release into the fields ID, RC and AD.
The LLI passes the ABT_REQ_PDU to Layer 2 for transmission to the remote commu-
nication partner. After transmission the connection is in the state "CLOSED"
(released). In the case of an open connection in the responder (Connection At-
tribute = "O") the LLI shall stop the access protection for the assigned LSAP
after the connection release. Thereafter the access for all remote partners is
possible again. In the case of an open connection in the requester (Connection
Attribute = "I") the LLI shall deactivate the assigned LSAP after the connection
release.
After the receipt of an ABT_REQ_PDU the LLI of the receiver performs a local
connection release. If local actions of Layer 2 are necessary for this connec-
tion release (e.g. deactivation of an LSAP), then the LLI starts the monitoring
of connection release.
The reason for the connection release is found in the fields ID, RC and AD of
the ABT_REQ_PDU and is passed to the LLI user with the ABT.ind. The FMS passes
this ABT.ind to the user. Thereafter the connection is in the state "CLOSED"
(released). In the case of an open connection in the responder (Connection At-
tribute = "O") the LLI shall stop the access protection for the assigned LSAP
after the connection release. In the case of an open connection in the requester
(Connection Attribute = "I") the LLI shall deactivate the assigned LSAP after
the connection release and thus re-store the initial state for a new request to
establish a connection. Then the monitoring of connection release is stopped if
necessary.
6.3.3.1 Monitoring of Connection Release
For time monitoring of connection release the timer T2 is used. It is connection
specific and mandatory for master and slave devices. The interval for monitoring
connection release is configured in the header of the LLI CRL for all connec-
tions.
In the requester the timer T2 controls the sending of the ABT_REQ_PDU. The timer
T2 is started before the ABT_REQ_PDU is passed to Layer 2 and is stopped after
receiving the Layer 2 confirmation for sending (FDL_XXX.con/FDL_XXX.ind) and af-
ter the termination of all local actions.
In the receiver of an ABT_REQ_PDU the timer T2 controls the connection release
if local actions in Layer 2 (e.g. stopping of Layer 2 polling) or in FMA1/2
(e.g. deactivation of LSAPs) are necessary. The timer T2 is started upon receipt
of the ABT_REQ_PDU and is stopped after termination of all local actions.
If the timer T2 expires the connection release is stopped and the connection
changes into the state "CLOSED". If a local Layer 2 error has occurred, then the
FMA7 is informed additionally.
6.3.3.2 Abort for Master-Slave Communication Relationships
For master-slave communication relationships the master as well as the slave may
take the initiative for connection release. Besides the general rules which are
described in connection release the following specific rules for this communica-
tion relationship are valid.