start & stop bits of modbus rtu mode

Status
Not open for further replies.

AliBahar

Member level 2
Joined
Feb 4, 2015
Messages
42
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Visit site
Activity points
337
Hi
In Modbus RTU mode, messages start with a silent interval of at least 3.5 character times.
I want to make it ( idle mode in interval of 3.5 character times ) using uart of typical microcontroller.
by the way how slave recognizes the silent interval when the stream of data receives to RX.
 
Last edited:

it means that you have to stop transmitting for 3.5 times a character, for example if you are communication at 9600bps 8n1, each character takes about 1ms... after you send a data frame, you have to wait at least for 4ms (3.5ms but meh) it doesn't mean that you send 0xFF or 0x00.. you just have to wait for that amount of time... (also remember that when you send a data packet you can't wait over 1.5ms between characters inside the data packet or the slave could restart the packet recieving...)

all of these could be implemented in a slave via timers and interrupts..
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…