??? 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 |
Topic | Author | Date |
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 |