Win10 Siemens(西门子) WinCC 7.5 SP2 OpcUa 开发

388 阅读2分钟

Siemens WinCC OpcUA Developer Tutorials

WinCC is a human-machine interface software based on Microsoft Windows operating system, designed to provide users with an intuitive and reliable monitoring and control system. It has a user-friendly graphical user interface and powerful features that enable users to monitor and manage complex industrial processes and equipment in real time.

This tutorial is designed to teach you how to do WinCC OpcUA development.

Brief Introduction

In automation technology, there are many different programmable logic controllers (PLCS) connected to SCADA and HMI systems. Most of these PLCS have dedicated communication protocols to implement process information connected to them. In order to be favored by device or machine manufacturers, SCADA or HMI systems must be flexible and must support multiple of these protocols.

In the Siemens HMI system SIMATIC WinCC, the drivers of the individual communication protocols are called "channels". The base package for WinCC V7 currently contains 9 different channels. In addition, Allmendinger's engineers have implemented four additional channels that can be purchased to extend WinCC's connectivity. Since the Siemens HMI did not have an integrated OPC UA channel until V7.0 SP3, Allmmendinger implemented a full native OPC client as an integrated channel driver for connecting to an external OPC UA server that provides data access.

This tutorial will be developed using WinCC 7.5 SP2.

Technology Stack

SoftwareProgramming language
Win10No requirement
Siemens WinCCNo requirement
JDKJava
IntelliJ IDEAJava+Springboot
UAExpertNo requirement

Technical Framework

Network Topology

如何部署OPCUA驱动_物联网边缘计算(IoT Edge)-阿里云帮助中心

Softwares

SoftwareVersionDownload
Win10x64
Siemens WinCC7.5 Sp2pan.baidu.com/s/1AdO_AOKk…
IntelliJ IDEA2024
JDK8+
UAExpert1.6.3 448

Installation

Skip

Win10

Skip

Siemens WinCC 7.5 SP2

Skip

Siemens official website download

support.industry.siemens.com/cs/document…

Personal shared download url

pan.baidu.com/s/1AdO_AOKk…

Baidu netdisk

pan.baidu.com/s/1AdO_AOKk…

CSDN.net

download.csdn.net/download/mi…

Install WinCC 7.5 SP2

Skip

Install Standard Version

Skip

Install Upd11-Upd17 package

Skip

Crack

baijiahao.baidu.com/s?id=176195…

Check License

在这里插入图片描述

IntelliJ IDEA

Skip

UAExpert

Skip

Quickstart Guide

Demo project

OpcUa Client Demo

github.com/Cavan2477/o…

WinCC OpcUa Server Demo

Skip

Build project

  1. Create stand-alone project 在这里插入图片描述
  2. Create variables 在这里插入图片描述
  3. UI associated variable 在这里插入图片描述 在这里插入图片描述

Launch WinCC application

  1. Launch application
  2. Edit the value of the variables in the UI 在这里插入图片描述
  3. Confirm the status of the OpcUaServerWinCC service in Services.msc 在这里插入图片描述
  4. Record the OpcUa Server configuration information provided by the WinCC project 在这里插入图片描述

UAExpert OP

  1. Create server 在这里插入图片描述
  2. Input OpcUa server informations 在这里插入图片描述
  3. Connect to the server 在这里插入图片描述 4ed37192911566ad7dc8fa68e41c8d5e.png 89fce415b9447f2af16f9655064070b7.png
  4. Confirm the point value information 在这里插入图片描述
  5. View point value attributes 在这里插入图片描述

OpcUa Client

  1. Input OpcUa Server information
  2. Connect to the server
  3. Read point value 在这里插入图片描述

OpcUa Server

  1. Change points value
  2. View points value in UAExpert
  3. The OpcUa client reads the new value of node again

Perform the preceding steps by yourself, do not take a screenshot guide.

FAQ