Modbus TCP issues

When I look at the captures, it appears to me that you are not seeing the traffic between the Micrologix and the Omega controller which would be normal when using a true unmanaged switch. You will need a managed switch with port mirroring capability or a 'true' ethernet hub as Ken stated earlier. The unmanaged switch is filtering out the messages from your PC.
 
I managed to find a managed switch through my IT group. Here I do see a communication to 192.168.1.4 (Omega controller).

New wireshark file attached.

I do appreciate your help on this.

Thanks.
 
Based on that capture, I would try a Unit ID of 1. The Micrologix request looks good and there is a TCP ACK from the Omega controller so it looks like the Ethernet side is good, it just doesn't like the Modbus request.

It is not 'supposed' matter what the Unit ID is on Modbus TCP unless you are using a TCP to RTU bridge but a lot of devices care.
The only difference I see in the successful message from Modbus Poll versus the unsuccessful message from the MicroLogix is the Unit ID.
 
OK, now I do think I see something.

PLC to OMEGA looks like this:

00 06 00 03 00 27 00 01

MODBUS to OMEGA looks like this:

00 06 01 03 00 27 00 01

The unit ID is 0 and should be 1. Where is that controlled in the PLC? If I can change that I may have my answer?
 
Progress. Now I DO get a response, but it errors out immediately.

Error code 82. Illegal address.

Wireshark shows this is being sent...

06 01 03 00 27 00 64
 

Similar Topics

Hi all, I've been trying to get Modbus TCP to communicate (read only) with the Modbus TCP AOI that Rockwell provides, but I'm having issues and...
3
Replies
3,858
Views
Has anyone had any experience using MODBUS/TCP with Beckhoff controllers? Specifically on TC3? I am using a CX8190 to communicate with an epson...
6
Replies
5,719
Views
Hi All, I have an issue with a Red Lion Data Station (Crimson 3.0 V707). The Data Station is set up as a Modbus Master TCP/IP and is connected...
18
Replies
7,961
Views
My fundamental task is to make modifications to an existing piece of equipment running a MicroLogix PLC, and part of the modifications includes...
8
Replies
362
Views
I've only used Siemens HMI panels for systems connected to Siemens PLCs. Any modbus tcp device would be connected to the PLC, and not directly to...
3
Replies
298
Views
Top