Page 466
PROFIBUS-Specification-Normative-Parts-6:1997
Copyright by PNO 1997 - all rights reserved
6.3.4.4 Monitoring on Data Transfer
Interpretation of the Layer 2 Confirmation Primitive
During the data transfer phase the parameter L_status of the Layer 2 confirma-
tion primitive (FDL_XXX.con) is interpreted. Certain values of the parameter
L_status (see formal LLI state machine definition) lead to a connection release
and in some cases to an error message (LLI-FAULT.ind) to FMA7.
Monitoring the Connection
During the data transfer phase the availability of a connection may be moni-
tored. According to the kind of connection two monitoring mechanisms are distin-
guished:
Monitoring of a connection for Acyclic Data Transfer:
This kind of monitoring is optional and specific to the connection. If a connec-
tion is to be monitored, both partners shall take part in monitoring. During the
connection establishment phase this is guaranteed by the context test. The con-
nection monitoring may be performed on master-master and master-slave connec-
tions (with or with no Slave Initiative). The monitoring mechanism is the same
for master and slave on each acyclic connection type. The connection monitoring
is configured specific to the connection by entering a time interval greater
than 0 into the attribute ACI (Acyclic Control Interval, receive interval) in
the context of the LLI CRL. ACI is the time interval in which the failure of a
connection shall be surely recognized. The connection monitoring is started af-
ter a successful connection establishment (STimer, RTimer).
The correct operation of a connection for acyclic data transfer is recognized by
receiving a correct LLI PDU during the monitoring interval ACI. It shall be
guaranteed that both partners send a LLI PDU during the send interval (con-
trolled by the STimer). If the send interval expires and no LLI PDU has been
sent, then LLI sends a control message (IDLE_PDU). After each sending of a LLI
PDU the send interval starts again. After each receipt of a LLI PDU the receive
interval (controlled by the RTimer) starts again. This interval shall be equal
for both partners. If no LLI PDU has been received during the receive interval,
the connection is disturbed and shall be released (see connection release defi-
nition).
The send interval is a third of the receive interval (ACI).
Monitoring of a connection for Cyclic Data Transfer:
The monitoring is specific to the connection. It checks if during the time in-
terval CCI (Cyclic Control Interval), which has been configured in the CRL, an
event occurs, which confirms the correct operation of the connection.
The monitoring is started by the first confirmed Layer 7 request (in the master
the first DTC.req from the FMS; in the slave the arrival of the first
DTC_REQ_PDU). The receipt of an expected DTC_RES_PDU in the master, or the arri-
val of a SRD.ind in the slave, during the monitoring interval (timer T3) shows
that the connection is operating correctly. In this case the LLI starts the
monitoring interval again. If the monitoring interval expires, the connection is
disturbed and shall be released (see see connection release definition).
The user of the master may monitor the user of the slave during the execution of
the first request because it does not receive the response out of the local IDM.
For all following requests with the same Invoke ID this is not possible because
the response is taken from the IDM and the user cannot detect the actualization
of the IDM (receipt of a DTC_RES_PDU). Because the actualization of the IDM dur-
ing the connection monitoring is detected by LLI, LLI monitors automatically the
user of the slave in addition to the connection. To guarantee the monitoring of
the user at any time the connection monitoring is mandatory in the master.
In the slave the monitoring is optional. It only makes sense if the slave can
react upon a connection failure (e.g. fail-safe, redundancy switch-over). The