please
Please get the library from Github, which is the latest version.
hi! How can i access to device with address more than 127? The byte type convert it to negative
Der Post ist etwas älter, aber ja die Bibliothek kann kommerziell benutzt werden.
Hallo, ich verstehe die lizenz nicht so genau. darf man die bibliothekt kommerziell benutzen?
Provide easymodbus library on Maven Central
Looking in the debugger I see that it's creating a new ClientConnectionThread for every time a client connects. Why is it holding onto them even after I call Disconnect() in the client?
CPU and memory creep
Hello there! I am trying to discover the best RFID reader and tags for use in a food processing factory. The readers should be mounted very near the production line and the tags should be mounted on hooks and boxes, so there should be no direct contact with the food products. We are interested in building a visual Java application for tracking products movement and for tracking other events around the factory. However, I cannot decide which exact RFID reader model should be used and whether Java...
You are trying to connect to a server listening to Port 4001. As that really intended? Usually a Modbus Server opens port 502.
I began to study the Modbus protocol. I try to use it for connection, but I get a connection time error. Tell me where I could make a mistake. Thank you. ModbusClient modbusClient = new ModbusClient("192.168.127.12", 502); try { modbusClient.Connect("192.168.127.12", 4001); System.out.println("Connected " + modbusClient.isConnected()); System.out.println("Ip " + modbusClient.getipAddress()); System.out.println("Port " + modbusClient.getPort()); System.out.println("UnitIdentifier " + modbusClient.getUnitIdentifier());...
Hi, I understand what you are trying to do, but unfortunately thats not possible to have two servers listening at the same port.
Hello! We are using easy modbus TCP (Java), and everything has been perfect untill now, because at the moment we have two servers in the same IP-port, so we would need to specify the slave number in the connection. Do you know how can we do that? Thank you!
Hi Satih, it is using RXTX.
Hi, This is Satish, Wanted to check if latest ModbusClient.java file is the one which is using jssc.jar for serial port communication or is it rtrx.jar ?
I began to study the Modbus protocol. I try to use it for connection, but I get a connection time error. Tell me where I could make a mistake. Thank you. ModbusClient modbusClient = new ModbusClient("192.168.127.12", 502); try { modbusClient.Connect("192.168.127.12", 4001); System.out.println("Connected " + modbusClient.isConnected()); System.out.println("Ip " + modbusClient.getipAddress()); System.out.println("Port " + modbusClient.getPort()); System.out.println("UnitIdentifier " + modbusClient.getUnitIdentifier());...
I began to study the Modbus protocol. I try to use it for connection, but I get a connection time error. Tell me where I could make a mistake. Thank you. ModbusClient modbusClient = new ModbusClient("192.168.127.12", 502); try { modbusClient.Connect("192.168.127.12", 4001); System.out.println("Connected " + modbusClient.isConnected()); System.out.println("Ip " + modbusClient.getipAddress()); System.out.println("Port " + modbusClient.getPort()); System.out.println("UnitIdentifier " + modbusClient.getUnitIdentifier());...
shifted and added values
Hi, yes sorry for the confusion, I am about to change the license to GPL. But I didn't update that on sourceforge so far. The Sourceforge Site is always I bin behind the Github site.
In Sourceforge page the licence is said to be CC BY-ND. If I download zip, I can find CC BY-NC-ND in the source code. If I follow the source tree in the SF website I find GPL licence in the source. Also every source prints out CC BY-NC-ND. I am so confused...
Thank you! Best regards
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.
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
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...
Could you attach a javadoc files to download package please?
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"
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?
Library dont work
Home
Hi! yes I see! There was a mistake setting the timeout! Thanks!! I will upload the...
Hi, I try to decrease the timeout for no connection with: modbusClient.setConnectionTimeout(100);...
Code Example Modbus Server
Methods ModbusServer
Hi, you can find the classes needed for the ModbusServer in the Jar-File. Stefan
Hello together, i only can find jars that are examples with an user interface/gui....
Code Example Modbus Server
Code Sample ModbusClient 32Bit Values
Home
Code Sample ModbusClient 32Bit Values
Home
Interfaces ModbusServer
Home
Code Example Modbus Server
Code Example Modbus Server
Home
Methods ModbusServer
Methods ModbusServer
Methods ModbusClient
Missing ModbusServer part?
YES, you are right. I have the server part prepared, but not yet integrated in the...
Missing ModbusServer part?
Home
Methods ModbusClient
Methods ModbusClient
Methods ModbusClient
Home