HARTING OPC-UA User Manual Download Page 12

 HARTING 

MICA OPC-UA  Gateway 

 User Manual

 

 

12 

peraMIC GmbH & Co. KG 

Executor 

 

The 

Executor

 is a small tool to easily read data from or write data to devices which are 

connected to the OPC UA Gateway. You can also use the 

Execute 

operation to run OPC UA 

commands on an OPC UA node connected to the MICA.  

 

To execute an OPC UA query you must provide 5 properties: 

 

The 

Device URL

 of the device you want to connect to. You can either choose an 

active device from the section Devices or enter the address of an OPC UA device. If 
your connection requires another port than the default port 4840 you must add 
the port to the connection string as shown in the example. 

 

The 

Identifier

 of the 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. 

 

The 

Operation

 either 

READ

 or 

WRITE 

or 

EXECUTE

 

The 

Namespace

 index of a node in an OPC UA server. 

 

The 

Type

 of the identifier. It can be a numeric value or a string. This property will 

only be visible if no field was selected as the 

Identifier

Run the Executor by clicking the 

button. 

6.1

 Error messages 

When executing an OPC UA query the device may respond with error messages. The most 
important ones will be explained in this section. For a complete list of error messages, 
please check the documentation that came with your OPC UA device or the OPC UA 
standard. OPC UA error messages will appear on the bottom of the screen. 

The first part is telling you what operation has failed, i.e. 

Failed to execute read operation.

 

The second part tells you more information on what caused the problem. The following list 
shows the main mistakes that can lead to an error: 

 

Cannot get value for 'Identifier' 

o

 

This message will appear if the OPC UA Gateway was not able to establish 
a connection to the given 

Device URL

 

Cannot get value for 'Identifier': INVALID PARAMETER 

o

 

This message will appear if the OPC UA Gateway was not able to get a 
value for the given 

Identifier

 

Scheme seems invalid! The only supported scheme is 'tcp'  

o

 

This message will appear if you have used an unsupported scheme in the 

Device URL

Summary of Contents for OPC-UA

Page 1: ...HARTING OPC UA Gateway for MICA User Manual...

Page 2: ...ts reserved including those of the translation 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 elect...

Page 3: ...ontainer Operations 6 3 1 Network Settings 6 4 About OPC UA 7 5 Using the OPC UA Gateway 8 5 1 Devices 8 5 2 Reports 10 5 2 1 Adding a Subscriber 11 5 2 2 Deleting a Subscriber 11 6 Executor 12 6 1 Er...

Page 4: ...n Without a license key the container will be stopped automatically after 6 hours New Features Improved user and rest based web interface Tree walk mechanism for the device definition A user can now b...

Page 5: ...elect the installation archive 4 Click Execute to start the installation 5 The installer will display the readme file with information about the installation archive 6 Enter the name you want to insta...

Page 6: ...n On Mode Duplicate Duplicates the container on your MICA Export Exports the container to your PC or a network drive All configurations you set will be kept Merge Overwrites the reset point of the con...

Page 7: ...rk This multi layered approach accomplishes the original design specifications goals of 1 Functional equivalence all COM OPC Classic specifications are mapped to UA 2 Platform independence from an emb...

Page 8: ...tes that the OPC UA Gateway container is not yet licensed and running in demo mode In this mode the container will be stopped every 6 hours but can be restarted manually To obtain a license key click...

Page 9: ...ick on Clicking on the Field box to open a dialog that lets you create a field for the device new dialog If the OPC UA Gateway is connected to a device you can also click the magnifying glass to recei...

Page 10: ...and fill in the required information in the configuration window A unique Name for the report The Duration of the report in milliseconds i e how long the report should run The Repeat Period of the re...

Page 11: ...in the Subscriber box A dialog will appear where you can add a new subscriber endpoint to publish the gathered information from the injection molding machine The supported types of endpoints are AZUR...

Page 12: ...can be a numeric value or a string This property will only be visible if no field was selected as the Identifier Run the Executor by clicking the button 6 1 Error messages When executing an OPC UA que...

Page 13: ...ormation To see the log entries click the Expand Log button The following operations can be done in the Log part Select the types of messages to be displayed Reload log information Export the log info...

Page 14: ...AME rest opcuagateway executor tcp 127 0 0 1 3A4840 rfr310 DeviceName 4 string You will see something like the following In the address contains the REST path followed by the same information you must...

Reviews: