Page 493
PROFIBUS-Specification-Normative-Parts-6:1997
Copyright by PNO 1997 - all rights reserved
6.7.2.1 State Diagram for Connection Establishment at the Requester
ASS-
SEND-UPDATE
ASS-
REQ-WAIT-FOR-CON
deactivate poll list
entry (ENTRY.req)
ASS-
POLL-LIST-
OFF
ASS-
POLL-LIST-ON
D
ENTRY.con (OK)
All Transitions are only valid for the Master of the respective Connection Type. The Transitions
LLI Fault.ind
1,2: ABT.ind to LLI user
reset CREF
FDL primitive
LLI Fault.ind
1: S_UPDATE.con(LS/LR/IV)
2: T1 expired
1: ENTRY.con(LS/IV/NO)
2: T1 expired
poll entry enabled
:= true
ASS-
WAIT-FOR-LLI-
RES
OPEN
poll list entry deactiviated
ENTRY.con(OK)
1: ACI = 0
2: ACI > 0
1,2:ASS.con(+) to LLI user
1,2:stop T1
1,2:poll entry enabled := false
2: start S/ETimer
1...5: ASS.con(+) to LLI user, stop T1
2,4: start S/ETimer
ASS_RES_PDU received
(CSRD.con(DL))
M-S acyclic with no
Slave initiative
ASS_REQ_PDU sent
(SDA.con(OK) or
CSRD.con (DL/DH/NR,
update_status=LO))
1: ASS_REQ_PDU received
1,3,4: ignore
(SDA.ind(Low)), Loc_ <Rem_add
3
5: T1 expired
3: SDA.con(UE/RS/DS)/CSRD.con (UE/RS/DS)
4: SDA.con(LS/IV)/CSRD.con (LS/IV/OK/NO)/
unallowed FDL primitive/
CSRD.con (NR, update_status = NO)
3
T1 expired/
SAP_ACT.con(NO/IV)/
unallowed FMA1/2 primitive
ABT.ind to LLI user/
LLI Fault.ind
reset CREF
ASS-
REQ-SAP-ACTIVATE
I
ASS.req from LLI user
SAP_ACT.req
CRL entry OK all related
start T1
send ASS_REQ_PDU
SAP_ACT.con(OK)
1: SDA.con(RR/NA)/CSRD.con(RR/NA/RDL/RDH)
2: SDA.con(LR)/CSRD.con(LR)
2
2: LLI Fault.ind
1...4: ABT.ind to LLI user/
send ABT_REQ_PDU
4: CSRD.con(LS/IV/OK/NO)/
SDA.ind(Low/High) or CSRD.con(DL/DH)
3: CSRD.con(UE/RS/DS)
2: ABT_REQ_PDU received
1: ASS_NRS_PDU received
unallowed FDL primitive/
CSRD.con(NR, Upd_st=NO)
1: ASS.con(-)
2,3,4: ABT.ind to LLI user
4:LLI Fault.ind
2: ABT_REQ_PDU received, CSRD.con(DL/DH)
1: ASS_NRS_PDU received, CSRD.con(DL)
2...5:ABT.ind to LLI user
1: ASS.con(-) 4,5: LLI Fault.ind
3
1: ENTRY.con
2: T1 expired
(LS/IV/NO)
deactivate poll list entry
(ENTRY.req)
1,2: ABT.ind to LLI user
1,2: LLI Fault.ind
ASS_REQ_PDU sent and
ASS_RES_PDU received
CSRD.con(DL, update_status = LO)
1: M-S cyclic
ASS_RES_PDU received
(CSRD.con(DL) or SDA.ind(Low))
2: M-S acyclic with Slave initiative ACI > 0
3: M-S acyclic with Slave initiative ACI = 0
4: M-M and ACI>0
5: M-M and ACI=0
ASS_REQ_PDU sent and ASS_RES_PDU
received, CSRD.con (DL, update_status = LO)
1: M-S cyclic
2: M-S acyclic with Slave initiative ACI > 0
3: M-S acyclic with Slave initiative ACI = 0
1,2,3: ASS.con(+) to LLI user, stop T1
2: start S/ETimer
CLOSED
LLI start routine
ignore data
1: any unallowed LLI user.req
2: ASS.req from LLI user, CRL entry not OK
1,2,4: ABT.ind to LLI user, reset CREF
3: ABT.req from LLI user
3: ignore
send ASS_REQ_PDU
(S_UPDATE.req)
start T1
ASS.req from LLI user
CRL entry OK
ABT.ind to LLI user
1
Loc_add > Rem_add
ASS_REQ_PDU received(SDA.ind(Low))
2
1: CSRD.con(RR/NA/RDL/RDH/DH)
2: CSRD.con(LR); 3: T1 expired
2: LLI-Fault.ind
send ABT_REQ_PDU
1...6:ABT.ind to LLI user
1: ASS_REQ_PDU received
(SDA.ind(Low) ) Loc_add < Rem_add
2: not allowed LLI-PDU (SDA.ind /
CSRD.con (DL/DH, update_status = NO)
1,2: ignore
with the numbers 2 and 3 are continued in the Figure "Connection Release". The Transition
with the number 1 is continued in the Figure "Connection Establishment at the responder".
ASS.req from LLI user
CRL entry OK
send ASS_REQ_PDU
(SDA.req)
start T1
unallowed
activate poll list
(ENTRY.req)
S_UPDATE.con
(OK)
entry
unallowed FDL primitive
LLI-Fault.ind
unallowed FDL primitive
LLI-Fault.ind
connections closed
3: ASS_REQ_PDU received, SDA.ind(High)
4: ASS_RES_PDU or ASS_NRS_PDU rec., CSRD.con(DH)
SDA.ind(Low/High)
4: DTA_REQ_PDU rec., SDA.ind, CSRD.con
RAC >=maxRAC
5: ASS_REQ_ or ASS_RES_PDU, SDA.ind(High)
6: ASS_RES_ or ASS_NRS_PDU, CSRD.con(DH)
4: I, one related connection open
3: DTA_REQ_PDU received
2: DTA_REQ_PDU received
(CSRD.con(DH)/SDA.ind(High))
M-M or M-S with SI and RAC < maxRAC
2: start DTA Ack
RAC:_RAC+1
DTA Run:=True
(CSRD.con(DL)/SDA.ind(Low))
4: unknown, faulty or unallowd PDU rec.
continue DTA Ack, if DTA Run=True
Figure 109. State Diagram for Connection Establishment at the Requester