We are trying to establish communication between our Groov Epic PR1 and the Beijer HMI (with the HMI as the Master (Client) and the EPIC as the Slave (Server).
We have purchased the CODESYS Modbus TCP Server SL library and are using CODESYS software. However, we are still encountering issues in establishing communication.
Could you please provide a solution or guidance on this?
Can you explain āencountering issuesā a bit more please⦠@greichert is our Codesys guy while I have done some work with port 8502 Modbus, but we both need more than whats in this post.
When we communicate with the EPIC as the slave (server) and the HMI as the master (client), the communication works smoothly. However, our requirement is for the Beijer HMI to be the master (client) and the EPIC to be the slave (server).
My query is simple: How can I communicate between the Groov Epic PR1 and the Beijer HMI using the Modbus TCP/IP protocol in CODESYS, with the Beijer HMI as the master (client) and the EPIC as the slave (server)?
Sorry, thats not what I meant.
I mean what Ethernet ports are you using?
Eth1 or Eth0
Ah, so everything is working fine, there is no issue?
Why do you need to swap it around if you have it working?
What is the reason for not using it how its working?
Sorry to keep you waiting, its 3am in the morning here in USA.
Are you using port 8502 for the Modbus?
Can the Beijer use port 8502?
What you write here is exactly the same. You write that EPIC as the Slave is working with the HMI as the Master smoothly.
Here another proposal:
Did you try to use the OPC-UA Server in Codesys and use the OPC-UA client in the Beijer HMI Terminal? That seems to me a more elegant way to communicate between the HMI (Master/Client) and Codesys on EPIC.
If you still insist to use Modbus-TCP, then follow the firewall settings as Ben referenced to and make sure the I/O Modbus-TCP Slave is disabled. If you have done all this, and configured the Codesys side correct, the PR1 should reply to the master.
Can you please guide me on how to add the ModbusTCP_Server_Device to my program? I searched for it in the program, but I couldnāt find it in my library. Once I have this, I believe my communication issue might be resolved.
Hello, Here is a video link for setting up the Modbus TCP Slave device in Codesys, it is using a different PLC in the example but the setup will be similar for the Epic: https://www.youtube.com/watch?v=8XYEzj9Zrkk