modbus poll

RY_Guthrie

Member
Join Date
Nov 2011
Location
Las vegas, NV
Posts
263
i am using modbus pol to trouble shoot a modbus comms issue. I have device communicating modbus over rs485 going through a lantronix express DR which convert is to modbus over tcp/ip. I can read the data fine on the rs-485 side and to the best of my knowledge the Lantronixs is setup correctly??? I dont have the software to check it. But when i connect modbus pol to the ethernet side I get Insufficient bytes received? I have tried multiple setting in modbus pol with no luck. I have the correct IP as I can ping the lantronix. I am leaning toward a lantornix config issue, but I have little experience with these devices so I was wondering what that error message even means. MOdbus pol gives no explanation in the users manual. Thank you for any advice!! Also is there somewhere online where you can download the lantornix software as I dont have access to the DVD? tired there webs site with no luck.
 
you should be able to telnet into the lantronix using the ip and port 9999


I dont think the express dr supports modbus tcp, you would need to use modbus rtu over tcp/ip in modbus poll. But first things first, you need to check all of the settings.
 
you should be able to telnet into the lantronix using the ip and port 9999


I dont think the express dr supports modbus tcp, you would need to use modbus rtu over tcp/ip in modbus poll. But first things first, you need to check all of the settings.


Thinking same, it is modbus rtu over TCP not Modbus TCP.


There is virtual com port software for PC. (You setup your PC to connect virtual com port it then redirects rtu querys to lantronics ethernet port if your client don't support modbus rtu over TCP protocol directly.)



Download link and setup software links are here:

https://www.lantronix.com/products/xpress-dr-xpress-dr-iap/#tab-overview
 
I think the important distinction is "Modbus / TCP" versus "Modbus RTU encapsulated over TCP/IP".

Ethernet/Serial gateways that are "Automation protocol enabled" generally run real Modbus/TCP protocol on the Ethernet side. They receive a Modbus/TCP command, break it up into its component parts, and then send it out the serial side as a Modbus RTU command.

But there are also cheaper and simpler Ethernet/Serial gateways that don't know anything about industrial automation protocols. They just implement a "virtual serial port", and encapsulate the whole serial string or protocol frame instead of translating or interpreting it.

Lantronix "DR" are their Din Rail mounted gateways, of course. But they offer two nearly identical models: "XPress DR" and "XPress DR-IAP".

If you've got an XPress DR-IAP, then setting up your Modbus Poll for Modbus/TCP mode is correct.

But if you've got an XPress DR, then you need to set up Modbus Poll as though it was running Modbus RTU protocol over a virtual serial port, and get that virtual serial port configured using LanTronix tools.
 
software

Unfortunately i dont have the install disc for the lantronix software so I am using the web interface. It is a xpress DR going by the id panel on the side. I just got the web browser working. I have not figured out what parameters are important and what ones are not. Its a new piece of equipment for me so I am having to read the manual. Thank you to every one who responded, this site has helped me more times than I can count!!
 
Maybe you have a problem with the RS-485 flow control, maybe the Lantronix module switches to receive mode too late and bytes are lost.

Do you know if the missing bytes are from the beginning or the end of the slave reply ?
 
The "Insufficient bytes received" message is probably because it is missing the MBAP header (7 bytes long)...


Does modbus pol display the messages in HEX?
 

Similar Topics

Hi, Do you have any trick to make a software working when the 30 days demo version is expired? I've tried to uninstall/clean the registers etc...
Replies
6
Views
243
I'm trying to use DTM browser to make make modbus poll from RTAC. I'm able to get the points in first poll object. But not able to get anything in...
Replies
1
Views
100
Hello Guys, I have a Omron 3G3MX2 drive and I want to learn how its Modbus registers work by connecting to pc via Modbus poll software. does...
Replies
1
Views
678
I am trying to do very simple thing which is to write a value to PLC modbus address. I set the byte (Productivity Suite) to be modbus...
Replies
6
Views
2,598
Hi all, I'm using my 1500 PLC to communicate to two modbus slaves devices via RTU comms: Comms settings being: 9600 8N1 Every now and then the...
Replies
4
Views
2,415
Back
Top Bottom