Modbus Canning Software

shazad5444

Lifetime Supporting Member
Join Date
Feb 2014
Location
Houston
Posts
126
Dear Friends, Need your help regarding modbus registers scanning. Right now I'm using Modscan32, but its response is not good. I'm facing following problems with Modscan32.

1. Once you connect your Rs-485 to US connector It shown connected, even you are connected or not with PLC, its very difficult to confirm that whether we have connectivity with PLC or not.

2. In my experience we are mostly getting wrong Modbus registers from manufacturer, so it is very hard to find the correct registers.

Recently I worked with redlion RTU and found it is very user friendly and very simple to scan Modbus registers.

Please advise Do we have any such software where it scan all modbus registers without giving addresses and shows connectivity with PLC.
 
1) Modscan32
I have used Modscan32 for some years and it's always been clear to me whether Modscan is connected or not connected.

I do not have resources for an RS-485 serial connection at the moment, but to the best of my knowledge, Modscan uses the same connected/disconnected mode for either, so here's what I see for an Ethernet (Modbus TCP) connection:

When disconnected the "Device not Connected" message shows up in red letters:
Device_not_connected_TCP.jpg


When connected, there is no positive message, you just see data for which screen data one is on:
Device_connected_TCP.jpg


Note that the "Number of Polls: and Valid Slave Responses values increase in real time, at a rate depending on what the polling rate is.

2) >"mostly getting wrong Modbus registers from manufacturer"

That statement is not clear as to whether
a) the manufacturer does not define the Modbus registers in the slave accurately, or
b) the manufacturer does define the data, but the data that you read from any given register is not what you expect.

If your problem is a), poor manufacturer documentation, then changing which Modbus master software you use will not fix anything.

If your problem is b), then the primary reason why you might be getting the wrong data is the dreaded one offset in Modbus register addressing.

Using holding registers, 4xxxxx, as an example,
sometime addressing starts at (4)00000,
other times, addressing starts at (4)00001.

So what the master asks for at (4)00016, might be (4)00015 or (4)00017.

You need to move the addressing up or down by one and see the results are.

If you have a connection and then lose it, that's a different problem altogether.

3) Please provide examples

When you have communications problems, it always helps to provide specific examples (with numbers) of what you expect, and then you actually have, because the comparison can provide valuable information in troubleshooting the cause.

For instance,
I expect 400016 to have the value 465.2, but I got -6.7723^-17
 
Last edited:
Of the programs I have used, there is generally a need to define the registers you are looking to read /write. If there is one out there that scans all available locations and brings back the 'available' registers- that would be interesting. Maybe dangerous but interesting.

For Modbus TCP I use the Modbus Tester ( though I see it does Modbus serial as well)- from here:
http://www.schneider-electric.com/en/faqs/FA180037/

_________________________________________
http://www.drivesandsystems.com
 
Dear Friends, Thanks all of you for detailed reply, It looks me the problem is with Hexen RS-485 to RS-232 converter, I tried already 3 converters and same result, Now looking Moxa converter, hope it will work.
 
Dear friends bundle of thanks for your great advise and help, finally I found problem in my RS-232 to RS 485 converter. Before I was using Hexin (03 Converters I used) which all were found faulty, bought new MOXA Uport 1150 and got communication. I used Modscan32 and ModbusPoll (MBpoll) and got good response on both of these softwares. Topic is closed and findings are Cheap faulty converter.
 

Similar Topics

Setup: - Schneider Electric M340 PLC w/ NOE 100 Module installed - Allen Bradley PowerFlex 753 VFD w/ 20-COMM-M Modbus Adapter installed -...
Replies
2
Views
4,525
I have two PLCs connected by gigabit ethernet over fibre, PLC0 has NOE0100 ethernet module IOscanning PLC4 with 100ms repetitive rate. both are...
Replies
3
Views
4,426
Hi, I need help to read the inputs registers of an EX250-SEN1-X133 in modbus TCP. The IO scanning of the Quantum NOE 771 01 card does not allow...
Replies
6
Views
6,472
Hi, Could anyone help me with the following problem? The setup is as follows: Schneider M340 with a NOE 0100.2 ethernet card connected to a...
Replies
3
Views
8,314
Hello, I need to access the bits from the fire system control panel through RS-485. So, I used Read Var block to read from the panel...
Replies
0
Views
43
Back
Top Bottom