Modbus TCP Illegal data address error from Micro820 to Red Lion Graphite HMI

JeffreyS

Member
Join Date
Apr 2016
Location
Tulsa
Posts
36
I have the HMI setup as shown in the picture. Then from my PLC and from the handy Baseblock ComTest Pro program I get a illegal data address. "
Any ideas what the trick is here to make this work. I have the tag TagForPLC1toCheck set to True so I should get back a 1 when I read that first single coil bit.
( sorry for the null post below )

HMI.jpg Baseblock.jpg HMI2.jpg
 
Last edited:
The first image (HMI.jpg) is too blurry and it's difficult to read the configuration.

According to the second image, you'are tryng to read a register from the HMI (PLC is master modbus). Is it correct?
 
I am setting the protocol in the HMI to a Modbus TCP/IP slave so this should allow us to read that bit. Yes the PLC is a master.
 
I know the Direction parameter (Device to G3) works when you want to write from the PLC to HMI. I'm not sure if it's the same setup when you want to read (I don't have a manual to check that).

What modbus fuction are you using?
 
The program example from that link works no problem. Not sure why it wont work for me. We can't upload code files here can we?
 
In the file you can download from the site it works at device number 1. I deleted that device and added a Micro800 as device 1 then added the Modbus slave protocol so it gets set to device 2. Added everything back they way the example program had it so the only difference should be the device 2 vs 1. This then breaks the read. I can't read at 1 or device 2.

The problem must be that a Modbus TCP slave device MUST be set to 1. Can anyone else try and confirm this?
 
This creates a big problem! My G15 Graphite even from a blank new file starts the first protocol at device 2!!!! This would never allow the HMI to be able to be read from over Modbus TCP because you can never get it to setup as device 1...

WTH TIMMYYYYYY
 

Similar Topics

I have a PH meter that I am trying to bring its data into 1756-L81. I have downloaded the Rockwell MODBUS AOI kit, but I am not sure if I need to...
Replies
5
Views
151
Hello gentlemen, Im working on a small project on TIA Portal, about establishing a Modbus TCP connection between my ET200SP plc and a socomec...
Replies
12
Views
305
If a device has Modbus RTU over serial and Modbus RTO over TCP and Modbus TCP then there is a difference between Modbus RTU over TCP vs Modbus TCP...
Replies
7
Views
477
Hi There. I have PC to get few tags from PLC into C# windows forms application. What is the best and fastest way? I could not find Omron in...
Replies
3
Views
269
I contacted Hach and bought a kit they recommended for a customer to add Modbus TCP capability to his Chlorine Analyzer with a SC4500 controller...
Replies
8
Views
228
Back
Top Bottom