Table of contents
Communication
10 Function Manual, 11/2019, A5E03735815-AH
9.3.4 OPC UA server interface configuration ................................................................................ 199
9.3.4.1 What is a server interface? .................................................................................................. 199
9.3.4.2 Creating a user-defined server interface ............................................................................. 201
9.3.4.3 Using OPC UA companion specifications ............................................................................ 206
9.3.4.4 Rules for OPC UA XML files ................................................................................................ 213
9.3.4.5 Data types for companion specifications ............................................................................. 214
9.3.4.6 Creating a server interface for companion specification ...................................................... 218
9.3.4.7 Creating a server interface for reference namespace ......................................................... 223
9.3.4.8 Notes on configuration limits when using server interfaces ................................................. 226
9.3.5 Providing methods on the OPC UA server .......................................................................... 227
9.3.5.1 Useful information about server methods ............................................................................ 227
9.3.5.2 Boundary conditions for using server methods .................................................................... 231
9.3.6 Using diagnostics options .................................................................................................... 233
9.3.6.1 Diagnostics of the OPC UA server ....................................................................................... 233
9.3.6.2 Server state transition diagnostics ....................................................................................... 235
9.3.6.3 Session state transition diagnostics ..................................................................................... 236
9.3.6.4 Check for security events ..................................................................................................... 237
9.3.6.5 Request of a remote client failed ......................................................................................... 238
9.3.6.6 Subscription diagnostics ...................................................................................................... 240
9.3.6.7 Summarizing diagnostics ..................................................................................................... 243
9.4 Using the S7-1500 CPU as an OPC UA client .................................................................... 245
9.4.1 Overview and requirements ................................................................................................. 245
9.4.2 Useful information about the client instructions ................................................................... 246
9.4.3 Number of client instructions that can be used simultaneously ...........................................
248
9
.4.4 Example configuration for OPC UA ..................................................................................... 249
9.4.5 Creating client interfaces ..................................................................................................... 251
9.4.6 Determine server interface online ........................................................................................ 260
9.4.7 Using multilingual texts ........................................................................................................ 264
9.4.8 Rules for the access to structures ........................................................................................ 266
9.4.9 Using connection parameter assignment ............................................................................ 268
9.4.9.1 Creating and configuring connections ................................................................................. 268
9.4.9.2 Handling of the client certificates of the S7-1500 CPU ........................................................ 272
9.4.9.3 User authentication .............................................................................................................. 275
9.4.9.4 Using a configured connection ............................................................................................. 276
9.5 Tips and recommendations .................................................................................................. 284
9.5.1 Rules for subscriptions ......................................................................................................... 284
9.5.2 Rules for the user program .................................................................................................. 285
9.5.3 Master copies for OPC UA communication ......................................................................... 286
10 Routing .................................................................................................................................................. 288
10.1 Overview of the routing mechanisms of S7-1500 CPUs ..................................................... 288
10.2 S7 routing ............................................................................................................................. 289
10.3 IP forwarding ........................................................................................................................ 294
10.4 Data record routing .............................................................................................................. 301
10.5 Virtual interface for IP-based applications ........................................................................... 303