Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/08/06 16:58
Read: times


 
#123937 - Modbus Timeouts
Responding to: ???'s previous message
Victor,

The Modbus inter-frame delays are minimum values and so you can go for longer periods. It is possible to use a timer (if you have one spare), but you need to cater for the different times because of different baud rates.

I implemented the inter-frame delay by transmitting 4 (for the 3.5 gap) bytes on the UART into a "bit bucket". In other words I transmitted 4 bytes before enabling the RS485 transmitter. I don't recall where I read the idea, but it works well. Just remember to enable the transmitter after the data has been completely transmitted and not when the transmit buffer flag indicates that it is ready.

-Aubrey

List of 8 messages in thread
TopicAuthorDate
ModBus RTU timeouts            01/01/70 00:00      
   Modbus Timeouts            01/01/70 00:00      
      I second this.            01/01/70 00:00      
   t1.5 timeout?            01/01/70 00:00      
      Interchar delays            01/01/70 00:00      
         Modbus problems?            01/01/70 00:00      
            Memory Map            01/01/70 00:00      
               Memory map            01/01/70 00:00      

Back to Subject List