UASessionConnectInfo

UASessionConnectInfo specifies the necessary information for OPC UA connection establishment.

Name

Data type

Information/possible settings

SessionName

STRING

Defines the name of the session assigned by the client. The name is shown in the diagnostics information of the server. If the String is empty, following default value is used  "urn:<hostname>:Lenze:Controller:OPCUAClient"

ApplicationName

 

STRING

Defines the readable name of the OPC UA client application. If the String is empty, following default value is used 

"Lenze Controller OPC UA Client@<hostname>"

SecurityMsgMode

UASecurityMsgMode

Defines the OPC UA message security mode to be used.

SecurityPolicy

UASecurityPolicy

Defines the OPC UA security policy to be used.

ServerUri

 

STRING

Currently not supported

This parameter can be empty.

CheckServerCertificate

BOOL

Flag indicating if the server certificate should be checked with the trust list of the client application.

Note:

  • The subject or alternative name in the server certificate must match to the used ServerEndpointUri of the UA_Connect function block.

  • The Lenze OPC UA Server supports the device hostname (not IP address) as subject name.

DisableServerCertificate

HostnameCheck

 

BOOL

Flag indicating if the hostname in the used server certificate should be checked with the hostname of the ServerEndpointUrl of the UA_Connect.

Normally this should match, because otherwise an attacker could use any trusted certificate to fake a server's identity.

TransportProfile

 

UATransportProfile

Defines the transport profile. TCP is currently supported.

UserIdentityToken

UAUserIdentityToken

Defines the user identity token. Username and password is currently supported. The transmission of the username and password to the OPC UA Server is encrypted.

VendorSpecificParameter

VendorSpecificParameter

Currently not supported.

SessionTimeout

TIME

Defines how long the session will survive when there is no connection. The Client limits are

min: 10 sec. and max: 15 min

The default is, if parameter is not set 60 sec.

Note:

The Server can limit the requested value by its own.

MonitorConnection

TIME

Currently not supported.

Defines the interval time to check the connection.

Note; An automatic reconnect is implemented.

LocaleIDs

 

ARRAY [1..5] OF STRING[6]

Currently not supported.

According to OPC 10000-3. With a two letter ISO639 code for language and a three letter ISO3166 code for the country/region. Sample: en-US, zh-CHS