Using Connection Parameter Assignment; Creating And Configuring Connections - Siemens SIMATIC S7-1500 Function Manual

Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

OPC UA communication
9.4 Using the S7-1500 CPU as an OPC UA client
9.4.9

Using connection parameter assignment

9.4.9.1

Creating and configuring connections

With the instructions for OPC UA clients, you create a user program that exchanges data
with an OPC UA server. A series of system data types are required for this.
To simplify your work with these system data types, a connection parameter assignment for
OPC UA clients is available starting in STEP 7 (TIA Portal) Version 15.1.
Use of the connection parameter assignment is optional and not mandatory. You can also
manually create the required system data types.
We use an example to make the description easier to follow, see description of the example
(Page 249).
Opening the connection parameter assignment
To configure the connection to an OPC UA server, follow these steps:
1. In the "OPC UA communication" area, double-click the client interface whose parameters
you want to assign in the project tree.
For the example configuration: Double-click the "ProductionLine" client interface.
The section "Create client interface (Page 251)" describes how to create a client
interface.
2. Click the "Properties" tab (Inspector window) if the tab is not already displayed.
STEP 7 now displays the connection parameter assignment for the instructions of the
OPC UA client.
The "General" tab is open.
3. Click on the "Configuration" tab and set the connection to the OPC UA server.
Setting the connection parameters
1. Select a descriptive name for the session. For the example, select the name "OPC UA
Connection to ProductionLine".
2. In the "Address" field, enter the IP address of the OPC UA server to which your user
program (that operates as an OPC UA client) is to establish a connection. In the example
configuration, the CPU that controls the production line has the IP address "192.168.1.1".
A connection to the OPC UA server of this CPU is to be established. For this reason, you
enter this IP address in the "Address" field. In this case, the OPC UA server uses the
default port 4840.
Alternatively, you can enter a valid DNS name in the "Address" field. The length of the
DNS name is limited to 242 characters.
If the address is not valid, the error message is shown: "Enter a valid address".
If the string of the "Address", "Port" and "Path" fields contains more than 254 characters,
an error message is also displayed.
268
Function Manual, 11/2019, A5E03735815-AH
Communication

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents