HARTING OPC-UA User Manual

Gateway for mica
Hide thumbs Also See for OPC-UA:

Advertisement

Quick Links

HARTING OPC-UA Gateway for MICA
User Manual

Advertisement

Table of Contents
loading

Summary of Contents for HARTING OPC-UA

  • Page 1 HARTING OPC-UA Gateway for MICA User Manual...
  • Page 2 No part of this manual may be reproduced in any form (print, photocopy, microfilm or any other process), processed, duplicated or distributed by means of electronic systems without the written permission of HARTING IT Software Development GmbH & Co. KG, Espelkamp Subject to alterations without notice.
  • Page 3: Table Of Contents

    Basic container functionality ....... . . The OPC-UA Gateway user interface ....... . .
  • Page 4: The Opc-Ua Gateway

    With the OPC-UA Gateway container it is possible to monitor multiple OPC-UA devices, aswell as publishing that data to a set of subscriber endpoints and display them on a dashboard. The following user manual refers to the Firmware Base Version 5 539 and the Ha-VIS OPC-UA Gateway Container Version 2.2.0.
  • Page 5: Installation

    Installation of the OPC-UA Gateway Log in to the MICA as admin and click the “Install” icon. On the next view you can choose the installation archive of the OPC-UA Gateway . Next click the Execute button. A dialog will open up where you can name the container you want to upload. When you are finished naming, click OK to install the container.
  • Page 6: Basic Container Functionality

    HARTING MICA OPC-UA Gateway - User Manual Basic container functionality By executing an right click in the OPC-UA Gateway container icon a menu will appear containing the following functions. 1. Settings lets you update the OPC-UA Gateway container. 2. Duplicate lets you duplicate the container on your MICA.
  • Page 7: The Opc-Ua Gateway User Interface

    HARTING MICA OPC-UA Gateway - User Manual The OPC-UA Gateway user interface With a click on the OPC-UA Gateway container icon the user interface of the gateway appears. Here 3 different sections are available which provide differet functionalities.
  • Page 8: The Section "Devices

    HARTING MICA OPC-UA Gateway - User Manual The section “Devices” In the section Devices you can create, edit and import OPC-UA devices from which you want to collect data. By clicking the add button a window will appear containing the following fields: 1.
  • Page 9 HARTING MICA OPC-UA Gateway - User Manual By clicking the “Fields” button a field list will appear. When you click in the box a new dialog appears where you can create a field for the device with the following properties.
  • Page 10: The Section "Executor

    4840 you have to add the port to the connection string as shown in the example. Identifier indicates a node in the address space of an OPC-UA device. If you have selected a device as the ”Device URL” you are also able to choose from the defined fields of that device.
  • Page 11 This message will appear if the OPC-UA Gateway was not able to establish a connection to the given ”Device URL”. 2. Cannot get value for ’Identifier’: INVALID PARAMETER This message will appear if the OPC-UA Gateway was not able to get a value for the given ”Identifier”. 3. Scheme seems invalid! Supported scheme is ’tcp’...
  • Page 12: The Section "Reports

    HARTING MICA OPC-UA Gateway - User Manual The section ”Reports” The section ”Reports” is for publishing machine data on a ”Subscriber” endpoint. If you want to add a new report click on . A dialog will appear where you can enter the following information: 1.
  • Page 13 HARTING MICA OPC-UA Gateway - User Manual 3.3.1 Import/Export Reports If you hover over a report, a menu will appear on the right side. The menu contains the two options Export and Delete. Deleting the report will remove it from the list. You can export the report to save the current configuration or to create a template for same reports so you only have to change...
  • Page 14 HARTING MICA OPC-UA Gateway - User Manual 3.3.3 Report Example If you have configured your “Devices”, “Reports” and your subscriber endpoint, you will get a report after the time which was specified by you. A Report is a JSON structure containing the following fields:...
  • Page 15 HARTING MICA OPC-UA Gateway - User Manual You find an example of a report in the field below: "applicationId":"OpcUaGateway", "reportName":"DeviceReport", "date":"2018-18-05T08:35:04.843", "totalMilliseconds":1000, "initiation":"REQUESTED", "initiator":null, "termination":"DURATION", "terminator":null, "devices":[ "name":"Device 1", "fields":[ "name":"Temperature", "value":43.5906, "date":"2018-05-16T21:13:03.959" "name":"Maximum injection pressure", "value":534.5047, "date":"2018-05-16T21:13:03.974" "name":"Injection time", "value":0.41,...
  • Page 16: The Opc Ua Gateway Rest Interface

    HARTING MICA OPC-UA Gateway - User Manual The OPC UA Gateway REST interface The ” OPC UA Gateway App” provides a REST interface” which allows gathering information from the gateway and its connected devices without the need of using the OPC UA protocol.
  • Page 17: Reading Data Using The Chrome "Postman" Add On

    HARTING MICA OPC-UA Gateway - User Manual Reading data using the Chrome ”Postman” add on Software like the Chrome add on ”Postman” can also be used to send GET commands. It gives a better overview on how the commands behave and provides more details.
  • Page 18: Writing Data Using The Chrome "Postman" Add On

    HARTING MICA OPC-UA Gateway - User Manual Writing data using the Chrome ”Postman” add on By means of a PUT command you may write data to the field identifier. To test it, use again the Chrome add on ”Postman” and enter e.g.
  • Page 19: Reading Data Using Node-Red Within The Same Mica

    The output should look like: Reading data using Node-RED within the same MICA Also the Node-RED container available at https://www.harting-mica.com/ can be easily used to establish connections to the Gateway Containers REST interface. Start Node-RED and use the inject, the http request and the debug node to compose a scenario sending permanent Http-GET commands to the Gateway.

Table of Contents