This repository contains the Node-RED MPS SCADA project, including maintenance guides, Standard Operating Procedures (SOPs), JSON code for Node-RED flows, and PLC programs.
Indonesia Version here
- Introduction
- Maintenance Guide
- Standard Operating Procedures (SOP)
- Node-RED JSON Code
- PLC Programs
- Visuals
This project aims to develop a SCADA system using Node-RED for monitoring and controlling a Modular Production System (MPS). The project includes integration of multiple PLCs using FINS UDP and Modbus TCP protocols.
Description: The image above represents an overview of the system architecture, illustrating the integration and flow of data between different components in the SCADA system. The Omron CP1L-M30DR-A PLC uses the FINS UDP protocol, while the Siemens S7-300 PLC uses the Modbus TCP protocol. The PLCs are connected to a TP-Link WR840N router using Ethernet, which then sends the data to the MTU/PC. The Node-RED dashboard is used for monitoring, and InfluxDB is used for data storage. For more detailed information regarding this project, refer to the document.
The maintenance guide provides detailed instructions on how to maintain the Node-RED MPS SCADA system.
- Check Node-RED Flows: Ensure all flows are running without errors.
- Update Dependencies: Regularly update Node-RED and installed nodes.
- Backup Flows: Backup the current Node-RED flows.
- Inspect PLC Connections: Verify all PLC connections are stable and functioning.
- Node-RED Issues: Refer to the Node-RED logs for error details.
- PLC Communication: Check the PLC communication status and logs.
- Network Issues: Ensure the network connectivity is stable and reliable.
This section includes the SOPs for operating and managing the Node-RED MPS SCADA system.
- Power On: Turn on all PLCs and network devices.
- Launch Node-RED: Start the Node-RED server.
- Load Flows: Open the Node-RED dashboard and load the required flows.
- Stop Node-RED: Gracefully stop the Node-RED server.
- Power Off: Turn off all PLCs and network devices.
This section contains the JSON code for the Node-RED flows used in this project. The Node-RED flows are located in the Node-RED folder.
*UPDATE!, the latest version of json file can be accesed here
The following Node-RED modules are used in this project:
-
- Description: A visual tool for wiring the Internet of Things.
-
- Description: Nodes to work with the filesystem in Node-RED.
-
- Description: Node-RED nodes to save and query data from an InfluxDB time series database.
-
- Description: The all-in-one Modbus TCP and Serial contribution package for Node-RED.
-
- Description: Node-RED nodes to interact with Omron PLCs using the FINS protocol.
-
- Description: A set of dashboard nodes for Node-RED.
-
- Description: Node-RED nodes to talk to serial ports.
-
- Description: A Node-RED Dashboard user interface node that displays an LED status indicator.
-
- Description: A Node-RED Dashboard UI media node.
-
- Description: A Node-RED Dashboard UI SVG node.
This section contains the PLC programs used in this project. The PLC programs are provided in separate files within the PLC Programs directory.
-
Separating Station folder *UPDATE!, the latest version of PLC program can be accesed here
-
Storing Station folder *UPDATE!, the latest version of PLC program can be accesed here
-
Login Page
Description: The login page for accessing the SCADA system. -
Account Dashboard
Description: This dashboard displays the account details and system status. -
Separating Station
Description: The separating station dashboard in the SCADA system. -
Separating Station 2
Description: Another view of the separating station dashboard. -
Storing Station
Description: The storing station dashboard in the SCADA system. -
Storing Station 2
Description: Another view of the storing station dashboard. -
Alarm History
Description: This dashboard provides a history of all alarms generated by the system.


