How to connect a machine with the OPC UA Connector?

OPC UA is a communication protocol, developed by the OPC Foundation. It enables simplified communication for industrial machines. For innius we've created a component that publishes OPC tag values to innius.

Sensor Setup

First you are going to need a connection with the OPC UA Server. For this you will need an OPC UA Server, from Siemens for example, depending on your type of machine. 

Now you can create/edit the sensors in innius. The important thing here is that the sensor's physical_id in innius, must match the actual sensor's OPC UA tag name.

The innius connector

After you've created your machine (click here to read how), the next step is to create the connector. This is done by following these steps:

  1. Go to the innius Admin app
  2. On the Home screen, click the button 'Add Connection'.
  3. Give the connector a clear name and click button 'Next'. Remember that each connector should have a unique name.
  4. In the next step, Select connection method, Choose the option 'Connect using the OPC UA protocol'. You also need to enter the address of the OPC UA Server.
  5. Next, select the machines created in innius which are connected through the connector. You can select multiple machines defined in innius if applicable.
  6. Now the connector is created, so the next step is the download. Here you need to download the connector by clicking the download sign (in the red box):


  7. Copy the downloaded .zip file to the Windows device where the OPC Client should run.
  8. Extract the .zip file.
  9. Start the command prompt with Administrator role (otherwise you'll not be able to install the Windows service).
  10. Copy the command which is displayed in the innius admin page via the copy button or save it to a text file:


  11. Paste the command in the command prompt and execute this. This will install the OPC UA Connector as a Windows service.
  12. Check in the innius insight app the machine status has changed to 'Connected' and the sensor values are coming in.
  13. Congratulations! Your machines are connected to innius!

If something is wrong with the connector, you can use the Windows Event viewer to track the errors and see what is wrong. You can use this information for your contact with our innius support.

Also, because it is a Windows service, you can manage it. When the PC is restarted due to Windows updates or something, the innius OPC UA Connector will be restarted automatically as well.

 

Have more questions? Submit a request

Comments