In compliance with high industry standards

Browse our Blog. You will find multiple applications, solutions, code examples. Navigate using the tag cloud or search using specific criteria

How to connect an Arduino based PLC with a OPC - Scada Compilant

Industrial applications with hardware based on Open Source


On this post it is showed how to connect an Arduino based PLC with any OPC SCADA compilant. To achieve it you can use M-Duino family productsand also Ardbox family products..


Ethernet or 20 I/Os PLC:      Ethernet PLC        20 I/Os PLC     

 Industrial Shields boards:   Industrial Shields Boards

 OPC server for Arduino       OPC server for Arduino

How to install OPC Server?

OPC Server allows you to connect your Arduino with any OPC Scada Compilant. Just use the OPC.h library in your Arduino sketches, publish your items and provide data for each item you published in real time. You could retrieve/send information from/to your SCADA HMI software for building industrial applications.

Follow the next instructions to install the OPC Server on this link of  Software Tools for Makers.

Once OPC Server is installed we can proceed to install OPC libraries for Arduino IDE.


How to install OPC libraries on Arduino IDE?

To install OPC libraries follow the next lines:

  • Open Arduino IDE
  • Go to Sketch –> Include library –> Manage libraries
  • On library Manager search “OPC”
  • Click on install  


How to use?

Software Tools for Makers has developed this software. On their web site there are a few examples of how to use with dOPC Explorer, Matricon OPC Explorer and WinCC. Industrial Shields PLC’s use an official Arduino Leonardo within Ardbox family and Arduino Mega within M-Duino family.

For example on our internal test we have used a WinCC SCADA system and M-Duino following  the Software Tools for Makers example.

Software Tools for Makers example use an Arduino Uno. To make it work this example with Industrial Shields PLC’s we just need to change the Arduino Uno pins for the Mega or Leonardo pins or if you are using our boards use directly the M-Duino or Ardbox pins. Once these changes are done we can proceed to test it.

See also

How to install and use Rapid Scada on Touchberry Pi

Read the Post >>

Take a look at the Ethernet range

Arduino Mega for Industrial Solutions

Ethernet Programmable Logic Controller range

Ethernet Programmable Logic Controller range

Up to 58 IOs available.

Multiple protocols and  other options at your disposal like:
LoRa - Long Range solution.
WiFi - Wireless option.
GPRS - If there's not option to have a physical support.
DALI - Lighting protocol for specific solutions.

Ethernet Range >>

Looking for your ideal PLC?

Take a look at this product comparison with other industrial controllers.

We are comparing inputs, outputs, communications and other features with the ones of the relevant brands.

PLC comparison >>

Do you want more information?

Just fill the form!

Tell me more!