Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Long write times, GRANT of 0.1 ETH ( or BTC equivalent )
September 29, 2020
11:24, EEST
Avatar
Michael_1
New Member
Members
Forum Posts: 2
Member Since:
September 29, 2020
sp_UserOfflineSmall Offline

Hi there, I need real help as we got stuck with out project.
I am sure you have experience using the https://github.com/OPCFoundation/UA-Java-Legacy
java library for connecting to opc.

I’ve described it in here:
https://github.com/OPCFoundation/UA-Java-Legacy/issues/208

Offering an Ethereum grant for that, as it’s important for me.

UPDATE: 0.2 EHT grant đŸ™‚

September 29, 2020
13:04, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1032
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

You are on your own. As seen in the README:
“This repository is provided by OPC Foundation as legacy support for an Java version for OPC UA. It will not receive further features and updates.”

Though in this case note that how long the write takes is basically entirely dependant on the server, so in practice no change in the client side would help you. A server implementation might e.g. handle each write individually even if the request was a bulk one.

But anyway, as of our SDK version 4.x we no longer depend on that lib, see https://downloads.prosysopc.com/opcua/Prosys_OPC_UA_SDK_for_Java_4_Release_Notes.html#version-4-0-0 “Changes to OPC UA Stack” section. Basically this happend due to the fact the OPC Foundation decided to discontinue all Stacks (keeping only the .NET, as it was more advanced; since with just a Stack you really cannot do much). Basically previously the Stack for us was a very low-level API on top of which our SDK built all the other features you will need in a proper OPC UA Application. Now with 4.x there is no longer a “Stack” and “SDK” separately as far as our SDK is concerned (see the release notes). That is to say, in order to make some parts more useable, some “stack level” APIs now do refer “SDK level” APIs (e.g. Structure with it’s StructureSpecification etc.). Though the fact that there is anymore even a “com.prosysopc.ua.stack” package was to ease the migration process of SDK 3.x -> 4.x.

So in general I would recommend you to buy/try our Prosys OPC UA SDK for Java: https://www.prosysopc.com/products/opc-ua-java-sdk/, as it is true SDK level library compared to the Stack levels and also in this case a well maintained lib :). See this video from the OPC Foundation which explains the differences: .

Though, I would estimate that it would not be any faster even with our SDK due to the server side being the limiting factor here. You should be able to use https://www.prosysopc.com/blog/opc-ua-wireshark/ to verify this (i.e. look how long the server takes to respond with the WriteResponse).

September 29, 2020
13:32, EEST
Avatar
Michael_1
New Member
Members
Forum Posts: 2
Member Since:
September 29, 2020
sp_UserOfflineSmall Offline

Thanks @Bjarne for such a quick reply. I will talk with my team on using prosysopc for Java.
Is there anything the my PLC development team can do, to improve those write rates ?
And how ? is it about correctly implementing the write algorithm, or it’s dependent on hardware constraints ?

September 29, 2020
13:45, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1032
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

No idea, I’m not an expert in PLC-related things. Everything depends on everything. Depending on how much you are actually writing at once and what kind of data anything can be a bottleneck. Also unless you are running your client application on a realtime OS using a realtime JVM, in general with Java timings should not be that much of importance anyway (though of course performance is important). I would need to see some numbers to have any better guess. Though it should be noted that in general we do not give support for the “stack layer” even with the SDK, since you are supposed to use the SDK APIs (but in some cases we do not have “higher-level” one).

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
25 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 727

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1