Login  •  Register


Web access

General topics regarding OPC Foundation and communication technology in general.

Web access

Postby Bogaat » 27 Sep 2014, 23:13

So I am a newbie to the idea of OPCUA, but am intrigued. Ideally I would have access to my tags/nodes client side when building html/javascript. What is the shortest path to make that work given your products? Do I need to build a service with endpoints on the web server or is there something like that already in place? Thanks for any and all feedback.
Bogaat
Jr. Member
Jr. Member
 
Posts: 2
Joined: 27 Sep 2014, 23:06

Re: Web access

Postby Support Team » 02 Oct 2014, 13:33

Hi,

There are two ways to access OPC UA from a HTML/Java Script client in a web browser.

Option 1 - OPC UA client in web server
You can implement an OPC UA client in your web server that delivers the HTML pages and your Java Script code to the web browsers.
Advantages: works with any OPC UA server on the market
Disadvantage: you must implement your own protocol to send updated data to the web client

Option 2 - use of HTTPS based OPC UA protocol
OPC UA defines now also a HTTPS / UA Binary protocol that can be used directly in web browser applications.
Advantage: With an OPC UA binary Java Script library you can access OPC UA servers directly
Disadvantage: This new protocol option is not supported by many servers yet and you need the web server that delivers the html pages and Java Script code must be also proxy for the OPC UA servers (same origin policy problem)

Best Regards,
Unified Automation Support Team
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2420
Joined: 18 Mar 2011, 15:09

Re: Web access

Postby Bogaat » 02 Oct 2014, 14:20

Thank you for the feedback. So option 2 looks like something I would want to poke at. Can you point me to specific implementations of a js library as well as servers that may support it? I currently run a DA 2.0 server and would be wrapping it using your gateway.
Bogaat
Jr. Member
Jr. Member
 
Posts: 2
Joined: 27 Sep 2014, 23:06

Re: Web access

Postby Support Team » 03 Oct 2014, 19:47

Hi,

Our C++ SDK and .NET SDK already support the HTTPS UA Binary protocol as experimental feature but it is deactivated by default.

The current release of UaGateway does not support the HTTPS UA Binary protocol.

We have already developed a JAVA Scrip library for the HTTPS UA Binary protocol. It is also in prototype state and not available yet.

Please contact sales@unifiedautomation.com for more details.

Best Regards,
Unified Automation Support Team
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2420
Joined: 18 Mar 2011, 15:09

Re: Web access

Postby danielhua » 16 Jan 2017, 09:58

Hi Support Team,

Is there any update on the web access solution on the C++ SDK? Is it still experimental or it is release quality of the latest 1.5.4 version? Do you offer any demo server enables it that could directly access with the https protocol?

Thanks,
-Daniel
danielhua
Jr. Member
Jr. Member
 
Posts: 2
Joined: 04 Feb 2016, 09:43

Re: Web access

Postby Support Team » 17 Jan 2017, 17:09

Hello,

there are no updates on this. The so called hybrid-binding (https with UA binary encoded payload) is still "experimental". In all our SDK but especially in C++ SDK and ANSI C SDK it is even compiled-out to save code size. Only in our ready to use precompiled CppDemoServer (Windows Setup) the experimental feature can be switched on in the configuration. However, it is not officially released and it is not tested by us. Hence we do not recommend to use it. BTW you will not find many communication partners out there supporting such hybrid binding.

The OPC Foundation is currently working on Websocket binding which technically makes much more sense and fits much better to OPC UA communication schema. However, this new specification is not released yet, and hence not yet implemented by us.
Best regards
Unified Automation Support Team
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2420
Joined: 18 Mar 2011, 15:09

Re: Web access

Postby yvesP » 27 Feb 2017, 12:26

Hi support team,
which communication support combinations are currently officially supported next to opc.tcp with a Binary SerializerType?
Regards.
yvesP
Sr. Member
Sr. Member
 
Posts: 15
Joined: 13 Feb 2017, 14:15

Re: Web access

Postby Support Team » 16 Mar 2017, 12:00

Hello,

currently we officially only support the UA-Binary on TCP/IP (opc.tcp:)ยด. This is the only madatory protocol binding for all servers, and by this full compatibility to all other OPC UA Servers is ensured.
Best regards
Unified Automation Support Team
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2420
Joined: 18 Mar 2011, 15:09


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests