Internal data points of the OPC UA server
The WinCC OA OPC UA server uses on central data point of the type _OPCUAPvssServer for the general status displays and the configuration parameters. The name of the data point is by default OPCUAPvssServer. The manager number is not part of the name, as typically only one OPC UA server is present in a project and this can be started with an arbitrary manager number. The name of the data point can be set in the config configuration file (see Possible Config Entries for the OPC UA Server).
_OPCUAPvssServer
Data point element | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Config.EnableLogging | uint |
Activates the logging in the OPC UA SDK (= UaTrace). No logging = 0 (default) |
||||||||||||||||
Config.DisableDataUpdate | uint |
If DisableDataUpdate is set to 1, no data values are updated in the OPC UA process space. In case that the values change in the WinCC OA project, the value is marked as "Uncertain" in the OPC UA process space. If the data point element is reset to 0 current values are transmitted to the client, without any activity on client side. Default value = 0 |
||||||||||||||||
Config.DisableWrite | uint | If DisableWrite is set to 1 the UA server does not allow write requests by the client and returns the error code WriteNotAllowed. By setting DisableWrite to 2 it is possible to silently discard the write request without any error on the client side. | ||||||||||||||||
Config.CNSViews | dyn_string | This data point element contains all CNS views which are linked to the server for creating the address space. | ||||||||||||||||
Config.GroupAuthentication | dyn_uint | Group authentication can be enabled via this data point element. Per default this element is empty, which means group authentication is not active. If you define group IDs, in addition to the user authentication the server cecks whether the specified user is a member of at least one of the defined groups. | ||||||||||||||||
Config.AlarmPrioMapping | dyn_string |
This data point element contains all configured assignments of WinCC OA alert classes to OPC UA severities. Whenever the OPC UA server receives an alert from WinCC OA, it looks for configured severities. If a severity is configured for the alert class, the alert is forwarded using it, otherwise the WinCC OA alert priority is used as OPC UA severity. The list contains one entry for every assignment in the format
|
||||||||||||||||
Config.StatusMapping | dyn_string |
This data point element contains all configured assignments of user bits to OPC UA status codes. Whenever the value of the server data point element changes, it checks for mapped user bits. When a user bit with an assigned status code is set, the server forwards the value change with the status code. If there are multiple user bits with an assigned status code set, the highest one will be used. The list contains one entry for every assignment in the format
|
||||||||||||||||
Config.DatapointLogging | bit32 |
This data point element is used to enable or disable datapoint logging.
Important: The bit count starts with 1.
Tip: The bits can be combined as needed.
|
||||||||||||||||
Command.DebugPI | bool | Returns the current data point 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 connected to the OPC UA server. | ||||||||||||||||
State.CNSViews | dyn_int |
Indicates the current state of the respective 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 data point 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 data point element is only updated when Session Logging is
enabled on the data point element
|
||||||||||||||||
State.DatapointLogging.Write | string |
This data point element is updated whenever an OPC UA client changes values. It contains messages in the format:
For more information see Enable Write Logging. This data point element is only updated when Write Logging is
enabled on the data point element
|
||||||||||||||||
State.DatapointLogging.Method | string |
This data point element is updated whenever an OPC UA Method is called. It contains messages in the format:
For more information see Enable Method Logging. This data point element is only updated when Method Logging is
enabled on the data point element
|