Connection with WinCC visualisation

0
Within TIA Portal it is possible to set up a datablock that can communicate with WinCC. When the user puts in a max range value for example then this gets put into a specific adress. After that we can use this value in the TIA Portal project. Is there a similair way to do this within AX yet or not? And if so, how do you do it in AX? And if not, is there a way to re-use the TIA Portal DB's or to use an OPC-UA server for this purpose? Thanks in advance :)
asked
2 answers
2

As explained in the following thread:

https://community.mendix.com/link/spaces/simatic-ax/questions/141629


Right now, SIMATIC AX does not have a built-in or native connection mechanism to WinCC Unified like the classic DB–HMI setup in TIA Portal. So you cannot directly bind AX variables to HMI data blocks the same way you do in TIA.


The recommended way is to use an OPC UA Server. You activate the OPC UA server in the hardware configuration and expose your AX variables using the {S7.extern=...} and {OpcUa=...} pragmas. After compiling and loading everything, you export the nodeset.xml and import (or browse live) in WinCC Unified to map the variables. This is the cleanest and most future-proof solution.


Another option is using “coupling DBs”. With the import-db command, you can generate an AX library from existing TIA Portal DBs. This allows you to reuse your HMI data blocks if you already have a DB-based architecture and don’t want to redesign it.


If this resolves the issue, please close the topic.


answered
0

The connection to WinCC is made with WinCC V8 and not with WinCC Unified. In general. We have some HMI DB's which contains the status of valves, measurement for SCADA and commands from SCADA.


Can you create DB with addresses (not optimized) like DB12.DBD9?

answered