Internal datapoints of the OPC UA server
The WinCC OA OPC UA server uses a central datapoint of the type _OPCUAPvssServer for general status displays and configuration parameters. By default, this datapoint is named OPCUAPvssServer. The manager number is not included in the name, as typically only one OPC UA server is present in a project, and it can be started with any manager number. You can set the datapoint name in the config configuration file (see Possible Config Entries for the OPC UA Server).
_OPCUAPvssServer
| Datapoint element | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Config.EnableLogging | uint |
Enables logging in the OPC UA SDK (UaTrace). No logging = 0 (default) |
||||||||||||||||
| Config.DisableDataUpdate | uint |
If set to 1, no data values are updated in the OPC UA process space. If values change in the WinCC OA project, the value is marked as "Uncertain" in the OPC UA process space. If this element is reset to 0, current values are sent to the client automatically, without any client action. Default value = 0 |
||||||||||||||||
| Config.DisableWrite | uint |
|
||||||||||||||||
| Config.CNSViews | dyn_string | This element contains all CNS views linked to the server for creating the address space. | ||||||||||||||||
| Config.GroupAuthentication | dyn_uint | Group authentication can be enabled with this element. By default, this element is empty, so group authentication is not active. If you define group IDs, the server checks whether the specified user is a member of at least one of the defined groups, in addition to user authentication. | ||||||||||||||||
| Config.AlarmPrioMapping | dyn_string |
This element contains all configured assignments of WinCC OA alert classes to OPC UA severities. When the OPC UA server receives an alert from WinCC OA, it checks for configured severities. If a severity is set for the alert class, the alert is forwarded using it. Otherwise, the WinCC OA alert priority is used as the OPC UA severity. The list contains one entry for each assignment in the format
|
||||||||||||||||
| Config.StatusMapping | dyn_string |
This element contains all configured assignments of user bits to OPC UA status codes. When the value of the server datapoint element changes, it checks for mapped user bits. If a user bit with an assigned status code is set, the server forwards the value change with that status code. If multiple user bits with assigned status codes are set, the highest one is used. The list contains one entry for each assignment in the format
|
||||||||||||||||
| Config.DatapointLogging | bit32 |
This element enables or disables datapoint logging.
Important:
Bit numbering starts at
1. Tip:
You can combine multiple bits
as needed. |
||||||||||||||||
| Command.DebugPI | bool | Returns the current datapoint elements enabled by the OPC UA
server and their UaNodeIds to the log file.
Note:
The debug flag "-dbg 10" is required for
the OPC UA server; otherwise, no information is written to the
log files. |
||||||||||||||||
| State.ClientsConnected | uint | Number of clients currently connected to the OPC UA server. | ||||||||||||||||
| State.CNSViews | dyn_int |
Shows the current state of each CNS view.
|
||||||||||||||||
| State.MaxNumberOfClients | bool |
Indicates whether the maximum number of client connections has been reached. TRUE = maximum number reached FALSE = maximum number not reached |
||||||||||||||||
| State.DatapointLogging.Session | string |
This element is updated whenever a client connects or disconnects from the server. It contains messages in the format:
For more information, see Enable Session Logging. This element is only updated when Session Logging is enabled in
|
||||||||||||||||
| State.DatapointLogging.Write | string |
This element is updated whenever an OPC UA client changes values. It contains messages in the format:
For more information, see Enable Write Logging. This element is only updated when Write Logging is enabled in
|
||||||||||||||||
| State.DatapointLogging.Method | string |
This element is updated whenever an OPC UA Method is called. It contains messages in the format:
For more information, see Enable Method Logging. This element is only updated when Method Logging is enabled in
|