Modbus Node-Red Dashboards and MQTT Modbus Bridge

As part of my work with modbus I’ve created several tools that make testing node-red modbus flows easier. In particular I’ve created two dashboards . These dashboards are identical in appearance and they let you send modbus read and write commands form the browser. However the first dashboard interfaces directly with the modbus getter and write nodes whereas the second sends the commands via MQTT to  remote getter and setter nodes .

Continue reading

How to Use Node-Red with Modbus

Modbus is a de facto standard, truly open and the most widely used network protocol in the industrial manufacturing environment.-ref Modbus Faqs Because of its popularity there is a growing requirement for reading data and controlling Modbus devices over TCP/IP networks using node-red.

Continue reading

Reading and Writing Data Using Buffers -Nodejs & Node-Red

What is a Buffer?  -A buffer is an array of binary data. Each element in the array is 8 bit binary data. When are buffers used?  -Buffers are used when you need low level access to data usually that has been received on the network or from the file system. Data stored on computers and transferred between computers on networks is stored or sent as a sequence of bytes. When you read data from a file or from the network it is read into a data buffer. Node.js Buffer Module To work with buffers in node-red we use the node

Continue reading