duduyoyo / WebSocket4OPC

Liberate and access plant data anywhere, any way!
MIT License
38 stars 6 forks source link

Does this support OPC XML DA? #5

Closed twiddler closed 1 year ago

twiddler commented 1 year ago

See above.

duduyoyo commented 1 year ago

Not supported. As a matter of fact XML DA is the least popular OPC server compared to others (DA/AE/HDA). With this solution you can parse DA return in JSON instead of XML, which is much more efficient and faster. Then you can compose SOAP message for its next destination, so why bother XML DA? Just my 2 cents. Thanks!

twiddler commented 1 year ago

Thank you for your answer! 🙏

I am just getting into the whole OPC topic, so I might be mistaken here. I am developing a JavaScript application which will run on a Linux machine. From what I've found out so far is that OPC DA

As the machine being controlled is running quite slow, response times up to 200 ms will certainly be fine. So that's why I'm sticking with OPC XML DA.

duduyoyo commented 1 year ago

Looks like this solution is exactly what you're looking for,

Your concerns are all answered, I believe. Anything else?

twiddler commented 1 year ago

Thanks again for responding. :+1:

I'll check the trade-offs between

twiddler commented 1 year ago

Right now I am super-hesitant to alter the state of the machine that I am communicating with, so I opted for node-soap and wsdl-tsclient. wsdl-tsclient gave me reasonable results that I am refining manually.

Thanks again!