cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

OPC UA: Performance optimization by using complex types?

pjahn
16-Pearl

OPC UA: Performance optimization by using complex types?

We are faced with the situation that the queries sent to an OPC UA server from Kepware Server lead to insufficient resources on the control computer. Now we are looking for optimization possibilities to relieve the load on the CPU of the PLC. In doing so, we came across the complex types. Is it possible to reduce the load caused by querying the data points by using them?

 

From the documentation:

pjahn_0-1696923657203.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
cmorehead
11-Garnet
(To:pjahn)

@pjahn,

 

The use of Complex Types will Not reduce the overhead as all of the items in the Complex Type get their own tags created in the sever space. It sounds like you are using the KEPServerEX OPC UA Client Driver to act as a tunneling solutions to your target OPC UA Server which is running out of resources. The target OPC Server should have a way to restrict requests coming in from client applications. The Kepware server has the ability to control the scan rate in which read/write requests are conducted to the target devices, thus reducing use of resources. The Kepware UA Client Driver has this function as well in the device properties > Scan Mode which can be set to Request Data No Faster Than a set scan mode. The default is 1000ms but can be increased to slow down the overhead on the resources., You could also slow the scan rate on the Client application making requests to the Kepware OPC UA Client driver.

 

Thanks,

*Chris

View solution in original post

1 REPLY 1
cmorehead
11-Garnet
(To:pjahn)

@pjahn,

 

The use of Complex Types will Not reduce the overhead as all of the items in the Complex Type get their own tags created in the sever space. It sounds like you are using the KEPServerEX OPC UA Client Driver to act as a tunneling solutions to your target OPC UA Server which is running out of resources. The target OPC Server should have a way to restrict requests coming in from client applications. The Kepware server has the ability to control the scan rate in which read/write requests are conducted to the target devices, thus reducing use of resources. The Kepware UA Client Driver has this function as well in the device properties > Scan Mode which can be set to Request Data No Faster Than a set scan mode. The default is 1000ms but can be increased to slow down the overhead on the resources., You could also slow the scan rate on the Client application making requests to the Kepware OPC UA Client driver.

 

Thanks,

*Chris

Top Tags