In fatek plc RS485 obtain error cod. 2 on request modbus_read_input_bits or modbus_read_input_registers .... other reading operation are performed ok (coils and holding)...... modbus_read_input_registers in fatek plc not existing so the error is normal but reading from register 1001 return these strange error MODBUS_EXCEPTION_ILLEGAL_DATA_ADDRESS (2).
Sorry .... I'm on ubuntu 14.04 kernel 3.19 lowlatency 64bit ... libmodbus from repo.