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 account for and be tested for each of these conditions.
We will be communicating Modbus TCP (Ethernet) to our Click Plus PLC. Using the catch node we will detect and display errors that may occur. Let’s get started.
More information can be obtained at our website. This includes all of the links mentioned in this video.
[ Ссылка ]
In this series we started using Node-RED in some of the following ways:
The entire series can be viewed here:
[ Ссылка ]
Installing the Windows Software
[ Ссылка ]
[ Ссылка ]
Modbus RTU / TCP Communication
[ Ссылка ]
[ Ссылка ]
User Interface - Dashboards
[ Ссылка ]
[ Ссылка ]
SQL Database Log
[ Ссылка ]
[ Ссылка ]
SQL Database Spreadsheet Connection
[ Ссылка ]
[ Ссылка ]
Install Node-RED on Raspberry Pi 4
[ Ссылка ]
[ Ссылка ]
Do-More PLC Node-RED HTTP Request
[ Ссылка ]
[ Ссылка ]
Simple Click Data Logging
[ Ссылка ]
[ Ссылка ]
We will continue with the following:
Node-RED Modbus TCP Handling Errors
00:00 Node-RED Modbus TCP Handling Errors
00:01 Node-RED Windows Startup
00:02 Node-RED Modbus TCP Communication Program
00:03 Click Plus Modbus TCP Server Program
00:04 Node-RED Modbus TCP Testing Errors
There are several reasons why we are using Node-RED. Here are just a few.
- Built on top of the most dependable programming language JavaScript.
- JavaScript is flexible and easy to work with on web browsers, server-side, IoT, IIoT projects, and more.
- Visual flow type interface making programming easy.
- Node will allow JavaScript code to run directly on a computer.
- Node-RED is a free, open-source logic engine.
- Connect to PLC, PAC, Temperature Controllers, Process Controllers using standard protocols.
- Save and read from databases
- Easily make the Internet of Things (IoT, IIoT) industrial solutions.
Node-RED provides the ability for you to quickly create custom control solutions.
[ Ссылка ]
Node-RED Modbus TCP Handling Communication Errors
Теги
node-redmodbusmodbus tcpacc automationiot industriallearn node-rednode rednode-red npmnode-red plc communicationnode-red programmingnode-red tutorialnode-red windows softwareplc scadanode-red modbus tcpautomationtutorialiottcpplcplc programmingnode red modbus errornode-red modbus tcp handling communication errorsnode-red error handlingnodered modbus errorsclicknoderednode-red modbusclick iot modbushandling node-red errors