Okay thank you for your efforts to improve this ESP freemodbus port. I now use your example you shared and I changed the callback function: eMBErrorCode mbc_reg_holding_slave_cb(UCHAR * reg_buffer, USHORT address, USHORT n_regs, eMBRegisterMode mode) according my wishes. It all works perfectly. The ...