Difference between revisions of "OPC-UA Client"

From ESS-WIKI
Jump to: navigation, search
Line 3: Line 3:
 
OPC Unified Architecture (OPC UA) is a machine to machine communication protocol for industrial automation developed by the OPC Foundation.
 
OPC Unified Architecture (OPC UA) is a machine to machine communication protocol for industrial automation developed by the OPC Foundation.
  
<br/>
+
 
<br/>
 
  
 
= EdgeSense OPC-UA Client =
 
= EdgeSense OPC-UA Client =
Line 17: Line 16:
 
*Detailed features, please see&nbsp;[https://docs.google.com/spreadsheets/d/1hxUJgHvcPYq8f44gmVVmwUCddHhOPBflSRkSKR0H9Q4/edit?ts=5ca2bfc9#gid=348272669 https://docs.google.com/spreadsheets/d/1hxUJgHvcPYq8f44gmVVmwUCddHhOPBflSRkSKR0H9Q4/edit?ts=5ca2bfc9#gid=348272669]
 
*Detailed features, please see&nbsp;[https://docs.google.com/spreadsheets/d/1hxUJgHvcPYq8f44gmVVmwUCddHhOPBflSRkSKR0H9Q4/edit?ts=5ca2bfc9#gid=348272669 https://docs.google.com/spreadsheets/d/1hxUJgHvcPYq8f44gmVVmwUCddHhOPBflSRkSKR0H9Q4/edit?ts=5ca2bfc9#gid=348272669]
  
<br/>
+
 
<br/>
 
  
 
= How to =
 
= How to =
Line 27: Line 25:
 
*Node.js
 
*Node.js
  
<br/>
+
 
<br/>
 
  
 
== Installation ==
 
== Installation ==
Line 34: Line 31:
 
'''Windows:'''
 
'''Windows:'''
  
1. Download OPC-UA Service for Windows from Release Table.  
+
1. Download OPC-UA Service for Windows from Release Table.
  
 
2. Double click to launch the installer to install it to the machine.
 
2. Double click to launch the installer to install it to the machine.
Line 42: Line 39:
 
'''Linux:'''
 
'''Linux:'''
  
1. Download OPC-UA Service for Windows from Release Table.  
+
1. Download OPC-UA Service for Windows from Release Table.
  
 
2. Launch the installer to install it to the machine.
 
2. Launch the installer to install it to the machine.
  
<br/>
+
 
  
 
== Configuration ==
 
== Configuration ==
Line 112: Line 109:
  
 
4. Edit opcua-client.json to set up client configuration, for&nbsp;example:
 
4. Edit opcua-client.json to set up client configuration, for&nbsp;example:
 
 
 
<pre>{
 
<pre>{
 
     "OPCUA_Server":[
 
     "OPCUA_Server":[
Line 133: Line 128:
  
 
</pre>
 
</pre>
 +
 +
 +
 +
= Release =
 +
 +
<span style="font-size:larger;">This is an overview that displays Modbus Service&nbsp;versions and some stats and numbers for each release.</span>
 +
 +
{| border="1" cellspacing="1" cellpadding="1" style="width: 797px;"
 +
|-
 +
| style="width: 47px; text-align: center;" | <span style="font-size:larger;">Index</span>
 +
| style="width: 63px; text-align: center;" | <span style="font-size:larger;">Version</span>
 +
| style="width: 72px; text-align: center;" | <span style="font-size:larger;">Date</span>
 +
| style="width: 71px; text-align: center;" | <span style="font-size:larger;">Platform</span>
 +
| style="width: 76px; text-align: center;" | <span style="font-size:larger;">OS</span>
 +
| style="width: 432px; text-align: center;" | <span style="font-size:larger;">Release Note</span>
 +
| style="width: 432px; text-align: center;" | <span style="font-size:larger;">Installer</span>
 +
|-
 +
| style="width: 47px; text-align: center;" | <span style="font-size: 15.6px;">1</span>
 +
| style="width: 63px; text-align: center;" | <span style="font-size:larger;">v2.0.1</span>
 +
| style="width: 72px; text-align: center;" | <span style="font-size:larger;">2019/12/31</span>
 +
| style="width: 71px; text-align: center;" | <span style="font-size:larger;">x86_64 CPU</span><br/>
 +
| style="width: 76px; text-align: center;" | <span style="font-size:larger;">Windows</span><br/>
 +
| style="width: 432px; text-align: center;" | <br/>
 +
| style="width: 400px; text-align: center;" |
 +
 +
 +
|}
 +
 +
<span style="font-size:larger;">Above files are available at local server, please paste file's&nbsp;url in File Explorer&nbsp;to copy file. ([[EdgeSense_FAQ|How to access to EOSSFS file server]]&nbsp;)</span>
 
[[Category:Editor]]
 
[[Category:Editor]]

Revision as of 03:23, 19 December 2019

Introduction

OPC Unified Architecture (OPC UA) is a machine to machine communication protocol for industrial automation developed by the OPC Foundation.


EdgeSense OPC-UA Client

EdgeSense OPC-UA Client aims to collect data from OPC-UA Server and control.

Feature:


How to

Software Requirements

  • MQTT broker
  • Node.js


Installation

Windows:

1. Download OPC-UA Service for Windows from Release Table.

2. Double click to launch the installer to install it to the machine.


Linux:

1. Download OPC-UA Service for Windows from Release Table.

2. Launch the installer to install it to the machine.


Configuration

EdgeSense OPC-UA client can manage multi OPC-UA setting and multi NodeID.


{
    "OPCUA_Server":[
        {
            "Name": "OPCUA-SERVER-1",
            "endpointUrl":"opc.tcp://opcuaserver1:62547",
            "userIdentity": {
                "userName": "admin",
                "password": ""
            },            
            "NodeIDList":[{"NodeId":"ns=2;s=1:CC2001?Input2","Name":"CC2001-Input2", "Type":"v", "Interval":2},
                          {"NodeId":"ns=2;s=1:CC2001?Output","Name":"CC2001-Output", "Type":"v", "Interval":2},
                          {"NodeId":"ns=2;s=1:CC1001?Output","Name":"CC1001-Output", "Type":"v", "Interval":2}
                        ]

        },
        {
            "Name": "OPCUA-SERVER-2",
            "endpointUrl":"opc.tcp://opcuaserver2:62547",
            "userIdentity": {
                "userName": "admin",
                "password": ""
            },            
            "NodeIDList":[{"NodeId":"ns=2;s=1:CC2001?Input2","Name":"CC2001-Input2", "Type":"v", "Interval":2},
                          {"NodeId":"ns=2;s=1:CC2001?Output","Name":"CC2001-Output", "Type":"v", "Interval":2},
                          {"NodeId":"ns=2;s=1:CC1001?Output","Name":"CC1001-Output", "Type":"v", "Interval":2}
                        ]

        }
    ]
}


Name

  • Assign name for a OPC-UA server.

endpointUrl

  • Assign OPC-UA Server Endpoint URL , format is opc:tcp://hostname:Port/  , hostname also can use ip address.

NodeId

  • Assign Node ID you'd like to monitor


Demonstrate to connect to a OPC-UA sample server

1. Download and install OPC UA Sample Applications 1.02: OPC UA Sample Applications 1.02.msi are available at local server, please paste file's url in File Explorer to copy file.

2. After OPC UA Sample Applications 1.02.msi  is installed, launch DataAccess Server.

3. Config OPC-UA Client to connect to the sample Server,  Endpoint URLs shown in application.

RTENOTITLE

4. Edit opcua-client.json to set up client configuration, for example:

{
    "OPCUA_Server":[
        {
            "Name": "OPCUA-SERVER-1",
            "endpointUrl":"opc.tcp://desktop-2lhi6fa:62547",
            "userIdentity": {
                "userName": "admin",
                "password": ""
            },            
            "NodeIDList":[{"NodeId":"ns=2;s=1:CC2001?Input2","Name":"CC2001-Input2", "Type":"v", "Interval":2},
                          {"NodeId":"ns=2;s=1:CC2001?Output","Name":"CC2001-Output", "Type":"v", "Interval":2},
                          {"NodeId":"ns=2;s=1:CC1001?Output","Name":"CC1001-Output", "Type":"v", "Interval":2}
                        ]

        }
    ]
}


Release

This is an overview that displays Modbus Service versions and some stats and numbers for each release.

Index Version Date Platform OS Release Note Installer
1 v2.0.1 2019/12/31 x86_64 CPU
Windows


Above files are available at local server, please paste file's url in File Explorer to copy file. (How to access to EOSSFS file server )