Configuring the OPC UA Application Client Settings

To configure FrameWorX as an OPC UA client application, you need to configure the following client-specific settings in the ClientConfiguration section of the OPC UA application configuration file.

Session Settings

Setting Value Description
DefaultSessionTimeout 60000 ms (60s) The default timeout for new sessions.
MinSubscriptionLifetime 10000 ms (10s) The minimum lifetime of a subscription.

Well-Known Discovery URLs

The list of discovery server URLs use the following pattern:

opc.tcp://{0}:4840/UADiscovery

The {0} placeholder is replaced with the hostname at runtime.

Standard Templates:

<ua:String>opc.tcp://{0}:4840</ua:String> <!-- OPC UA TCP, port 4840 --> <ua:String>http://{0}:52601/UADiscovery</ua:String> <!-- HTTP discovery, port 52601 --> <ua:String>http://{0}/UADiscovery/Default.svc</ua:String> <!-- WCF-based discovery -->

(Optional) Reverse Connect

Client-side reverse connect configuration in the ReverseConnect section is commented out but can be enabled for reverse connectivity scenarios:

<ReverseConnect> <ClientEndpoints> <ClientEndpoint> <EndpointUrl>opc.tcp://localhost:65300</EndpointUrl> </ClientEndpoint> </ClientEndpoints> <HoldTime>15000</HoldTime> <WaitTimeout>20000</WaitTimeout> </ReverseConnect>

What's Next?

Configuring the OPC UA Application Tracing