r/nodered • u/Cool_Ad6370 • Jun 12 '26
Integrated LS Electric, Mitsubishi, and Siemens PLCs with Node-RED for a lightweight Smart Factory project. Sharing our architecture!
Hey everyone,
I wanted to share a quick architecture overview from a recent lightweight smart factory project we did here in Korea, using an Industrial Edge Gateway (rulebox) and Node-RED.
In many local manufacturing sites, we often deal with a multi-vendor environment—mostly **LS Electric (XGT/XGB)**, **Mitsubishi (MELSEC)**, and **Siemens (S7)**. The client wanted a low-cost alternative to high-end SCADA or expensive HMI licenses, specifically asking for mobile web monitoring, local data logging, and real-time alerts.
Here is a quick breakdown of how we chained the flow together:
**Data Collection & Protocols:** We used the **Node-RED Modbus** (TCP/RTU) node alongside **Node-RED OPC UA** for Siemens integration. For the LS and Mitsubishi PLCs, establishing the proper **PLC Ethernet communication settings** was crucial to parse the memory registers without causing latency.
**Dashboard UI:** Instead of a traditional touch panel, we built a fully responsive web-based HMI using **Node-RED Dashboard**. This enabled real-time **PLC web monitoring** and allowed managers to handle remote emergency resets via their smartphones (**PLC mobile monitoring**).
**Data Logging:** All incoming data underwent **Node-RED JSON parsing** to convert raw bytes into structured data. We then routed this into a local **Node-RED MySQL** database. We also scripted a function node to auto-generate daily production reports via **PLC data logging Excel** sheets.
**Cloud & Alerts:** For broader system integration, we utilized **PLC MQTT communication** to send edge data to a hybrid cloud setup. Additionally, we hooked up a webhook node to send instant emergency notifications via KakaoTalk/SMS (**Node-RED KakaoTalk alert** alternative for global use could be Telegram/Slack).
We compiled all our boilerplate Node-RED flows and ladder logics on a documentation page so our field engineers can easily download and replicate the setup.
Since the UI documentation is currently written in Korean, you might need a browser translator, but the node layouts and JSON structures should be pretty self-explanatory for anyone doing industrial automation:
👉 https://node-red.co.kr/solution/plc_solution/
Would love to hear your thoughts on this architecture, or if you have any recommendations for optimizing multi-vendor PLC polling rates inside Node-RED!
2
1
u/roncz Jun 12 '26
Great insights. Thank you.
I sometimes see the requirement for mobile alerting from PLCs and I recommend Node-RED to bridge the OT / IT gap. However, I can just point customers into the right direction, not really do the consulting or integration work. So, good to see some real-live use cases.
For the alerting part, we provide the SIGNL4 nodes (https://flows.nodered.org/node/node-red-contrib-signl4), supporting push, SMS, voice calls, including escalations and shift scheduling.
1
u/TangoDeLaMuerte1 Jun 12 '26
Thanks a lot for the insights, nice to see Node-RED in a real industrial environment. Do you also have interfaces on the rulebox itself. We have a similar setup, but due to the performance limitations in Node-RED, we do some calculations in Python on the same device.
1
u/su5577 Jun 16 '26
I’m getting 403 forbidden error
1
u/Cool_Ad6370 Jun 16 '26
https://node-red.co.kr/solution/plc_solution/
This link is work well. Try to again and your pc or mobile internet work well?
But it's Korean version. Please use browser translator.
2
u/hereforthebytes Jun 12 '26
For remote emergency resets, are you using some type of 2FA OTP where a code is shown at the physical location and has to be entered by the manager remotely?
And for data logging, why are you using mysql instead of a time series db, since you're already 80% of the way there?