For a term project I need to connect to a PLC over Modbus Serial.
I've searched and used for many different Java Modbus libraries but none of them worked. Modbus4J seems to be working. At least no error on initialization state.
Should've turned to RTU mode, my bad. It works fine now.