Garry (Customer) asked a question.

Node-RED Modbus Communication - Modbus TCP Ethernet and RTU Serial

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 to communicate Modbus serial (RS485) RTU to a Solo process temperature controller. We will then use Modbus Ethernet TCP to communicate to a Click PLC.

Note: When using Modbus TCP (Ethernet) the master is referred to as the Client and the slave is a Server.

Node-RED Modbus Click PLC and Solo Process Temperature Controller 010-minNode-RED will be used to create a single Modbus flow. We will communicate to our Solo process temperature controller using Modbus RTU on a serial RS485 network. The present and set values of the controller will be read. These values will then be written to our Click PLC using an Ethernet Modbus TCP network. A set value from an analog input on the Click will be used to then write to the Solo. This will happen every 200 milliseconds or 5 times per second.

 

Continue reading the post...

Watch on YouTube...

 

Regards,

Garry

 

https://accautomation.ca/series/node-red-iot-enabling-software/

 


Garry likes this.
  • ADC Community_02 (Automationdirect.com)

    Great video! Thanks for sharing.

    Selected as Best