ST_OpcUAServerInfo
ST_OpcUAServerInfo contains session information of a TwinCAT OPC UA Server.
Syntax
TYPE ST_OpcUAServerInfo :
STRUCT
nReserved : UDINT;
nCummulatedSessionCount : UDINT;
nCurrentSessionCount : UDINT;
nRejectedSessionCount : UDINT;
nSecurityRejectedSessionCount : UDINT;
nSessionTimeoutCount : UDINT;
nCurrentSubscriptionCount : UDINT;
nRejectedRequestCount : UDINT;
nSecurityRejectedRequestCount : UDINT;
END_STRUCT
END_TYPE
Parameter
Name | Type | Description |
---|---|---|
nReserved | UDINT | Placeholder. |
nCummulatedSessionCount | UDINT | Total number of client sessions since the server was started. |
nCurrentSessionCount | UDINT | Total number of current client sessions. |
nRejectedSessionCount | UDINT | Total number of sessions rejected by the server. |
nSecurityRejectedSessionCount | UDINT | Total number of sessions rejected by the server for security reasons (example: incorrect combination of user name and password). |
nSessionTimeoutCount | UDINT | Total number of sessions that had a timeout. |
nCurrentSubscriptionCount | UDINT | Total number of current subscriptions in the server. |
nRejectedRequestCount | UDINT | Total number of failed requests. |
nSecurityRejectedRequestCount | UDINT | Total number of failed requests for security reasons. |