How to use the OPC data logger OPC recording data from the DataLogger by OPC UA S7-1500

OPC the DataLogger, a user can meet various requirements of the OPC data logger, compatible with OPC DA 2.x Compliant Servers OPC and the UA, can be applied to a variety of operating systems, various database processing.

With the relatively new Siemens S7-1500 PLC in OPC UA server capabilities, real-time access to production data now open to third-party applications. Thus, these applications can now be locked in the back of the previously proprietary communications hardware driver to communicate.

OPC Data Logger of the OPC UA client interface allows users to quickly and easily connect to the S7-1500 PLC, and records the data to their choice of data storage options, without intermediate application. This article describes the high-level steps S7-1500 controller records data from involved.

The current series S7-1500 PLC with embedded OPC UA server in the controller, providing a faster, more efficient channels for a more reliable and secure communications. In addition, because it is standards-based, so you can better compatibility with third-party systems directly support the OPC UA is connected directly to the S7-1500 controller.

Compared with the traditional Siemens TCP (RFC1006 ISO over TCP) protocol, S7-1500 in the OPC UA interface also has some other advantages:

  • higher efficiency

  • Greater security

Since the OPC UA allows report exceptions (the RBE), and the maximum capacity of transmission packet size larger array, Siemens OPC UA S7-1500 integrated controller preferred method, because these methods can improve efficiency.

As the OPC Data Logger OPC UA support itself, so it can connect directly to the S7-1500 embedded OPC UA server and start the process of recording your data.

Step 1: Creating an OPC data logger connected UA

First, the OPC must be configured with the data logger OPC UA S7-1500 the connection to the server (where the data will come from). This involves defining a standard OPC UA data collector in the OPC Data Logger project.

1_DataCollector.png

To do this, you need to use the TIA Portal configuration and programming software access S7-1500, in order to determine the OPC UA server endpoint available (OPC UA server configuration section is located in the TIA Portal).

2_TIAPortal.png

Step 2: Create OPC Data Logger logs and task groups

After creating the Data Collector, you must now also add tasks and journal log groups. Logging logging task will be to drive all other components, and is the object linking collectors, presentation, storage and projects.

3_LoggingTask.png

The item to be set is a collection of records; logging task may comprise one or more logging groups.

4_GroupItemAdd.png

Step 3: Create OPC Data Logger data representation

By selecting a data point to be recorded, the configuration data must be represented, i.e., to the selected recording mode when the actual formatted file or database data.

5_DataPresentation.png

Step 4: Create OPC Data Logger data storage

After creating all the other components, you need to add data storage components. OPC Data Logger support log on to ODBC-compliant databases, SQL and Oracle databases, as well as features a simple CSV logging.

6_DataStorage.png

Step 5: Test Data Logger UA connected with S7-1500

Configuring, Enabling and connecting each component can be saved and test OPC Data Logger project. OPC Data Logger includes a convenient "test run" function, you can gradually complete the configuration, make all the necessary connections and test your settings to ensure that your data needs to be recorded in accordance with.

7_TestRun.png

The end of the matter content of the article, I hope for your help ~


Guess you like

Origin blog.51cto.com/14467432/2434615