CrabMan
Member level 1
Hi Everyone!
I am trying to implement ModbusRTU protocol on 8051 based controller. I have read the modbus implementation guide and there seems to be one issue that is bothering me.
The guide says that within a frame there should be no silent interval greater that t1.5(1.5 chars length timer), and two frames should be separated by atleast t3.5(3.5 chars length timer). Then it also says that if there is an interval greater than 1.5 chars, the slave should check if the received message is complete and correct or not, and after t3.5 has expired it should start processing the received command. and somewhere later it says that the end of a message is indicated by t3.5 overflow.
My question is what if there is a reception between t1.5<T<t3.5, what should i do with this byte, should i keep discarding all packets till t3.5 expires, or should i disable the receive mode until t3.5 expires and then enable reception again.
Any replies regarding this issue will be helpful
Regards,
CrabMan
I am trying to implement ModbusRTU protocol on 8051 based controller. I have read the modbus implementation guide and there seems to be one issue that is bothering me.
The guide says that within a frame there should be no silent interval greater that t1.5(1.5 chars length timer), and two frames should be separated by atleast t3.5(3.5 chars length timer). Then it also says that if there is an interval greater than 1.5 chars, the slave should check if the received message is complete and correct or not, and after t3.5 has expired it should start processing the received command. and somewhere later it says that the end of a message is indicated by t3.5 overflow.
My question is what if there is a reception between t1.5<T<t3.5, what should i do with this byte, should i keep discarding all packets till t3.5 expires, or should i disable the receive mode until t3.5 expires and then enable reception again.
Any replies regarding this issue will be helpful
Regards,
CrabMan