Node-RED Modbus TCP Handling Errors

Node-RED Modbus TCP Handling Communication Errors

Node-RED Modbus TCP can recover from communication errors automatically. Options are available to you the programmer to continue the Node-RED flow upon detection of these errors. Broken Ethernet cable, Modbus Server power, and Node-RED Client offline are just a few of the errors that can occur on the industrial plant floor. Our Node-RED program must … Read more

Waveshare USB to Serial PC Installation

Waveshare WS USB RS485 PC Installation

We will be installing an industrial USB to RS485 converter on our computer. The Waveshare USB to serial port is a 2-wire USB to RS-485 serial communication adapter for RS485 use. It does not require an external power supply or complicated configuration. It has a Type A (plug) USB connector for the computer side and … Read more

Install Node-RED on Raspberry Pi 4

Install Node-RED on Raspberry Pi 4

We will now be installing Node-RED on a Raspberry Pi 4 single-board computer. A static IP address will also be given for both the WiFi and Ethernet connections. The Raspberry Pi has quickly become a fixture in the industrial environment when utilizing the internet of things. (IoT) We will be utilizing this low-cost computer to … Read more

Node-RED SQL Database Log – Modbus Logging

Node-RED SQL Database Log - Modbus Logging

Node-RED can easily log data to a database. SQL (Structured Query Language) can be used to communicate to a SQL database. Databases separate analysis from the data unlike spreadsheets like Excel. The database is designed to hold more information than spreadsheets and allow multiple users to access the information. We will be creating an SQLite … Read more

Node-RED User Interface – Dashboards

Node-RED User Interface - Dashboards

Node-RED can easily display interactive information to the user or operator using a web browser on your phone, tablet, or computer. Any device that has access to the network in which node-red is running. We will be installing the node-red-dashboard palette. This allows us to create a live data dashboard user interface. (UI) The information … Read more

Node-RED Modbus RTU / TCP Communication

Node-RED Modbus RTU / TCP Communication

Node-RED can easily connect to industrial controls using Modbus communication. Modbus is a master-slave type of communication. Masters will always send the commands to read or write to the slaves on the network. The slaves will respond if the communication is directed at them. We will be installing the node-red-contrib-modbus palette. This will allow us … Read more