How to shorten the response time|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
How to shorten the response time
Avatar
HsihHsiang Yang
Member
Members
Forum Posts: 3
Member Since:
10/16/2022
sp_UserOfflineSmall Offline
1
10/16/2022 - 02:31
sp_Permalink sp_Print sp_EditHistory

i try to use the Softing OPC UA Client to write the value for my opcua server, 

but i was found the time between the WriteRequset and the WriteResponse it's need take the 100~200ms 

does it have any setting can be or possible to shorten this time??

imageImage Enlarger

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
10/16/2022 - 07:56
sp_Permalink sp_Print

You need to determine where the bottle neck is.

For a delay that long is it likely the processing in the server that is causing the issue.

Do you have other clients which are faster?

Have you used wireshark to confirm that the delay is on the server side?

Avatar
HsihHsiang Yang
Member
Members
Forum Posts: 3
Member Since:
10/16/2022
sp_UserOfflineSmall Offline
3
10/16/2022 - 08:40
sp_Permalink sp_Print sp_EditHistory

I have try to use the other client, but it’s was the same 

I’m not sure why my server take the long delay time 

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
10/16/2022 - 09:03
sp_Permalink sp_Print

Can you instrument your server?

What SDK did you use to build it?

Avatar
HsihHsiang Yang
Member
Members
Forum Posts: 3
Member Since:
10/16/2022
sp_UserOfflineSmall Offline
5
10/16/2022 - 18:02
sp_Permalink sp_Print sp_EditHistory

thanks sirs 

i can't know, because it's was a third party windows base PLC

i have try to update this PLC's firmware version, the response time get better (2-4ms)

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
10/17/2022 - 01:53
sp_Permalink sp_Print

It is possible it is related to server design: a server that did an update and waited for the next scan to check that the write was successful would introduce delays based on the scan frequency. If this is configurable you may be able to lower it.

It could be an implementation problem with the UA server. You could confirm it is specific to the UA server if you have another way to write to the PLC, such as a engineering tool provided by the PLC vendor.

I would also test by subscribing to the data point with a SamplingInterval and PublishingInterval of 0 or the lowest possible value. See how long it takes to get an update after sending the write. If the update arrives before the write response then that is evidence that the server is likely waiting for confirmation before returning a response.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 42
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855