
Table of contents
Communication
Function Manual, 10/2018, A5E03735815-AG 9
6.11 Secure Open User Communication ........................................................................................ 94
6.11.1 Secure OUC of an S7-1500 CPU as TLS client to an external PLC (TLS server) ................. 94
6.11.2 Secure OUC of an S7-1500 CPU as TLS server to an external PLC (TLS client) ................. 97
6.11.3 Secure OUC between two S7-1500 CPUs ............................................................................. 99
6.11.4 Secure OUC via CP interface ............................................................................................... 103
6.11.5 Secure OUC with Modbus TCP ............................................................................................ 108
6.11.6 Secure OUC via e-mail ......................................................................................................... 109
7 S7 communication .............................................................................................................................. 114
8 Point-to-point link ................................................................................................................................ 123
9 OPC UA communication ..................................................................................................................... 128
9.1 What you need to know about OPC UA ............................................................................... 128
9.1.1 OPC UA and Industrie 4.0 .................................................................................................... 128
9.1.2 OPC UA for S7-1500 CPUs .................................................................................................. 128
9.1.3 General features of OPC UA ................................................................................................ 130
9.1.4 From the Classic OPC interface to OPC UA ........................................................................ 131
9.1.5 Addressing nodes ................................................................................................................. 132
9.1.6 Mapping of data types........................................................................................................... 136
9.1.7 What you need to know about OPC UA clients .................................................................... 138
9.2 Security at OPC UA .............................................................................................................. 143
9.2.1 Security settings .................................................................................................................... 143
9.2.2 Certificates pursuant to ITU X.509 ........................................................................................ 144
9.2.3 Certificates with OPC UA ...................................................................................................... 147
9.2.4 Creating self-signed certificates ............................................................................................ 148
9.2.5 Generating PKI key pairs and certificates yourself ............................................................... 149
9.2.6 Secure transfer of messages ................................................................................................ 152
9.3 Using the S7-1500 as an OPC UA server ............................................................................ 155
9.3.1 Useful information about the S7-1500 CPU OPC UA server................................................ 155
9.3.1.1 The OPC UA server of the S7-1500 CPUs ........................................................................... 155
9.3.1.2 End points of the OPC UA server ......................................................................................... 157
9.3.1.3 Runtime behavior of the OPC UA server .............................................................................. 159
9.3.1.4 Diagnostics of the OPC UA server ....................................................................................... 161
9.3.2 Configuring access to PLC tags ........................................................................................... 163
9.3.2.1 Managing write and read rights ............................................................................................ 163
9.3.2.2 Managing write and read rights for a complete DB .............................................................. 165
9.3.2.3 Accessing OPC UA server data ............................................................................................ 166
9.3.2.4 Export OPC UA XML file ....................................................................................................... 167
9.3.3 Configuring the OPC UA server of the S7-1500 CPU .......................................................... 168
9.3.3.1 Enabling the OPC UA server ................................................................................................ 168
9.3.3.2 Access to the OPC UA server .............................................................................................. 170
9.3.3.3 General settings of the OPC UA server ................................................................................ 172
9.3.3.4 Settings of the server for subscriptions ................................................................................. 173
9.3.3.5 Handling client and server certificates .................................................................................. 175
9.3.3.6 Handling of the client certificates of the S7-1500 CPU ......................................................... 180
9.3.3.7 Generating server certificates with STEP 7 .......................................................................... 183
9.3.3.8 Editing the security settings of the OPC UA server. ............................................................. 186
9.3.3.9 User authentication ............................................................................................................... 189
9.3.3.10 Users and roles with OPC UA function rights ....................................................................... 190
9.3.3.11 Licenses for the OPC UA server ........................................................................................... 192