thiagoralves
Are you using OpenPLC in a factory, lab, plant, or field deployment in any way or form? Have you integrated it with SCADA systems, industrial protocols, or custom hardware? We’d love to hear from you!

Share your project, your company’s use case, or even a small success story here in this post. Your story could inspire others and help showcase how open-source automation is making an impact in the real world.

Let’s put the spotlight on the amazing things this community is building!

 
ChatGPT Image May 20, 2025, 11_23_56 AM.png
Reply 1 0
ivan_terzo

Good morning Tiago,
As you may remember, I’m writing a complete course (not the first one — years ago I wrote a course on programming Siemens S5 PLCs) on PLC programming, strongly based on OpenPLC.

It’s an educational course aimed at training students from technical high schools specializing in electronics, electrical engineering, and computer science.
The course covers not only programming but also hardware, as it includes the hardware development of a real PLC based on the ESP32. The current version features relay outputs, but a version with transistor (open-collector) outputs is already ready for testing. The digital inputs and outputs will operate at 24VDC, just like real industrial PLCs.
The programming languages covered in the course will be: ST, FBD, and Ladder.
If you'd like, I can share the course (in slide format) here on the forum or wherever you suggest.
Thank you, and keep up the good work!
Reply 4 0
thiagoralves
This is great @ivan_terzo. Whenever you're ready to share the course material, I'm pretty sure it will be super beneficial to the community.
Reply 2 0
arumade1990
I was very, very close to having an awesome OpenPLC story for this but my project got canceled. I had the functional prototype ready to go and everything too. I was simply waiting on purchasing approval from my company. Basically, it was a setup to be able to remotely control these hangers that carry bodies from zone to zone in our shop. Currently, they only have a hard-wired pendant to control them individually. The hangers go through several areas that make the pendant port nearly impossible to access in the event of a hanger fault. So in that even we have to climb up in the overhead catwalks and manually press the button on the side of the boxes to 'walk' the hangers out, causing excessive downtime. What my setup did was have a receiver on each hanger (15 in total) and a single remote. The receiver hooked up to the existing pendant port and gave the instructions for Auto/Manual control and directional functions, but with the convenience of being able to control it from the floor. Additionally, it was able to give tact arrive signals too which are vital for positioning in the zones. The wireless communication was done via ESP-NOW protocol and was very fast and had great range! With the added benefit of not having to be tied to the internet since it can be spotty in the plant at times. The remote had various hardware and software interlocks to prevent safety issues and a timeout for if no inputs were received to deselect the current hanger so it couldn't be accidentally controlled. All in all it really worked well. As far as I know, its still technically on the table but its just been put on the back burner. If it gets going again and becomes fully implemented I'll be sure to post here again because it would be a really good story for OpenPLC!
Reply 0 0
arumade1990
I was very, very close to having an awesome OpenPLC story for this but my project got canceled. I had the functional prototype ready to go and everything too. I was simply waiting on purchasing approval from my company. Basically, it was a setup to be able to remotely control these hangers that carry bodies from zone to zone in our shop. Currently, they only have a hard-wired pendant to control them individually. The hangers go through several areas that make the pendant port nearly impossible to access in the event of a hanger fault. So in that even we have to climb up in the overhead catwalks and manually press the button on the side of the boxes to 'walk' the hangers out, causing excessive downtime. What my setup did was have a receiver on each hanger (15 in total) and a single remote. The receiver hooked up to the existing pendant port and gave the instructions for Auto/Manual control and directional functions, but with the convenience of being able to control it from the floor. Additionally, it was able to give tact arrive signals too which are vital for positioning in the zones. The wireless communication was done via ESP-NOW protocol and was very fast and had great range! With the added benefit of not having to be tied to the internet since it can be spotty in the plant at times. The remote had various hardware and software interlocks to prevent safety issues and a timeout for if no inputs were received to deselect the current hanger so it couldn't be accidentally controlled. All in all it really worked well. As far as I know, its still technically on the table but its just been put on the back burner. If it gets going again and becomes fully implemented I'll be sure to post here again because it would be a really good story for OpenPLC!
Also for reference, I do industrial maintenance in auto manufacturing in a paint shop. Might give a little more context.
Reply 0 0
thiagoralves
This is pretty cool @arumade1990 !! Keep us posted please. As Autonomy grows into enterprise-grade software with our new v4 releases you can expect more robustness and features coming along. Thanks for sharing your story!
Reply 1 0
arumade1990
This is pretty cool @arumade1990 !! Keep us posted please. As Autonomy grows into enterprise-grade software with our new v4 releases you can expect more robustness and features coming along. Thanks for sharing your story!
Absolutely no problem at all! However, I do wish it was a story that ended up with the full implementation. On the bright side though, it was an excellent exercise in seeing how to scale an OpenPLC project to something fairly large! And it did so quite well. I also might add that the ability to use Arduino code in parallel was crucial to the system's operation, and not something we currently had available in the shop so it was turning into an elegant and effective solution to the problem at hand. I'm still not sure why the project got canceled, but I'm still hoping it gets re-booted at some point.
 
And as always, I'm always looking forward to new and exciting things from the OpenPLC project! Coming up soon, I'll be having an interesting project I'll be posting here myself!
Reply 1 0
CR
I bought a vacuum lumber kiln that had sit under a tarp in an eccentric woodworker's yard for 25 years for $1000. I had no idea if it worked or not and if I had a chance to restore it to working order.  I brought it to my shop, popped the lid and discovered that it had never been used. There was still packing material inside. I tested the transformers, heating elements, vacuum pump, condenser fans and they all worked. The only thing that didn't work were the controls, having been through decades of thermal cycling, condensation, etc.  I took the control box out and went about replacing everything. Power supplies, control cards, i/o cards, signal conditioners and triacs were thrown in the trash and replaced by 12V and 24 V DC power supplies, a Controllino Mega PLC, a BLIIOT (Shenzhen Beilai) M160T I/O expansion module for additional analog inputs, a Raspberry Pi 5 running FUXA SCADA, a Weintek 8106P 10 inch HMI, all connected via ethernet to a Teltonika RUT300 wired router. Below is a photo of part of the rewired control panel (left to right: 24VDC power, RPi 5, Controllino, Expansion module, 12V power supply).  IMG_1233_LR.jpg
 
Below is the photo of the same control box before the conversion:
[203128%2F9390280%2Fmceclip0]
 
The 12 V power supply is used for the Controllino and the Pi while 24V is used for everything else.  The router is not WIFI enabled (on purpose) and has 4 LAN and one WAN connection though the WAN connection is reassigned to the LAN allowing a fifth device (a PC when programming or the building's router if not).  The Controllino and the expansion module are configured as Modbus TCP servers while both the Weintek HMI and FUXA on the raspberry pi are Modbus TCP/IP clients. Modbus communications work seamlessly between all the devices.  
 
All sixteen of the analog inputs terminals on the Controllino are used for 0-10V analog inputs (temperature x 12, vacuum pressure, amps x2 and AC Voltage) and seven of the eight analog inputs of the expansion module monitor are also in use for 0-10V input sensors (all amperages).    This required modifying the default Controllino Mega i/o mapping in OpenPLC project which assigns only five of the sixteen AXX pins to analog signals.  The first eight digital outputs are used for the solid state relays for the kiln's electrical loads : condensing fans (3 x common), vacuum pump, electrical heating blankets (6) and the next four are indicator lamps on the panel's front face.  Two of the digital inputs are used as push buttons to test the fans and the vacuum pump.  All of the logic to set up a given drying batch:
wood species, thickness, location of the individual thermistors in the kiln is programmed into the HMI. When the operator is happy that the parameters match the wood load and the way he set up the thermistors, he hits a download to PLC button and all the set points are downloaded to the Controllino and the permission is granted to start the batch. Once the batch is started, the kiln is in automatic mode and the Controllino runs everything.  Below is the Batch Configuration screen on the Weintek 8106P HMI:
IMG_1239 Large.jpeg
 
 
The project in the OPEN PLC editor contains five programs, four in Ladder and one in Structured Text. Of the four in ladder, one manages the kiln while it is not in batch run (auto mode) and allows the operator to test the kilns components manually. The other three in ladder manage different parts of the drying process : Stage 1 - Preheat, Stage 2 Initial Dry, Stage 3 Final Dry. The structured text program is for indexed computation of average temperatures. Had the JMP function been available in ladder, I would not have used Structured Text. The ST compiler is poor at pointing to errors in the program and if you aren't a seasoned veteran of Structured Text, you will be flying blind, even with Chat GPT or Google Gemini as a co-pilot.
 
I did this project alone though I had a friend in the field I could occasionally consult. I had worked in factories early in my career and I was literate in control architecture just from hearing the controls guys talk about it (I was a mechanical engineer / project manager).  I sort of knew what Modbus was but had no idea of the details of modbus addressing or the client / server or master /slave relationship between devices. I spun my wheels at many parts of this project, partly due to my lack of knowledge and partially due to lousy equipment.  The first HMI I purchased for this project was a Samkoon HMI rebranded by Velocio (velocio.net), a US based company that makes tiny modular PLCs. The Samkoon/Velocio HMI had an ethernet port and was configurable as a Modbus TCP client but it could only support one Modbus TCP server connection (WTF?). Furthermore, its macro compiler didn't work and Velocio's tech support was useless. After I got past the despair, I sucked it up and bought the Weintek HMI which worked perfectly out of the box. Weintek's documentation is both complete and excellent.  Weintek's Macro editor uses a custom language which took a bit to get used to but is very, very easy when you get the hang of it.  It is a lot more intuitive than Structured Text.  
 
A part of this project I left out because I couldn't get it to work is the inclusion of DS18B20 temperature sensor data to monitor non-process temperatures (for example in the control cabinet and the transformer cabinet). The Arduino DS18B20 read block may or may not be the problem but I had lost the mojo to debug it.
 
I obviously learned a massive amount doing this project and the finished product is a much more flexible kiln than what it was when it was manufactured. OpenPLC project was a great tool to learn with and the community forum is very useful. I don't know how he finds the time but Thiago seems to read everything that comes in and responds to highly unskilled programmers like myself.  
 
For beginners like me who may have chosen OPENPLC Project because a) its free and b) out of concern about the byzantine licensing models of commercial products that leave one unsure about the total cost, be aware that what OPENPLC may not be for everyone. There are a fair number of video tutorials but there is no central manual or reference tool. For remedial level programmers such as myself, that means you can get stuck in a rut and end up trying to get unstuck by reformulating a query many times before you find an answer or by reading a Codesys manual to try to understand function blocks that share the same label.  Ironically, now that I know how to use it, I would totally choose it again because I have the knowledge to avoid my original mistakes.
 
Some of the issues I faced could be corrected with a modest level of effort. For example, when I finally learned the intricacies of Modbus addressing, I very much wanted to rewrite the Modbus addressing page on OPENPLC's website. It is addressed to people with a lot more knowledge than I had when I started this project. Written more carefully for a less competent audience would have saved me a lot of confusion. In the spirit of open source code and giving back, I hereby volunteer to update (read: dumb down) said page as well as some others...
 
Thank you again for this great tool.
Reply 2 0
thiagoralves
Thank you for sharing your story @CR !! I'm really happy to learn that your project worked as expected. Indeed OpenPLC's main issues are lack of documentation and poor compiler messages. Well, technically the compiler messages are not entirely our fault since we use MatIEC compiler, BUT, because we use it, we could as much contribute to it as well improving the error feedback. I have absolutely no background on compilers, so I haven't been of much help with it, but as Autonomy grows, I plan to hire people to support it better in the future. MatIEC is a great piece of software, and absolutely the only one open source Structured Text compiler available (there are some other new alternatives, but none of them are functional yet).
 
Documentation is the other thing I worry a lot and want to fix soon. As we are preparing to build a more enterprise-grade software with v4 launch, we will also need to provide solid documentation for users. Hopefully we will be able to deliver this along with the finished v4 product. Stay tuned 🙂
Reply 2 0
arumade1990
I bought a vacuum lumber kiln that had sit under a tarp in an eccentric woodworker's yard for 25 years for $1000. I had no idea if it worked or not and if I had a chance to restore it to working order.  I brought it to my shop, popped the lid and discovered that it had never been used. There was still packing material inside. I tested the transformers, heating elements, vacuum pump, condenser fans and they all worked. The only thing that didn't work were the controls, having been through decades of thermal cycling, condensation, etc.  I took the control box out and went about replacing everything. Power supplies, control cards, i/o cards, signal conditioners and triacs were thrown in the trash and replaced by 12V and 24 V DC power supplies, a Controllino Mega PLC, a BLIIOT (Shenzhen Beilai) M160T I/O expansion module for additional analog inputs, a Raspberry Pi 5 running FUXA SCADA, a Weintek 8106P 10 inch HMI, all connected via ethernet to a Teltonika RUT300 wired router. Below is a photo of part of the rewired control panel (left to right: 24VDC power, RPi 5, Controllino, Expansion module, 12V power supply).  IMG_1233_LR.jpg
 
Below is the photo of the same control box before the conversion:
[203128%2F9390280%2Fmceclip0]
 
The 12 V power supply is used for the Controllino and the Pi while 24V is used for everything else.  The router is not WIFI enabled (on purpose) and has 4 LAN and one WAN connection though the WAN connection is reassigned to the LAN allowing a fifth device (a PC when programming or the building's router if not).  The Controllino and the expansion module are configured as Modbus TCP servers while both the Weintek HMI and FUXA on the raspberry pi are Modbus TCP/IP clients. Modbus communications work seamlessly between all the devices.  
 
All sixteen of the analog inputs terminals on the Controllino are used for 0-10V analog inputs (temperature x 12, vacuum pressure, amps x2 and AC Voltage) and seven of the eight analog inputs of the expansion module monitor are also in use for 0-10V input sensors (all amperages).    This required modifying the default Controllino Mega i/o mapping in OpenPLC project which assigns only five of the sixteen AXX pins to analog signals.  The first eight digital outputs are used for the solid state relays for the kiln's electrical loads : condensing fans (3 x common), vacuum pump, electrical heating blankets (6) and the next four are indicator lamps on the panel's front face.  Two of the digital inputs are used as push buttons to test the fans and the vacuum pump.  All of the logic to set up a given drying batch:
wood species, thickness, location of the individual thermistors in the kiln is programmed into the HMI. When the operator is happy that the parameters match the wood load and the way he set up the thermistors, he hits a download to PLC button and all the set points are downloaded to the Controllino and the permission is granted to start the batch. Once the batch is started, the kiln is in automatic mode and the Controllino runs everything.  Below is the Batch Configuration screen on the Weintek 8106P HMI:
IMG_1239 Large.jpeg
 
 
The project in the OPEN PLC editor contains five programs, four in Ladder and one in Structured Text. Of the four in ladder, one manages the kiln while it is not in batch run (auto mode) and allows the operator to test the kilns components manually. The other three in ladder manage different parts of the drying process : Stage 1 - Preheat, Stage 2 Initial Dry, Stage 3 Final Dry. The structured text program is for indexed computation of average temperatures. Had the JMP function been available in ladder, I would not have used Structured Text. The ST compiler is poor at pointing to errors in the program and if you aren't a seasoned veteran of Structured Text, you will be flying blind, even with Chat GPT or Google Gemini as a co-pilot.
 
I did this project alone though I had a friend in the field I could occasionally consult. I had worked in factories early in my career and I was literate in control architecture just from hearing the controls guys talk about it (I was a mechanical engineer / project manager).  I sort of knew what Modbus was but had no idea of the details of modbus addressing or the client / server or master /slave relationship between devices. I spun my wheels at many parts of this project, partly due to my lack of knowledge and partially due to lousy equipment.  The first HMI I purchased for this project was a Samkoon HMI rebranded by Velocio (velocio.net), a US based company that makes tiny modular PLCs. The Samkoon/Velocio HMI had an ethernet port and was configurable as a Modbus TCP client but it could only support one Modbus TCP server connection (WTF?). Furthermore, its macro compiler didn't work and Velocio's tech support was useless. After I got past the despair, I sucked it up and bought the Weintek HMI which worked perfectly out of the box. Weintek's documentation is both complete and excellent.  Weintek's Macro editor uses a custom language which took a bit to get used to but is very, very easy when you get the hang of it.  It is a lot more intuitive than Structured Text.  
 
A part of this project I left out because I couldn't get it to work is the inclusion of DS18B20 temperature sensor data to monitor non-process temperatures (for example in the control cabinet and the transformer cabinet). The Arduino DS18B20 read block may or may not be the problem but I had lost the mojo to debug it.
 
I obviously learned a massive amount doing this project and the finished product is a much more flexible kiln than what it was when it was manufactured. OpenPLC project was a great tool to learn with and the community forum is very useful. I don't know how he finds the time but Thiago seems to read everything that comes in and responds to highly unskilled programmers like myself.  
 
For beginners like me who may have chosen OPENPLC Project because a) its free and b) out of concern about the byzantine licensing models of commercial products that leave one unsure about the total cost, be aware that what OPENPLC may not be for everyone. There are a fair number of video tutorials but there is no central manual or reference tool. For remedial level programmers such as myself, that means you can get stuck in a rut and end up trying to get unstuck by reformulating a query many times before you find an answer or by reading a Codesys manual to try to understand function blocks that share the same label.  Ironically, now that I know how to use it, I would totally choose it again because I have the knowledge to avoid my original mistakes.
 
Some of the issues I faced could be corrected with a modest level of effort. For example, when I finally learned the intricacies of Modbus addressing, I very much wanted to rewrite the Modbus addressing page on OPENPLC's website. It is addressed to people with a lot more knowledge than I had when I started this project. Written more carefully for a less competent audience would have saved me a lot of confusion. In the spirit of open source code and giving back, I hereby volunteer to update (read: dumb down) said page as well as some others...
 
Thank you again for this great tool.
This is a REALLY cool and interesting project! I too still have a lot to learn with OpenPLC, so any updates to the docs you make will be welcome! I'm glad your kiln worked out good!
Reply 0 0
Domingos Paraiso
I work on a POC (Proof of Concept) to do an interlock to a overhead crane for a steel company, I project the hardware using a ESP32 board, some relays and leds. Unfortunatelly I don't know about the OpenPLC project yet, so I programming all firmware using C++ with Wifi, TCP/IP, HTTPS and other protocols. The project was aproved, now I will try to migrate the firmware to OpenPLC instead the custom software used as POC.
 
hardware.pngplc.jpg
Reply 2 0
Imko
hello am "inko" from malawi , i just completed my electrical and electronics engineering bachelors degree at malawi university of business and applied sciences.
i used openPLC editor for the final year project ultilisisng ladder diagrams and c++ , i must say i really enjoyed using modbus TCP protocols with esp 32 and arduino nano rp 2040 to communicate to fuxa scada.
 the project automated a water treatment system based on one available in one of malawis power station.
 
some problems i encounterd
Analog to DIgital conversion whilts using openPLC, i havent still figured it out why my readings where not changing when subjecting the sensor to different samples when i debugging in open plc , eventually it was implemented using arduino extension.
 
i must say thanks guys for creating free tools which are also flexible, for low economic countries in africa its gamechanging in developing our skills
bellow are some of the pictures for our scada , programme and the prototype
Screenshot 2025-10-26 105853.pngWhatsApp Image 2025-09-30 at 13.43.17_5ef8a81f.jpg
Reply 5 0
CarlosCervantes
Hello! I'm from Mexico. I met OpenPLC years ago. Now I have a YouTube channel with Open Source Engineering Software in spanish, and I started a little course to introduce people to plc world, and all with OpenPLC.
This is the channel:
Reply 1 0
Reply