A real-time factory simulation bridging CODESYS SoftPLC and Node-RED.
- Source: CODESYS Control Win V3 (IEC 61131-3 Structured Text)
- Protocol: OPC UA
- Visualization: Node-RED Dashboard 2.0 (Dockerized)
- PLC Logic: Generates simulated sensor data (RPM, Pressure, Flow, Temp) using sine wave algorithms in Structured Text.
- Communication: Variables are exposed via the CODESYS Symbol Configuration to the local OPC UA Server.
- Visualization: Node-RED subscribes to the OPC UA topics and visualizes the data on live gauges and charts.
- Open the file in
/plcusing CODESYS. - Login and Start the SoftPLC.
- Import
flows.jsoninto Node-RED. - Update the OPC UA Endpoint in Node-RED with your local IP.
