Good morning, I am PLC engineer I have worked with PLC many years but I have plan to use raspberry pi instead of PLC because its less expensive than PLC. I plan to use it in Building Management systems Automation not in industrial field do you think it can handle this job and able to work 24/7 or it used only in labs for small projects ?

one more Question: can Raspeberry pi work as protocols Gateway from Modbus to Backnet as vise versa ?


  • Depends on what you want to do with it. I've had a single Pi controlling my indoor grow room including a 400w and 600w lamp, an A/C based on temperature, a humidifier based on humidity and an auto-drip feed system based on soil moisture levels for almost a full year now.
    – stevieb
    Jul 26, 2017 at 12:56

2 Answers 2


I use both, for different industrial automation tasks, and don't see one as a replacement for the other.

The Pi has a lot of processing power, and lets you easily do complicated logic in your programming environment of choice... but interfacing with 24 V digital I/O, or even serial devices, will require external circuits or adapters for level shifting. I would also expect (just my opinion here) the GPIO pins to be more fragile, and less tolerant of voltage spikes, than digital inputs on a PLC.

Conversely, a PLC makes interfacing with external I/O easy, but has much less processing power and is less flexible to program (ladder language and I don't get along very well).

Different devices for different tasks, I say.

And in response to the protocols question... as long as you have the appropriate converters to get from the Pi to whatever physical layer you're using (be that RS-232, RS-485, Ethernet, ....) it's definitely possible to write a program that bridges between two connections using different protocols. Just a question of how much time you want to spend, and how much use you want to make of available libraries versus starting from the protocol document and rolling your own code.


The Pi Foundation has a habit of replacing Pi's very quickly .. as those who 'designed in' the Pi A, B, B+, B2 v1.1 etc. have found to their cost.

Pi Zero's are still 'one per customer' & thus hard to get in any sort of qualtity.

I believe you can purchase a Licence to Manufacturer whihc should solve both the above issues ..

Pi system software is constantly being updated - so by the time you get your 'custom' code debugged and running chances are the OS version you are using will be 3 or 4 versions out of date.

Finally, Pi's have a habit fo 'falling over' after a few days 'up time' .. although you can 'get around' this by rebooting at midnight every day.

As for protocols supported, generally the answer is 'yes' but you have to go search the various Open Soure repositories yourself (and it's quite possible the implementation available doesn't support some 'propriatory' functions due to Licence issues)

  • This doesn't answer any of the questions. Nor provide any meaningful information that related to the question.
    – hcheung
    Jul 27, 2017 at 0:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.