Installing the Arduino OPC Server

From the beginning of the design and implementation of OPC server for Arduino we have tried to make it simple to use and configure. Now we are going to show you the few steps to get it configured and running.

If you are new at OPC you will need to download the OPC Core Components Redistributable from https://opcfoundation.org/developer-tools/developer-kits-classic/core-components

The first of all is to unzip the file at a final location. Note that you should not move the file once it has been installed and configured.

Now you can execute ArduinoOPCDAServer.exe. The application will be executed and two new files will appear.

Register Arduino OPC Server

These two files will help you register the OPC server in the operating system, but first we should configure our Arduino OPC server.

Arduino OPC Server running

Lets go to the Configuration Tab in the Arduino OPC Server main form. There we should configure correct settings and then press Save Configuration button.

Configure Arduino OPC Server Serial port

The configuration settings will be stored in a new file named “ArduinoOPCDAServer.ini”. That way, every time the Arduino OPC Server start will use these settings. This must be done just the first time or every time you change port settings.

Arduino OPC Server configuration file

Now you can register your configured Arduino OPC Server into your operating system. That way if a Scada system needs to find a OPC Server for Arduino could find it.

Note that “register.bat” just execute: ArduinoOPCDAServer.exe /regserver

If you need you unistall the Arduino OPC Server from your system you could use unregister.bat or execute ArduinoOPCDAServer.exe /unregserver

IMPORTANT: You should execute batch files with Administrator rights.

Now is time to install the OPC Library for the use in the Arduino IDE following this guide.

If you have any issues please use our support forum here

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *