78028908_SIMATIC_Comm_DOKU_v21_e_.pdf
Table of Contents
Warranty, Liability and Support_2
1 Preliminary Remarks on the Document_14
1.1 Colored text passages_14
1.2 Subject of the document_14
1.3 Purpose and objective of the document_16
1.4 Properties and benefits of the document_17
1.5 Scope of validity of this document_17
1.6 Coverage of the document_18
1.7 Document classification_19
2 Structure of the Document_20
2.1 PART 1: Introduction_20
2.2 PART 2: Selection aid_20
2.3 PART 3: Communication types_21
2.4 PART 4: Other controllers_21
2.5 PART 5: Appendix_21
3 Application of the Document_22
3.1 Notes on handling the document_22
3.2 Example for the application of the document_23
3.2.1 Task description_23
3.2.2 Jump distributor_24
3.2.3 Overview of interfaces and communication types_25
3.2.4 Combination controller 1 / controller 2_26
3.2.5 Communication types_28
3.2.6 Summary_30
4 ********** PART 1: Introduction *************** . 31
4.1 Structure and content 31
5 Models on CPU-CPU Communication 32
5.1 Definition of controller 32
5.2 Definition CPU-CPU communication .. 32
5.3 CPUs in different central stations 33
5.4 CPUs in central and decentralized station . 34
5.5 CPUs within a central station . 35
6 Connections for SIMATIC . 36
6.1 Connections . 36
6.2 Protocols 37
6.3 Connection resources .. 37
6.4 Establishing connections 38
6.4.1 Configured connection . 38
6.4.2 Non-configured connection 39
7 Data Consistency with SIMATIC 41
7.1 Definitions . 41
7.2 System-related data consistency 42
7.3 Advanced data consistency 43
8 SIMATIC Controller 44
9 Media for SIMATIC Communication 46
10 PROFINET/Industrial Ethernet (PN/IE) 47
10.1 Preliminary remarks . 47
10.2 Ethernet 47
10.3 Industrial Ethernet (IE) . 49
10.4 PROFINET (PN) 50
11 PROFIBUS (PB) .. 52
12 MPI 53
13 SIMATIC Backplane Bus 54
14 Serial Interface (PtP) .. 55
15 Comparison of the Media .. 56
16 Interfaces of the SIMATIC Families 57
17 Information on Part 1 . 58
18 ******** PART 2: Selection Aid ********* 59
18.1 Structure and content 59
19 Preliminary Remarks . 60
19.1 Display principle of all combinations .. 60
19.1.1 Structure of the document (table of contents) 61
19.1.2 Combinations (jump distributor) . 61
19.2 Interfaces table . 62
19.2.1 Purpose of this table . 62
19.2.2 Structure of the table 62
19.2.3 Abbreviations and indices .. 64
19.3 Combinations table 65
19.3.1 Purpose of this table . 65
19.3.2 Structure of the table 65
19.3.3 Real example 68
19.3.4 Abbreviations and indices .. 69
19.4 “Communication types – compact” table 70
19.4.1 Purpose of this table . 70
19.4.2 Structure of the table 70
19.5 Indices overview in the tables 71
20 >>> JUMP DISTRIBUTOR >>> .. 72
20.1 Jump distributor: PN/IE network . 73
20.1.1 Overview of interfaces and communication types .. 73
20.1.2 Combination controller 1 / controller 2 73
20.1.3 Communication types 73
20.2 Jump distributor: Network PB . 74
20.2.1 Overview of interfaces and communication types .. 74
20.2.2 Combination controller 1 / controller 2 74
20.2.3 Communication types 74
20.3 Jump distributor: Network MPI 75
20.3.1 Overview of interfaces and communication types .. 75
20.3.2 Combination controller 1 / controller 2 75
20.3.3 Communication types 75
20.4 Jump distributor: SIMATIC backplane bus . 76
20.4.1 Overview of interfaces and communication types .. 76
20.4.2 Combination controller 1 / controller 2 76
20.4.3 Communication types 76
20.5 Jump distributor: Serial interfaces .. 77
20.5.1 Overview of interfaces and communication types .. 77
20.5.2 Communication types 77
21 Selection Aid: PROFINET/Industrial Ethernet (PN/IE) .. 78
21.1 PN/IE: Content of the chapter 78
21.2 PN/IE: Interfaces and communication types .. 79
21.2.1 ET 200 CPU to PN/IE 79
21.2.2 S7-300 to PN/IE 80
21.2.3 S7-400 to PN/IE 81
21.2.4 S7-1200 to PN/IE . 82
21.2.5 S7-1500 to PN/IE . 83
21.2.6 S7-mEC to PN/IE . 84
21.2.7 Box PC to PN/IE 85
21.2.8 Panel PC to PN/IE 86
21.2.9 WinAC RTX to PN/IE 87
21.3 PN/IE: Controller 1 = ET 200 CPU . 88
21.3.1 ET 200 CPU / ET 200 CPU 88
21.3.2 ET 200 CPU / S7-300 89
21.3.3 ET 200 CPU / S7-400 90
21.3.4 ET 200 CPU / S7-1200 . 91
21.3.5 ET 200 CPU / S7-1500 . 92
21.3.6 ET 200 CPU / WinAC RTX . 93
21.4 PN/IE: Controller 1 = S7-300 .. 94
21.4.1 (S7-300 / ET 200 CPU) 94
21.4.2 S7-300 / S7-300 95
21.4.3 S7-300 / S7-400 96
21.4.4 S7-300 / S7-1200 . 97
21.4.5 S7-300 / S7-1500 . 98
21.4.6 S7-300 / WinAC RTX 99
21.5 PN/IE: Controller 1 = S7-400 100
21.5.1 (S7-400 / ET 200 CPU) 100
21.5.2 (S7-400 / S7-300) 100
21.5.3 S7-400 / S7-400 . 101
21.5.4 S7-400 / S7-1200 102
21.5.5 S7-300 / S7-400 . 103
21.5.6 S7-400 / WinAC RTX . 104
21.6 PN/IE: Controller 1 = S7-1200 .. 105
21.6.1 (S7-1200 / ET 200 CPU) .. 105
21.6.2 (S7-1200 / S7-300) . 105
21.6.3 (S7-1200 / S7-400) . 105
21.6.4 S7-1200 / S7-1200 . 106
21.6.5 S7-1200 / S7-1500 . 107
21.6.6 S7-1200 / WinAC RTX . 108
21.7 PN/IE: Controller 1 = S7-1500 .. 109
21.7.1 (S7-1500 / ET 200 CPU) .. 109
21.7.2 (S7-1500 / S7-300) . 109
21.7.3 (S7-1500 / S7-400) . 109
21.7.4 (S7-1500 / S7-1200) 109
21.7.5 S7-1500 / S7-1500 . 110
21.7.6 S7-1500 / WinAC RTX . 111
21.8 PN/IE: Controller 1 = WinAC RTX 112
21.8.1 (WinAC RTX / ET 200 CPU) 112
21.8.2 (WinAC RTX / S7-300) . 112
21.8.3 (WinAC RTX / S7-400) . 112
21.8.4 (WinAC RTX / S7-1200) 112
21.8.5 (WinAC RTX / S7-1500) 112
21.8.6 WinAC RTX / WinAC RTX 113
21.9 PN/IE: Overview of communication types 114
22 Selection Aid: PROFIBUS (PB) . 115
22.1 PB: Content of the chapter 115
22.2 PB: Interfaces and communication types . 116
22.2.1 ET 200 CPU to PB . 116
22.2.2 S7-300 to PB .. 117
22.2.3 S7-400 to PB .. 118
22.2.4 S7-1200 to PB 119
22.2.5 S7-1500 to PB 120
22.2.6 S7-mEC to PB 121
22.2.7 Box PC to PB . 122
22.2.8 Panel PC to PB .. 123
22.2.9 WinAC RTX to PB .. 124
22.3 PB: Controller 1 = ET 200 CPU 125
22.3.1 ET 200 CPU / ET 200 CPU .. 125
22.3.2 ET 200 CPU / S7-300 . 126
22.3.3 ET 200 CPU / S7-400 . 127
22.3.4 ET 200 CPU / S7-1200 . 128
22.3.5 ET 200 CPU / S7-1500 . 129
22.3.6 ET 200 CPU / WinAC RTX 130
22.4 PB: Controller 1 = S7-300 131
22.4.1 (S7-300 / ET 200 CPU) 131
22.4.2 S7-300 / S7-300 . 132
22.4.3 S7-300 / S7-400 . 133
22.4.4 S7-300 / S7-1200 134
22.4.5 S7-300 / S7-1500 135
22.4.6 S7-300 / WinAC RTX . 136
22.5 PB: Controller 1 = S7-400 137
22.5.1 (S7-400 / ET 200 CPU) 137
22.5.2 (S7-400 / S7-300) 137
22.5.3 S7-400 / S7-400 . 138
22.5.4 S7-400 / S7-1200 139
22.5.5 S7-400 / S7-1500 140
22.5.6 S7-400 / WinAC RTX . 141
22.6 PB: Controller 1 = S7-1200 .. 142
22.6.1 (S7-1200 / ET 200 CPU) .. 142
22.6.2 (S7-1200 / S7-300) . 142
22.6.3 (S7-1200 / S7-400) . 142
22.6.4 S7-1200 / S7-1200 . 143
22.6.5 S7-1200 / S7-1500 . 144
22.6.6 S7-1200 / WinAC RTX . 145
22.7 PB: Controller 1 = S7-1500 .. 146
22.7.1 (S7-1500 / ET 200 CPU) .. 146
22.7.2 (S7-1500 / S7-300) . 146
22.7.3 (S7-1500 / S7-400) . 146
22.7.4 (S7-1500 / S7-1200) 146
22.7.5 S7-1500 / S7-1500 . 147
22.7.6 S7-1500 / WinAC RTX . 148
22.8 PB: Controller 1 = WinAC RTX 149
22.8.1 (WinAC RTX / ET 200 CPU) 149
22.8.2 (WinAC RTX / S7-300) . 149
22.8.3 (WinAC RTX / S7-400) . 149
22.8.4 (WinAC RTX / S7-1200) 149
22.8.5 (WinAC RTX / S7-1500) 149
22.8.6 WinAC RTX / WinAC RTX 150
22.9 PB: Overview of communication types . 151
23 Selection Aid: MPI 152
23.1 MPI: Content of the chapter . 152
23.2 MPI: Interfaces and communication types 153
23.2.1 ET 200 CPU to MPI 153
23.2.2 S7-300 to MPI 154
23.2.3 S7-400 to MPI 155
23.3 MPI: Controller 1 = ET 200 CPU .. 156
23.3.1 ET 200 CPU / ET 200 CPU .. 156
23.3.2 ET 200 CPU / S7-300 . 157
23.3.3 ET 200 CPU / S7-400 . 158
23.4 MPI: Controller 1 = S7-300 159
23.4.1 (S7-300 / ET 200 CPU) 159
23.4.2 S7-300 / S7-300 . 159
23.4.3 S7-300 / S7-400 . 160
23.5 MPI: Controller 1 = S7-400 161
23.5.1 (S7-400 / ET 200 CPU) 161
23.5.2 (S7-400 / S7-300) 161
23.5.3 S7-400 / S7-400 . 161
23.6 MPI: Overview of communication types 162
24 Selection Aid: SIMATIC Backplane Bus .. 163
24.1 Content of the chapter 163
24.2 SIMATIC backplane bus: interfaces and communication types 164
24.3 Controller 1 = S7-400 / Controller 2 = S7-400 . 164
24.4 Overview of communication types 165
25 Selection Aid: Serial Interface (PtP) 166
25.1 Content of the chapter 166
25.2 ET 200 CPU to PtP 167
25.3 S7-300 to PtP . 168
25.4 S7-400 to PtP . 169
25.5 S7-1200 to PtP 170
25.6 S7-1500 to PtP 171
25.7 S7-mEC to PtP 172
25.8 Box PC to PtP 173
25.9 Panel PC to PtP . 173
25.10 WinAC RTX to PtP . 173
25.11 Distributed station ET 200 174
26 Information on Part 2 175
27 ****** PART 3: Communication Types ****** 176
27.1 Structure and content . 176
28 Preliminary Remarks 177
28.1 Chapter: Characteristics 177
28.2 Chapter: Details of communication type .. 177
28.2.1 Purpose of this table 177
28.2.2 Structure of the table .. 178
28.2.3 Criteria of the table . 179
28.3 Chapter: Overview of user interfaces 181
28.4 Chapter: User interfaces .. 181
29 SIMATIC S7-specific Communication .. 183
29.1 Characteristics 183
29.2 Overview . 183
30 Global Data Communication .. 184
30.1 Characteristics 184
30.2 Details communication type . 185
30.3 Overview of user interfaces .. 186
30.4 User interface GD_SND, GD_RCV .. 187
30.4.1 Description . 187
30.4.2 Parameters for GD_SND .. 187
30.4.3 Parameters for GD_RCV .. 187
31 S7 Basic Communication 188
31.1 Characteristics 188
31.2 Details communication type . 189
31.3 Overview of user interfaces .. 190
31.4 User interface X_SEND/ X_RCV . 191
31.4.1 Description . 191
31.4.2 Parameters for X_SEND .. 191
31.4.3 Parameters for X_RCV . 191
31.5 User interface X_PUT, X_GET 192
31.5.1 Description . 192
31.5.2 Parameters for X_PUT . 192
31.5.3 Parameters for X_GET . 192
31.6 User interface I_PUT, I_GET 193
31.6.1 Description . 193
31.6.2 Parameters for I_PUT 193
31.6.3 Parameters for I_GET 193
32 S7 Communication .. 194
32.1 Characteristics 194
32.2 Details communication type . 195
32.3 Overview of user interfaces .. 197
32.4 User interface: Type "USEND / URCV" 198
32.4.1 Preliminary remarks 198
32.4.2 Description . 198
32.4.3 Parameters for type "USEND" .. 199
32.4.4 Parameters for type "URCV" 199
32.5 User interface: BSEND / BRCV 200
32.5.1 Description . 200
32.5.2 Parameters for BSEND 201
32.5.3 Parameters for BRCV . 201
32.6 User interface: Type "PUT, GET" . 202
32.6.1 Preliminary remarks 202
32.6.2 Description . 202
32.6.3 Parameters for type "PUT" 203
32.6.4 Parameters for type "GET" 203
33 PROFINET/Industrial Ethernet (PN/IE) . 204
33.1 Characteristics 204
33.2 Overview . 204
34 PN/IE: Open Communication with Send/Receive Blocks .. 205
34.1 Characteristics 205
34.2 Details communication type . 206
34.3 Overview of user interfaces .. 208
34.4 User interface AG_xSEND, AG_xRECV .. 209
34.4.1 Description . 209
34.4.2 Parameters for AG_SEND, AG_LSEND, AG_SSEND 210
34.4.3 Parameters for AG_RECV, AG_LRECV, AG_SSRECV .. 210
34.5 User interface FETCH, WRITE (Server) .. 211
35 PN/IE: Open Communication with “T Blocks” 212
35.1 Characteristics 212
35.2 Details communication type . 213
35.3 Overview of user interfaces .. 215
35.4 User interface TSEND / TRCV . 216
35.4.1 Description . 216
35.4.2 Parameters for TSEND 216
35.4.3 Parameters for TRCV . 216
35.5 User interface TUSEND / TURCV 217
35.5.1 Description . 217
35.5.2 Parameters for TUSEND .. 217
35.5.3 Parameters for TURCV 217
35.6 User interface for connection blocks 218
35.6.1 Description . 218
35.6.2 Parameters for TCON 218
35.6.3 Parameters for TDISCON 218
35.7 User interface TSEND_C / TRCV_C 219
35.7.1 Description . 219
35.7.2 Parameters for TSEND_C 219
35.7.3 Parameters for TRCV_C .. 220
35.8 User interface FETCH, WRITE (Server) .. 221
35.8.1 Description . 221
35.8.2 Parameters for FW_TCP .. 221
35.8.3 Parameters for FW_IOT 221
36 PN/IE: CBA 222
36.1 Characteristics 222
36.2 User interfaces 224
37 PN/IE: PNIO .. 225
37.1 Characteristics 225
37.2 Communication type - detailed . 226
37.3 Overview of user interfaces .. 227
37.4 User interface PNIO_SEND, PNIO_RECV .. 227
37.4.1 Description . 227
37.4.2 Parameters for PNIO_SEND 228
37.4.3 Parameters for PNIO_RECV 228
37.5 User interface DPRD_DAT, DPWR_DAT 229
37.5.1 Description . 229
37.5.2 Parameters for DPRD_DAT . 229
37.5.3 Parameters for DPWR_DAT 229
38 PROFIBUS (PB) 230
38.1 Characteristics 230
38.2 Overview . 230
39 PB: Open Communication with Send/Receive Blocks .. 231
39.1 Characteristics 231
39.2 Communication type - detailed . 232
39.3 Overview of user interfaces .. 233
39.4 User interface: AG_xSEND, AG_xRECV . 233
39.4.1 Description . 233
39.4.2 Parameters for AG_SEND, AG_LSEND .. 234
39.4.3 Parameters for AG_RECV, AG_LRECV .. 234
40 PB: FMS Communication 235
40.1 Characteristics 235
40.2 Communication type - detailed . 236
40.3 Overview of user interfaces .. 237
40.4 User interface: READ, WRITE, REPORT 237
40.4.1 Description . 237
40.4.2 Parameters for READ . 238
40.4.3 Parameters for WRITE . 238
40.4.4 Parameters for REPORT .. 238
41 PB: DP Communication .. 239
41.1 Characteristics 239
41.2 Communication type - detailed . 240
41.3 Overview of user interfaces .. 241
41.4 User interface DP_SEND, DP_RECV .. 241
41.4.1 Description . 241
41.4.2 Parameters for DP_SEND 242
41.4.3 Parameters for DP_RECV 242
41.5 User interface DPRD_DAT, DPWR_DAT 243
41.5.1 Description . 243
41.5.2 Parameters for DPRD_DAT . 243
41.5.3 Parameters for DPWR_DAT 243
42 Serial Interface . 244
42.1 Characteristics 244
42.2 Comparing the protocols: *ASCII* / 3964(R) / RK 512 . 244
42.2.1 Delimitation . 244
42.2.2 *ASCII* characteristics . 245
42.2.3 Characteristics 3964(R) 246
42.2.4 Characteristics RK 512 . 247
42.2.5 Communication type - detailed . 248
43 Overview of User Interfaces 249
43.1 Application in stations with CPU .. 249
43.2 Application in distributed stations without CPU 250
44 ET 200S: *ASCII* and 3964(R) . 251
44.1 Description . 251
44.2 Parameters for S_SEND .. 251
44.3 Parameters for S_RCV . 251
45 S7-300 CPU: *ASCII* / 3964(R) 252
45.1 Description . 252
45.2 Parameters for SEND_PTP .. 252
45.3 Parameters for RCV_PTP 252
46 S7 300 CPU: RK 512 253
46.1 Description . 253
46.2 Sending data .. 253
46.3 Fetching data .. 253
46.4 Parameters for SEND_RK 254
46.5 Parameters for SERVE_RK . 254
46.6 Parameters for FETCH_RK .. 255
46.7 Parameters for SERVE_RK . 255
47 CP 340: *ASCII* / 3964(R) 256
47.1 Description . 256
47.2 Parameters for P_SEND .. 256
47.3 Parameters for P_RCV . 256
48 CP 341: *ASCII* / 3964(R) 257
48.1 Description . 257
48.2 Parameters for P_SND_RK .. 257
48.3 Parameters for P_RCV_RK .. 257
49 CP 341: RK 512 258
49.1 Description . 258
49.2 Sending data .. 258
49.3 Fetching data .. 258
49.4 Parameters for P_SND_RK .. 259
49.5 Parameters for P_RCV_RK .. 259
49.6 Parameters for P_SND_RK .. 260
49.7 Parameters for P_RCV_RK .. 260
50 CP 440: *ASCII* / 3964(R) 261
50.1 Description . 261
50.2 Parameters for SEND_440 261
50.3 Parameters for REC_440 . 261
51 CP 441: *ASCII* / 3964(R) 262
51.1 Description . 262
51.2 Parameters for BSEND 263
51.3 Parameters for BRCV . 263
52 CP 441: RK 512 264
52.1 Description . 264
52.2 Sending data .. 264
52.3 Sending data .. 264
52.4 Parameters for BSEND 265
52.5 Parameters for BRCV . 266
52.6 Parameters for BSEND 266
52.7 Parameters for PUT 267
52.8 Parameters for GET 267
53 S7-1200: Freeport 268
53.1 Description . 268
53.2 Parameters for SEND_PTP .. 268
53.3 Parameters for RCV_PTP 268
54 S7-1500, S7-300, S7-400: Freeport / 3964(R) 269
54.1 Description . 269
54.2 Parameters for Send_P2P 269
54.3 Parameters for Receive_P2P 269
55 Information on Part 3 270
56 ******* PART 4: Other Controllers ********** .. 271
56.1 Structure and content . 271
56.2 Preliminary remarks 271
57 Modbus/TCP . 272
57.1 Characteristics 272
57.2 Overview of User Interfaces . 272
57.3 S7-1200: Modbus client 273
57.3.1 Description . 273
57.3.2 Parameter MB_CLIENT 273
57.4 S7-1200: Modbus server .. 274
57.4.1 Description . 274
57.4.2 Parameter MB_SERVER . 274
58 Modbus Serial (RTU Format) .. 275
58.1 Characteristics 275
58.2 Overview of user interfaces .. 276
58.2.1 Connection via CP or CM . 276
58.2.2 Modbus master 276
58.2.3 Modbus slave . 277
58.3 1SI: Modbus master 278
58.4 1SI: Modbus slave .. 278
58.4.1 Description . 278
58.4.2 Parameter S_MODB .. 278
58.5 CP 341: Modbus master 279
58.5.1 Description . 279
58.5.2 Parameter P_SND_RK . 279
58.5.3 Parameter P_RCV_RK . 279
58.6 CP 341: Modbus slave . 280
58.6.1 Description . 280
58.6.2 Parameter FB80 . 280
58.7 CP 441-2: Modbus master 281
58.7.1 Description . 281
58.7.2 Parameter BSEND . 281
58.7.3 Parameter BRCV 281
58.8 CP 441-2: Modbus slave .. 282
58.8.1 Description . 282
58.8.2 Parameter FB180 282
58.9 CM 1241: Modbus master 283
58.9.1 Description . 283
58.9.2 Parameter MB_MASTER . 283
58.10 CM 1241: Modbus slave 284
58.10.1 Description . 284
58.10.2 Parameter MB_SLAVE . 284
58.11 CM PtP / CM PtP HF: Modbus master . 285
58.11.1 Description . 285
58.11.2 Parameter Modbus_Master .. 285
58.12 CM PtP / CM PtP HF: Modbus slave 286
58.12.1 Description . 286
58.12.2 Parameter Modbus_Slave 286
59 Information on Part 4 287
60 ******* PART 5: Appendix ****************** 288
60.1 Structure and content . 288
61 Related Literature 289
62 Terms 292
63 Abbreviations 294
63.1 In the entire document 294
63.2 Only in tables .. 295
64 Background Information . 296
64.1 ISO/OSI reference model . 296
64.2 Communication models 297
64.2.1 Client and server 297
64.2.2 Master and slave 298
64.2.3 Consumer and provider 298
64.3 Confirmation 299
65 Discussed Components .. 300
65.1 SIMATIC CPU 300
65.2 SIMATIC CP or CM 302
65.2.1 Application in stations with CPU 302
65.2.2 Application in distributed stations without CPU 303
66 History 304
66.1 Versions 304
66.2 Main changes 304 |