Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

start & stop bits of modbus rtu mode

Status
Not open for further replies.

AliBahar

Member level 2
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top