Professional Documents
Culture Documents
Profibus - Frame Data Link Layer (Layer 2) Fieldbus Data Link (FDL)
Profibus - Frame Data Link Layer (Layer 2) Fieldbus Data Link (FDL)
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.1
Information- and Trainings-Center
Knowledge for automation
Frame Characters
Bit string on 1 2 3 4 5 6 7 8 9 10 11
the line
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.2
Information- and Trainings-Center
Knowledge for automation
Frame Formats with Hamming Distance 4 (HD = 4)
Formats with fixed information field length without data unit
Format of the request frame:
L
Format of the acknowledgement frame:
SD1 DA SA FC FCS ED
L
Format of the short acknowledgement frame):
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.3
Information- and Trainings-Center
Knowledge for automation
Frame Formats with Hamming Distance 4 (HD = 4)
Formats with fixed information field length with data unit
SYN SD3 DA SA FC D A T A _U N IT ED
L
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.4
Information- and Trainings-Center
Knowledge for automation
Frame Formats with Hamming Distance 4 (HD = 4)
Formats with variable information length
L
Format of the response frame:
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.5
Information- and Trainings-Center
Knowledge for automation
Token Frame
Token
S YN SD 4 DA SA
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.6
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Length bytes LE and LEr
b8 b1
27 20
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.7
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Address bytes
b8 b1
SA Source address byte
EXT 26 20
Address
SA = 0 to 126
b8 b1
DA Destination address byte
E XT 26 20
Address
DA = 0 to 127
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.8
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Address bytes
b8 b1
E XT 26 20
Address
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.9
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
DAE / SAE bytes in the frame
EXT=1 EXT=0
DA SA FC D AE FC S ED
DATA_UNIT
EXT=0 EXT=1
DA SA FC SAE FC S ED
DATA_UNIT
EXT=1 EXT=1
DA SA FC DAE S AE FC S ED
DATA_UNIT
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.10
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Address extension byte
DATA_UNIT
EXT=1 EXT=1
DA SA FC DAE SAE
b8 b7 b6 b1
EXT TYP 25 20
Address
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.11
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Link Service Access Point (LSAP)
Station 1 Station 2
SAE DAE
Associations
between the stations
SA DA
PROFIBUS
DA SA
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.12
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Service Access Points (SAP)
Link
Link
Service
LSAP
LSAP Service
Access
Access
Point
Point
Source
Source
Service
SSAP
SSAP Service
Access
Access
Point
Point
Destination
Destination
Service
DSAP
DSAP Service
Access
Access
Point
Point
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.13
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Frame control byte, FC
b8 b7 b6 b5 b4 b1
3 0
1 FCB FCV 2 2
Res Frame Function Function:
0 Stn-Type Transmission function
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.14
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Frame Count Bit, FCB
FC = Frame Control
Station 1 Station 2
active FC active/passive
Send/Request frame
TS = 1 TS = 2
FC byte
FCV = 0 Save SA + FCB
SA = 1 Send/Request 1 FCB = 1 SA = 1
FCB = 1
Acknowledgement/Response
FC byte
SA = 1 Send/Request 2 FCV = 1
FCB = 0
Evaluate FCB
FCB = 0
Acknowledgement/Response
FC byte
SA = 1 Send/Request 3 FCV = 1
FCB = 1
Evaluate FCB
FCB = 1
Acknowledgement/Response
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.15
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Frame Count Bit
FCB, FCV at the responder
b8 b7 b6 b5 b4 b1
3 0
1 FCB FCV 2 2 FCBM = Saved FCB
Res Function
Frame SAM = Saved SA
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.16
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Transmission function code
Aufruf-Telegramme
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.17
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Transmission function code
Send/Request frame; Primary)
b8 b7 b6 b5 b4 b3 b2 b1 b4 b3 b2 b1 Code Nr.
2
3
2
2
2
1
2
0 0 0 0 0 0
Res 1 FCB FCV 0 0 0 1 1
Function 0 0 1 0 2
0 0 1 1 3
0 1 0 0 4
0 1 0 1 5
0 1 1 0 6
0 1 1 1 7
1 0 0 0 8
1 0 0 1 9
1 0 1 0 10
1 0 1 1 11
1 1 0 0 12
Frame 1 1 0 1 13
Type Send/Request frame 1
1
1
1
1
1
0
1
14
15
b7 = 1
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.18
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Transmission function code
Quittungs-Telegramme
Function Abküzung Code Nr.
ACKnowledgement positive OK 0 *
ACK negative UE 1
FDL/FMA 1/2 - User Error
ACK negative RR 2
no Resource for Send Data (& no Response FDL-Data)
ACK negative RS 3
no Service activated
Reserve 4 -7
Response FDL/FMA 1/2-Data low (& Send Data ok) DL 8
ACK negative NR 9 *
no Response FDL/FMA 1/2-Data (& Send Data ok)
Response FDL-Data high (& Send Data ok) DH 10
Reserve 11
Response FDL-Data low RDL 12
no Resource for Send Data
Response FDL-Data high RDH 13
no Resource for Send Data
Reserve 14, 15
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.19
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Transmission function code
Acknowledgement / Response frame; Secondary)
b8 b7 b6 b5 b4 b3 b2 b1 b4 b3 b2 b1 Code Nr.
2
3
2
2
2
1
2
0 0 0 0 0 0
Res 0 Stn Type 0 0 0 1 1
Function 0 0 1 0 2
0 0 1 1 3
0 1 0 0 4
0 1 0 1 5
0 1 1 0 6
0 1 1 1 7
1 0 0 0 8
1 0 0 1 9
1 0 1 0 10
1 0 1 1 11
1 1 0 0 12
Frame
Type
Acknowledgement 1
1
1
1
0
1
1
0
13
14
b7 = 0 frame 1 1 1 1 15
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.20
Information- and Trainings-Center
Knowledge for automation
Length, Address, Frame Control and Frame Check
Sequence Bytes
Frame check sequence (FCS)
SYN SD1 DA SA FC FC S ED
FCS byte
b8 b1
27 20
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.21
Information- and Trainings-Center
Knowledge for automation
Data Unit
Address part
max. 4 address extension bytes
Data unit, Hd=4
max. 246 bytes
DAE / SAE
DATA_UNIT
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.22
Information- and Trainings-Center
Knowledge for automation
Data Unit
Response frame
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.23
Information- and Trainings-Center
Knowledge for automation
Data Unit
Response frame
b8 b5 b4 b1
Byte 1 Access
Address-Extension
Role_in_service Service_type
“ “
“ “
SIMATIC NET
Siemens AG 1998. All rights reserved.
date:
file:
01.08.21
7Kdp_Fr.24
Information- and Trainings-Center
Knowledge for automation