Hello !
There is the following exception I can't resolve :
com.ghgande.j2mod.modbus.ModbusIOException: I/O exception - failed to read
at com.ghgande.j2mod.modbus.io.ModbusASCIITransport.readResponseIn(Modbu
sASCIITransport.java:192)
at com.ghgande.j2mod.modbus.io.ModbusSerialTransport.readResponse(Modbus
SerialTransport.java:124)
at com.ghgande.j2mod.modbus.io.ModbusSerialTransaction.execute(ModbusSer
ialTransaction.java:147)
at j2modTest.readOne(j2modTest.java:39)
at j2modTest.main(j2modTest.java:59)
I really need help, can you figure out what's wrong with my code ? Here it is :
Hello !
There is the following exception I can't resolve :
I really need help, can you figure out what's wrong with my code ? Here it is :
The readOne() method is supposed to read one holding register.
I thank you in advance !
Last edit: Julien Jakob 2016-06-06
I have completely modified my code but I still get the exact same error.
(Most of it comes from the example in the cmd folder)
Here it is :
Last edit: Julien Jakob 2016-06-13