Category Archives: Modbus TCP

Ethernet communication protocol. This is part of the Modbus.

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 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 RTU / TCP Communication
Node-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.
Let’s get started using Node-RED for Modbus communication. Continue Reading!

Productivity Open P1AM Arduino Modbus TCP Client to Click PLC


We will now connect our Productivity Open P1AM Arduino to a Click PLC. Using Modbus TCP the Arduino will be the Client (Master) and the Click will be the Server (Slave).
Productivity Open P1AM Arduino Modbus TCP Client to Click PLC
We will explain how to connect our P1AM-ETH Industrial Arduino Ethernet Shield to the Click PLC. The protocol will be Modbus TCP on an Ethernet communication network. 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. Since this is an Ethernet network our master is known as a client and the slave as a server.
The P1AM Example from Automation Direct on GitHub will be used. It will be modified to write to holding registers and coils in the Click PLC.
github.com/AutomationDirect/P1AM-Examples/tree/master/P1AM-100_ModbusTCP_Client_Multiple
The temperature from the thermocouple input unit on the P1AM will be written to the Click PLC. Inputs from the simulator input card on our Arduino P1AM will be written to the Click PLC outputs directly. The Click PLC will also be programmed with a heartbeat circuit. This will detect if communications have been severed and will reset the outputs after 5 seconds. Let’s get started with our Arduino P1AM Modbus client to Click Modbus server. Continue Reading!

ACC Automation 2020 Yearly Review


Accelerate Learning …
Accelerate Machines…
Accelerate Knowledge…
ACC Automation
ACC Automation 2020 Yearly Review
What a difference a year makes! Social distancing, mask-wearing, hygiene, social circles, etc are just a few of the terms we hear every day in this Covid-19 world. Video conferencing with Zoom, Teams, and Google Meet are the norm in business today. Information is knowledge, and everyone wants to be able to see, control, and summarize production data on a regular basis. Technologies are merging and communicating like never before. What was impossible is now possible for the industrial plant floor. We are looking forward to the New Year and new possibilities for implementing your control solution.

Each year we like to take a few minutes and reflect on the past, current, and future of ACC Automation. You have helped us to build the site that you see today through questions, comments, and suggestions. Thank you. Keep on Reading!

P1AM Arduino Modbus TCP to C-More EA9


We will now look at P1AM Arduino Modbus TCP communication to the C-More EA9 Series HMI. This will be communicating Ethernet Modbus TCP protocol. The P1AM will be the server (slave) and the EA9-RHMI the client (master).
p1am arduino modbus tcp c-more ea9
We will explain how to connect a headless C-more HMI to our P1AM-ETH Industrial Arduino Ethernet Shield.
The P1AM Example from Automation Direct on GitHub will be used.
P1AM-Examples/tree/master/P1AM-100_ModbusTCP_Server_HMI
We will be using the remote android and windows app to connect to the C-More EA9 HMI. This will display the information from our Arduino P1AM on our headless unit. Let’s get started. Continue Reading!

Productivity Open P1AM Industrial Arduino Modbus TCP to C-More Micro EA3


We will now look at P1AM Arduino Modbus TCP communication to the C-More Micro EA3 HMI. This will be communicating the Ethernet Modbus TCP protocol. The P1AM will be the server (slave) and the EA3-T4CL the client (master).
P1AM Arduino Modbus TCP
There was a recent question on the Automation Direct Customer Forums that asked, “How do I connect an HMI C-more EA3-T4CL and P1AM PLC?“.
We will explain how to connect this to our P1AM-ETH Industrial Arduino Ethernet Shield.
The P1AM Example from Automation Direct on GitHub will be used.
P1AM-Examples/tree/master/P1AM-100_ModbusTCP_Server_HMI
We will be using the C-More Micro EA3-T4CL HMI that is posted. Let’s get started. Continue Reading!