ST_UASessionConnectInfo
Syntax
TYPE ST_UASessionConnectInfo:
STRUCT
sApplicationName : STRING(MAX_STRING_LENGTH);
eSecurityMode : E_UASecurityMsgMode;
eSecurityPolicyUri : E_UASecurityPolicy;
eTransportProfileUri : E_UATransportProfile;
tSessionTimeout : TIME;
tConnectTimeout : TIME;
END_STRUCT
END_TYPE
Values
Name | Description |
---|---|
sApplicationUri (obsolete) | Application Uri maximum string length 255. |
sApplicationName | Application name with a maximum string length of 255. |
eSecurityMode | Security message mode. For available modes see E_UASecurityMsgMode. |
eSecurityPolicyUri | Security policy Uri. For available security policy Uri see E_UASecurityPolicy. |
eTransportProfileUri | Transport profile Uri. For available transport profile Uri see E_UATransportProfile; |
stUserIdentTokenType | Structure with authentication data for logging on to the OPC UA Server. Full description under ST_UAUserIdentityTokenType. |
tSessionTimeout | Session timeout value. |
tConnectTimeout | Value for the connection timeout. This must be set at the UA_Connect function block to match the ADS timeout. The rule of thumb is: ADS Timeout > 2 * ConnectionTimeout. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT 3.1 | Win32, Win64, CE-X86, CE-Arm® | Tc3_PLCopen_OpcUa |