1
NXPTM LPC2XXX and LPC17XX / Re: Modbus User task callback
« on: September 11, 2014, 08:21:08 AM »
I did not think of the RS485 echo which in my original code I handled.
I just disabled the RS485 receiver while transmitting and it works well.
I found that the write multiple register returns under USER_RECEIVING_ALL_MODBUS_TYPE while the other
Modbus functions that I use return under USER_RECEIVING_MODBUS_UNDEFINED_FUNCTION
which is no problem at all.
Thanks
I just disabled the RS485 receiver while transmitting and it works well.
I found that the write multiple register returns under USER_RECEIVING_ALL_MODBUS_TYPE while the other
Modbus functions that I use return under USER_RECEIVING_MODBUS_UNDEFINED_FUNCTION
which is no problem at all.
Thanks