| Contens |
| 1 |
Foreword and Purpose of the Book |
7 |
| 2 |
!EC61158/IEC61784 |
9 |
| 3 |
PROFIBUS in the ISO/OSI Model |
11 |
| 4 |
PROFIBUS User Organizations |
13 |
| |
4.1 |
PROFIBUS Competence Centers |
14 |
| |
4.2 |
PROFIBUS Certification Laboratories |
14 |
| 5 |
Application Areas of PROFIBUS |
15 |
| |
5.1 |
What Are the Components of a PROFIBUS System? |
18 |
| 6 |
What Does a Device Manufacturer Have To Do? |
19 |
| 7 |
What Should a System Operator/Designer Do? |
20 |
| 8 |
Transmission Medium (Layer 1) |
21 |
| |
8.1 |
Cable Parameters |
21 |
| |
8.2 |
Pin Assignment of the Bus Connector |
22 |
| |
8.3 |
Configuration of the PROFIBUS Interface (RS 485) |
27 |
| 9 |
The Data Link Layer (Layer 2) |
30 |
| |
9.1 |
The Telegrams of Layer 2 |
30 |
| 10 |
Cyclic Data Exchange As Per DP-VO (MSO) |
34 |
| |
10.1 |
Service Access Points for Cyclic Data Exchange |
38 |
| |
10.2 |
Fail Safe Mode |
39 |
| |
10.3 |
The State Machine of a PROFIBUS DP Slav |
40 |
| |
|
10.3.1 |
State Machine |
40 |
| |
|
10.3.2 |
Power_On |
41 |
| |
|
10.3.3 |
Wait_Prm (Wait for Parameterization) |
41 |
| |
|
10.3.4 |
Wait_Cfg (Wait for Configuration) |
42 |
| |
|
10.3.5 |
Data_Exch (Data Exchange) |
42 |
| |
|
10.3.6 |
Diagnosis |
43 |
| |
|
10.3.7 |
Read_Inputs, Read_Outputs |
43 |
| |
|
10.3.8 |
Watchdog |
43 |
| 11 |
Telegram of Cyclic Data Exchange to DP-VO |
44 |
| |
11.1 |
Change Station Address |
45 |
| |
11.2 |
Diagnosis Request |
46 |
| |
|
11.2.1 |
DIAG.prm_req (Octet 2) |
49 |
| |
|
11.2.2 |
DIAG.stat_diag(Octet 2) |
49 |
| |
|
11.2.3 |
DIAG.ext (Octet 1) |
49 |
| |
|
11.2.4 |
User-Specific Diagnosis (as from Octet 8) |
49 |
| |
|
11.2.5 |
Status |
51 |
| |
|
11.2.6 |
DIAG.ext_diag_overflow (Octet 3) |
51 |
| |
|
11.2.7 |
Diagnosis Processing Seen Internally |
51 |
| |
11.3 |
Parameterization Telegram |
52 |
| |
11.4 |
Configuration Telegram |
54 |
| |
11.5 |
Diagnosis Reques |
58 |
| |
11.6 |
Data Exchange |
59 |
| |
11.7 |
Read inputs |
60 |
| |
11.8 |
Read outputs |
60 |
| |
11.9 |
Global Control Service |
60 |
| 12 |
PROFIBUS DP GSD FILE |
63 |
| |
12.1 |
Introduction |
63 |
| |
12.2 |
Who Needs a GSD File? |
63 |
| |
12.3 |
Who Processes the GSD File'? |
63 |
| |
12.4 |
GSD Library on the Internet |
64 |
| |
12.5 |
Creation of a GSD File |
64 |
| 13 |
Estimated Message/Bus Cycle Calculation |
70 |
| |
13.1 |
Bus Timings |
70 |
| |
13.2 |
System Response Time |
71 |
| 14 |
PROFIBUS DP Masters |
74 |
| |
14.1 |
Master–Master Communication |
74 |
| |
14.2 |
Adding and Removing Stations |
76 |
| 15 |
Acyclic Data Exchange As Per DP-V1 |
77 |
| |
15.1 |
What Are the Characteristics of a DP-V1 Field Device'? |
78 |
| |
15.2 |
Overview of SAPs for the DP-V1 Slave |
79 |
| |
15.3 |
The MS1 Communication |
80 |
| |
|
15.3.1 |
DP-V1 Parameterization |
81 |
| |
|
15.3.2 |
Read the MS1 Service Data Set (DS_Read) |
83 |
| |
|
15.3.3 |
MS1 Service Write Data Set (DS_Write) |
86 |
| |
|
15.3.4 |
MS1 Alarm Handling |
86 |
| |
|
15.3.5 |
MS1 Status Handling |
91 |
| |
15.4 |
MS2 Communication |
94 |
| |
|
15.4.1 |
MS2 Connection Setup with Initiate |
95 |
| |
|
15.4.2 |
Structure of the User Data of a Initiate.req |
96 |
| |
|
15.4.3 |
MS2 Services DS_Read and DS_Write |
97 |
| |
|
15.4.4 |
MS2 Service Data Transport |
97 |
| |
|
15.4.5 |
MS2 Service Abort |
98 |
| |
15.5 |
GSD Expansions for DP-V1 (Revision 3) |
99 |
| 16 |
The Extensions of IEC 61158 (DP-V2) |
102 |
| |
16.1 |
Isochronous Mode (IsoM) |
102 |
| |
16.2 |
Jitter Monitoring in Isochronous Mode |
106 |
| |
|
16.2.1 |
Clock Telegram (Global Control) |
106 |
| |
|
16.2.2 |
Life Sign |
107 |
| |
16.3 |
Data Exchange Broadcast (DxB) |
109 |
| |
|
16.3.1 |
How Data Exchange Broadcast Operates |
110 |
| |
|
16.3.2 |
Structured Parameterization |
111 |
| |
|
16.3.3 |
The Ext_User_Prm Telegram |
115 |
| |
16.4 |
Upload and Download |
115 |
| |
|
16.4.1 |
General Conditions for Upload/Download |
115 |
| |
16.5 |
Time Synchronization (Time_stamp) |
118 |
| |
16.6 |
Redundancy Concept |
123 |
| |
|
16.6.1 |
Flying Redundancy (FR) |
125 |
| |
|
16.6.2 |
System Redundancy (SR) |
125 |
| |
|
16.6.3 |
Redundancy Aspects |
126 |
| |
|
16.6.4 |
Address Assignment |
127 |
| |
|
16.6.5 |
Communication Channel Switchover |
127 |
| |
|
16.6.6 |
Diagnosis Processing in Redundant Mode (Diag.res) |
134 |
| |
|
16.6.7 |
GSD Expansion for DP-V2 (Revision 4) |
137 |
| 17 |
PROFIBUS DP Profiles |
139 |
| |
17.1 |
Profile Encoder |
139 |
| |
17.2 |
Profile NC/RC |
139 |
| |
17.3 |
Profile for Motion Control |
140 |
| |
17.4 |
The Profile for "Safety-Oriented Data Transfer with PROFIsafe" |
142 |
| 18 |
Configuration of a PROFIBUS DP System |
145 |
| 19 |
Commissioning PROFIBUS Products |
147 |
| 20 |
PROFIBUS ASICs |
152 |
| |
20.1 |
Overview |
152 |
| |
20.2 |
PROFIBUS ASICs |
152 |
| |
20.3 |
The LSPM2 (Siemens) |
153 |
| |
|
20.3.1 |
Parameterization Telegram for LSPM2 |
154 |
| |
|
20.3.2 |
Diagnostic Telegram for LSPM 2 |
156 |
| |
|
20.3.3 |
Configuration Telegram for LSPM2 |
158 |
| |
20.4 |
SPM2 (Siemens) |
159 |
| |
20.5 |
SPC3 (Siemens) |
159 |
| |
|
20.5.1 |
Introduction |
159 |
| |
|
20.5.2 |
Structure of the ASIC |
161 |
| |
|
20.5.3 |
Interrupt Register |
162 |
| |
|
20.5.4 |
Status Register |
163 |
| |
|
20.5.5 |
Microsequencer |
163 |
| |
|
20.5.6 |
Memory Distribution of the SPC3 |
164 |
| |
|
20.5.7 |
Buffer Structure |
165 |
| |
|
20.5.8 |
User Data Communication |
166 |
| |
|
20.5.9 |
Addressing |
166 |
| |
|
20.5.10 |
Parameterization Telegram of the SPC3 |
168 |
| |
|
20.5.11 |
DP-VO Software for the SPC3 |
170 |
| |
|
20.5.12 |
DP-V1 Software for the SPC3 |
170 |
| |
20.6 |
S PC4-2 |
171 |
| |
20.7 |
PROFIBUS ASIC DPC31 |
172 |
| |
|
20.7.1 |
Structural Design |
173 |
| |
|
20.7.2 |
Technical Data of the Chip |
175 |
| |
20.8 |
ASPC2 (Siemens) |
175 |
| |
20.9 |
ASIC for Fiber Optic Communication System Interface (FOCSI) |
178 |
| |
|
20.9.1 |
Introduction |
178 |
| |
|
20.9.2 |
Literature on the Internet for the FO Chip |
181 |
| |
|
20.9.3 |
Technical Data |
181 |
| 21 |
Development Support |
182 |
| |
21.1 |
Overview of the Development Package for SPC3 |
182 |
| |
21.2 |
Brief Description of Master Board IM 180 |
183 |
| |
21.3 |
Brief Description of Intelligent Slave IM 183-1 |
183 |
| |
21.4 |
Brief Description of Simple Slave IM 184 |
184 |
| |
21.5 |
Overview of Development Package DP/PA for DPC31 |
184 |
| 22 |
Certifications |
186 |
| |
22.1 |
Advantages for the End User/Developer |
186 |
| |
22.2 |
How To Obtain a PROFIBUS Certificate |
189 |
| |
22.3 |
Most Frequent Errors in Certificatio |
189 |
| 23 |
Development Projects |
194 |
| |
23.1 |
Tips for Sizing the Hardware |
194 |
| |
23.2 |
Sizing the Firmware |
194 |
| |
23.3 |
Overview of the Available PROFIBUS ASICs |
198 |
| 24 |
Telegram Overview |
200 |
| |
24.1 |
Telegram in Layer 2 |
200 |
| |
|
24.1.1 |
The Structure of the Function Code (FC) |
201 |
| |
24.2 |
The SAPs Used for Telegram Identification |
202 |
| |
24.3 |
MSO Telegrams |
203 |
| |
|
24.3.1 |
Change Station Address |
203 |
| |
|
24.3.2 |
Diagnosis Request |
204 |
| |
|
24.3.3 |
Parameterization telegram (Prm_Cmd.req) |
207 |
| |
|
24.3.4 |
Response to Parameterization Telegram (Prm_Cmd.res) |
209 |
| |
|
24.3.5 |
Configuration Telegram (Chk_Cfg.req) |
209 |
| |
|
24.3.6 |
Response to Configuration Telegram (Chk_Cfg.res) |
211 |
| |
|
24.3.7 |
Data Exchange |
211 |
| |
|
24.3.8 |
Read_Inputs |
211 |
| |
|
24.3.9 |
Read_Outputs |
211 |
| |
|
24.3.10 |
The Global Control Telegram |
211 |
| |
24.4 |
Master-Master Communication (Class 2 with Class 1 Master) |
212 |
| |
|
24.4.1 |
Read Master Diagnosis Information |
213 |
| |
|
24.4.2 |
Get _Master_Diag.res (Read System Diagnosis) |
214 |
| |
|
24.4.3 |
Get_Master_Diag.req (Read Master_ Status) |
214 |
| |
|
24.4.4 |
Get_Master_Diag.res (Read Master_Status) |
215 |
| |
|
24.4.5 |
Get_Master_Diag.req (Get Data_Transfer_List) |
216 |
| |
|
24.4.6 |
Get_Master_Diag.res (Get Data_Transfer_List) |
217 |
| |
|
24.4.7 |
Upload.req |
217 |
| |
|
24.4.8 |
Upload.res |
218 |
| |
|
24.4.9 |
Download.req |
219 |
| |
|
24.4.10 |
Download.res |
220 |
| |
|
24.4.11 |
Start_Seq.req |
220 |
| |
|
24.4.12 |
Start_seq. res |
221 |
| |
|
24.4.13 |
End_Seq |
222 |
| |
|
24.4.14 |
Activate_Para_Brct.req |
222 |
| |
|
24.4.15 |
Activate_Para_.req/.res |
223 |
| |
24.5 |
Telegrams of DP-V1 |
224 |
| |
|
24.5.1 |
Overview of DP-V1 Telegrams |
224 |
| |
|
24.5.2 |
DP-V1 Parameterization |
225 |
| |
|
24.5.3 |
Telegram Structure of DS_Read.req/DS_Read.res |
226 |
| |
|
24.5.4 |
Structure of the Polling Telegram |
229 |
| |
|
24.5.5 |
MS1 Service Write Data Set (DS_Write) |
229 |
| |
|
24.5.6 |
The MS1 Alarm Handling |
230 |
| |
|
24.5.7 |
Structure of Data Unit in Alarm_Acknowledge Telegram |
232 |
| |
|
24.5.8 |
Structured MS1-/MS2 Status Handling |
233 |
| |
24.6 |
MS2 Connection |
235 |
| |
|
24.6.1 |
Structure of User Data in Initiate.req |
236 |
| |
|
24.6.2 |
MS2 Services DS_Read and DS _Write |
236 |
| |
|
24.6.3 |
MS2 Service Data_Transport |
236 |
| |
|
24.6.4 |
MS2 Service Abor |
236 |
| |
24.7 |
PROFIBUS DP Data Types |
238 |
| |
24.8 |
Telegrams of Function Expansions in IEC 61158 (DP-V2) |
241 |
| |
|
24.8.1 |
Structured Parameterization |
241 |
| |
|
24.8.2 |
Ext_User_Prm Telegram |
244 |
| |
|
24.8.3 |
Ext_User_Prm.res |
245 |
| |
|
24.8.4 |
Clock Telegram |
245 |
| |
|
24.8.5 |
Meaning of the Structured Status for DxB |
246 |
| |
24.9 |
Time Synchronization Telegrams |
248 |
| |
24.10 |
Telegrams for Upload/Download |
250 |
| |
|
24.10.1 |
Redundancy Switchover Telegram (Prm_Cmd) |
251 |
| |
|
24.10.2 |
Acknowledgement of Switchover Telegram (Prm_Cmd_Ack) |
254 |
| |
|
24.10.3 |
Diagnosis Processing in Redundant Mode |
255 |
| 25 |
Profile Overview |
257 |
| 26 |
Important Terms at a Glance |
258 |