Configuring the OPC UA Application Transport
The transport settings of the OPC UA application configuration file define limits for transport layer operations (transport quotas). Complete the following settings in the TransportConfigurations section.
|
Setting |
Value |
Description |
|---|---|---|
|
OperationTimeout |
60000 ms (60s) |
Default timeout for operations |
|
MaxStringLength |
4194304 (4 MB) |
Maximum string length in messages |
|
MaxByteStringLength |
4194304 (4 MB) |
Maximum byte string length |
|
MaxArrayLength |
4194304 (4 MB) |
Maximum array length in messages |
|
MaxMessageSize |
16777216 (16 MB) |
Maximum message size |
|
MaxBufferSize |
4194304 (4 MB) |
Maximum buffer size |
|
ChannelLifetime |
300000 ms (5 min) |
Lifetime of a secure channel |
|
SecurityTokenLifetime |
3600000 ms (60 min) |
Lifetime of a security token |
Tuning Guidelines
-
For high-performance applications:
<MaxStringLength>8388608</MaxStringLength> <!-- 8 MB --> <MaxByteStringLength>8388608</MaxByteStringLength> <!-- 8 MB --> <MaxMessageSize>8388608</MaxMessageSize> <!-- 8 MB -->
-
For constrained or embedded systems:
<MaxStringLength>1048576</MaxStringLength> <!-- 1 MB --> <MaxByteStringLength>1048576</MaxByteStringLength> <!-- 1 MB --> <MaxMessageSize>1048576</MaxMessageSize> <!-- 1 MB --> <MaxArrayLength>10000</MaxArrayLength>
What's Next?