Hi.
I'm trying to write a simple Modbus TCP Write LBS, but I always get "exception 'Exception' with message 'Modbus response error code: 3 (ILLEGAL DATA VALUE)'"
I'm using a simple ModbusMaster->writeMultipleRegister(2, 206, 3, INT) command. Tried with different values for sending and the different WORD, INT, REAL data types, but always the same problem.
Does anyone know what the problem could be?
-Kaj
I'm trying to write a simple Modbus TCP Write LBS, but I always get "exception 'Exception' with message 'Modbus response error code: 3 (ILLEGAL DATA VALUE)'"
I'm using a simple ModbusMaster->writeMultipleRegister(2, 206, 3, INT) command. Tried with different values for sending and the different WORD, INT, REAL data types, but always the same problem.
Does anyone know what the problem could be?
-Kaj
Kommentar