Node-RED with Modbus: Industrial Automation Essentials

  • Course Title: Node-RED with Modbus: Industrial Automation Essentials
  • Duration: ~4-5 Hours
  • Level: Beginner
  • Prerequisites: Basic Modbus, Networking and JavaScript knowledge
  • Mode: Personal Training (Instructor-Led) | Online (MS Teams, Google Meet, Zoom, Etc.)

📝Course Description:​

Master Node-RED and Modbus in this 4-5 hour hands-on course. Learn to monitor and control Modbus data (Coils, Input Coils, Holding/Input Registers) via a Node-RED dashboard, create a Modbus TCP server, and log device data in an SQLite database. Configure Open ModSim, demo a physical Modbus RTU device, and build practical flows for industrial IoT and automation.

🎓What You’ll Learn:

  • Understand Modbus RTU/TCP and Node-RED fundamentals
  • Monitor Modbus data (Coils, Input Coils, Holding/Input Registers) in a Node-RED dashboard
  • Control Modbus data (Coils, Holding Registers) from a dashboard
  • Create a Modbus TCP server in Node-RED
  • Log Modbus device data in an SQLite database
  • Troubleshoot Modbus communication and flows

🧩Course Structure:

  • Module 1: Node-RED and Modbus Basics
    • Overview of Node-RED: Interface, flows, IoT applications
    • Modbus protocol: RTU vs. TCP 
    • Data model: Coils, Input Coils (Discrete Inputs), Holding/Input Registers
    • Device ID (Unit ID)
    • Function codes: FC1 (Read Coils), FC2 (Read Discrete Inputs), FC3 (Read Holding Registers), FC4 (Read Input Registers), FC5 (Write Coil), FC6 (Write Register)

 

  • Module 2: Setting Up Node-RED, Modbus, and TCP Server
    • Install Node-RED, node-red-contrib-modbus, and node-red-dashboard
    • Configure Open ModSim to emulate a Modbus device (TCP/RTU)
    • Physical RTU Demo: Trainer-led connection to a Modbus RTU device (e.g., PLC or sensor via RS-485) to demonstrate real-world communication 
    • Create a Modbus TCP server in Node-RED using node-red-contrib-modbus (Modbus-Server node)
      • Configure server to expose coils/registers (e.g., Unit ID 1, port 502)
    • Test server: Connect ModScan32/Open ModScan to Node-RED’s TCP server

 

  • Module 3: Monitoring and Controlling Modbus Data
    • Build Node-RED flows to read/monitor Modbus data:
      • Coils (FC1), Input Coils (FC2), Holding Registers (FC3), Input Registers (FC4)
    • Create a Node-RED dashboard: Display data (e.g., gauges for registers, switches for coils)
    • Write/control Modbus data from dashboard:
      • Toggle Coils (FC5), write to Holding Registers (FC6) using buttons/sliders
    • Monitor communication: Use Node-RED debug node for TCP/RTU data
    • Troubleshoot issues: Connection timeouts, invalid Unit IDs, node errors

 

  • Module 4: Logging Modbus Data in SQLite
    • Install SQLite and node-red-node-sqlite package
    • Create a database and table (e.g., for timestamped Modbus data)
    • Flow to log Modbus data (e.g., temperature register, coil status) to SQLite
    • Query and verify logged data using SQLite DB tools
    • Hands-on: Log periodic data from simulator/physical device to database

🛠️Tools Required:

  • Node-RED (latest version, free)
  • Open ModSim (free simulator)
  • ModScan32 (trial) or Open ModScan (open-source) for monitoring
  • Windows/Linux/Mac computer with RS-232/RS-485 (for RTU) or Ethernet (for TCP)
  • Internet Connection
  • Optional: Physical Modbus RTU device (e.g., PLC, sensor with RS-485 interface)

🌟Certification:

  • No certificate provided.

🤝Enroll Now:

💵Course Pricing and Payment:

  • Base Fee: 4500₹ / 60 USD

  • Promotional Offer: 2500₹ / 40 USD

  • Payment: Full payment required upfront via a secure platform (UPI / Bank Transfer / PayPal / Cashfree). No refunds will be issued.