Unbenanntes Dokument
creative writing work online
mfa creative writing programs online | Register
-->
Home ETM FAQ How is OPC UA used?

Email Print

How is OPC UA used?

Date added:
Thursday, 30 September 2010
Last revised:
Tuesday, 25 October 2011
Hits:
9773
Rating:
 
Vote for this:
Good - Bad

Answer

In principle, there are two possibilities to use OPC UA with WinCC OA:
- WinCC OA provides an OPC UA server, which gives other applications access to WinCC OA data via the OPC UA client.
- WinCC OA uses an OPC UA client for data access on an OPC UA server.
 

WinCC OA project with an OPC UA server:

All data to be accessed via OPC UA must be defined within two data-point groups. The allocation of data-point "Items" (readable, writeable) is carried out via the data-point groups OPCUARead and OPCUAWrite.
The address space in the server is hierarchically organised and is a reflection of the WinCC OA data structure.
Hierarchic browsing is allowed for optional clients.
Within the groups OPCUARead and OPCUAWrite, parameters are set in the WinCC OA system management of the data point groups. The WinCC OA OPC UA server reads both of these groups during booting in its PABB (process image). In PABB, the WinCC OA configs _online and_original are used for data values.
Settings for the WinCC OA OPC UA server are carried out in the WinCC OA configuration file in the section [opcuasrv], when the entry for all WinCC OA OPC UA servers applies, or in the section [opcuasrv_x], when the entry for a particular WinCC OA OPC UA server applies (x stands for the manager number).
Information for the WinC OA OPC UA server is stored in the internal data point of type _OPCUAPvssServer.
Use of the WinCC OA OPC UA client:


Connection and startup routine:

When a driver is started up, the servers to which connection is requested are read out from the WinCC OA configuration file. At the same time, the first connection attempt to all active servers is started by the client. In the event of a failure, another connection attempt will be started after a period that can be specified in in the Reconnect Timer entry in the client´s parameter panel.
As soon as the connection to the server has been set up, browsing among the items is possible. A selection of nodes from which data should be received, or to which data should be sent, can be carried out before the browsing.
When a peripheral address has been defined, the driver will initiate the specified subscription and add it to its Monitored Items. Each subscription contains a number of its Monitored Items. From this point in time, data can be received from the Monitored Items. A general query can be put through to all servers, to just one server or only to a subscription. The client has the opportunity to set up connections to several servers simultaneously (only the UA Native Binary is supported).
 

Setting parameters:

Parameters for the WinCC OA OPC UA client are set on the server´s panel for parameter setting, in which parameters can be individually set for each connection from the client to a server and are stored in the internal connection data point, type _OPCUAServer.
Parameters for a subscription are set on the panel for this purpose.
Static settings for the WinCC OA OPC UA client are defined in the Config file in the section [opcua] (see Possible Config Entries of the OPC UA Clients in Help).
 

Keywords for this item

Keywords

65 items are tagged with 3.10   55 items are tagged with 3.11   13 items are tagged with 3.12   12 items are tagged with 3.13   10 items are tagged with 3.14   26 items are tagged with 3.15   1 items are tagged with 3.16   31 items are tagged with 3.8   117 items are tagged with 3.9   4 items are tagged with Activation Siemens Helpdesk   7 items are tagged with Alarming   102 items are tagged with ALL Versions   5 items are tagged with Archiving   4 items are tagged with C# API   21 items are tagged with Connectivity   1 items are tagged with Continuous delivery   1 items are tagged with CSS   1 items are tagged with Desktop UI   3 items are tagged with Device Management   8 items are tagged with Distributed Systems   24 items are tagged with Engineering   4 items are tagged with HMI   60 items are tagged with Installation / Configuration   106 items are tagged with Linux   3 items are tagged with Modbus   6 items are tagged with OOP   40 items are tagged with Programming / Scripting   83 items are tagged with PVSS   25 items are tagged with Redundancy   18 items are tagged with Renaming   4 items are tagged with Reporting   2 items are tagged with S7+   1 items are tagged with Security   2 items are tagged with SmartSCADA   64 items are tagged with Solaris   106 items are tagged with Special Functions / Features   1 items are tagged with Support   4 items are tagged with TLS Gateway   4 items are tagged with Ultralight   1 items are tagged with User Days   83 items are tagged with User Interface   140 items are tagged with WinCC Open Architecture   129 items are tagged with Windows  

Search FAQ


            Forgot login? | Register