Posts: 2
Joined: Tue Apr 14, 2015 9:28 am

Pi as Scada (webserver)

Tue Apr 14, 2015 9:34 am

Hi guys
I was thinking of using some Raspberry Pi’s in a project and
just want to know if this is achievable. I have a plc and want to poll
values from the plc to a Raspberry Pi which must be set up as a
webserver and have a few Raspberry Pi’s to browse that webserver, the
few Pi’s that are viewing the webserver will be viewing different
webpages and of course different data.
Is this achievable and if yes please could you advice how?

Many Thanks

Posts: 14
Joined: Mon Mar 30, 2015 3:54 pm

Re: Pi as Scada (webserver)

Wed Apr 15, 2015 11:41 pm

Yes, its very possible, in fact I'm in the middle of creating a SCADA application that runs directly on the Pi. The biggest problem you have is getting data from the PLC, depending on what PLC you have, you will have to talk to it in a different manner. If you tell me what PLC you are working with I can try to help as far as drivers go.

For publishing to your web server, I would use a combination of a webpage on Apache and a back-end using websockets or some other kind of publish/subscribe system. For the webpage, you can use Ajax, Angular, or Knockout.js for data binding. There are a number of open source libraries that can give you some pretty good graphics, it just depends on how far you want to go.

User avatar
Posts: 158
Joined: Sat May 19, 2012 5:22 pm
Location: Minneapolis, MN (USA)

Re: Pi as Scada (webserver)

Sat Apr 18, 2015 5:53 pm

Does your PLC support OPC? I've been looking into open source OPC drivers and I've found a couple options. The benefit of going this route is you may be able to find others to help and you open your support up to other brands of PLCs and RTUs.

Posts: 2
Joined: Tue Apr 14, 2015 9:28 am

Re: Pi as Scada (webserver)

Tue Apr 21, 2015 1:59 pm

I am using a Mitsubishi plc (Q series)

and yes it does support OPC .

Really appreciate if you'll could help me.

Posts: 2
Joined: Wed Dec 16, 2015 4:19 pm

Re: Pi as Scada (webserver)

Mon Dec 21, 2015 11:36 pm

How did it go with the OPC drivers? I'm looking to do a similar thing- use an OPC tag to control an output on the Pi.

Posts: 75
Joined: Sat Mar 23, 2013 5:21 am

Re: Pi as Scada (webserver)

Tue Jan 05, 2016 5:16 pm

an option would be to use CODESYS on Raspberry Pi,
OPCUA is supported (Embedded OPCUA Server in the plc runtime).
It is possible to access tags/symbols by an OPCUA Client and set for example Outputs or read Inputs (GPIO's)


Return to “Advanced users”