Library dont work
Modbus TCP, Modbus UDP and Modbus RTU client/server Java library
Brought to you by:
sr555
I have hardware: OWEN MVU8 and OWEN MVA8, TCP/IP-RS485 adapter.
Software: JAVA and Netbeans 8.1.
They are configurated for Modbus RTU.
My adapter`s TX LED is blinking (transmission in progress), but modules dont response....timeout...
What can i do?
Maybe your library have some diagnostic functions?
Thanks a lot
Hi,
what you could do is start the "EasyModbusJavaClient.jar" and see what information the Slave (Cient) sends to the Master (Server).
Are you using the latest Version V2.8? Did you set the correct UnitIdentifier? Could you provide some code?
Hello
Here is screenshots
Settings of adapter
https://drive.google.com/file/d/0B6f7PZsS9aWfQUZXc0JNLTZrTDQ/view?usp=sharing
Usage of EasyModbusJavaClient.jar
https://drive.google.com/file/d/0B6f7PZsS9aWfX1cyNjNFbjZ5WDA/view?usp=sharing
And there is only "server response error"
Could you attach a javadoc files to download package please?
You'll find documentation at the website "easymodbustcp.net"
Have you provided the correct SlaveID (Property 'UnitIdentifier')?
I am not really sure if your devices are able to communicate with each other, because your TCP-serial converter is a very cheap device, which only translates the protocol from TCP to serial. But the Protocol for Modbus RTU and Modbua TCP is different. These are NOT compatible. So you need a Modbus TCP/Modbus RTU Gateway. (for example: Advantech ADAM-4572). This translates Modbus TCP to Modbus RTU.
Please try to use directly Modbus RTU. (for example WINGONEER USB to serial converter)
Stefan
Yes, my adapter is cheap and dumb.
It know nothing about protocols, only physical RS485 layer.
Seller told me, that everything depends from software part (libraries etc).
So Your library cant handle Modbus RTU over TCP, right?
Thanks a lot
No it can't so far since its not specified. But its only a small change, I will upload a modified version next week, so you could try.
Thank you!
Best regards