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).

Below is the photo of the same control box before the conversion:
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:

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.