Computer Interfacing
Discussions about interfacing and electronics

Modbus RTU T1T2T3T4 implementation

How to recognize the intervale between massages in Modbus RTU?


       Computer Interfacing Forum Index -> General serial
Author Message
New User

Joined: 16 Jul 2009
Posts: 1

Jul 16, 2009 4:33 am

Hi, I was wondering how to recognize 3.5 character silence interval between two Modbus RTU messages, which is required by Modbus RTU protocal to distinguish two message packets. The interval is about 5ms at 19200 baudrate at serial port. I am using VB 2008.

1. By timer:in VB 2008, the timer is not accurate, and can not handle interval less than 100 ms.

2. By Readbyte event. Each byte received causes an event, and I judege the timespan of each byte received. Unfortunately, after testing, I found the bytes were received too fast to be handled if PC checks and compares each byte arriving timing.

Any body give me a clue on this? Thanks a lot.

       Computer Interfacing Forum Index -> General serial
Page 1 of 1

Running on php BB © 2001, 2009 php BB Group
   Lammert Bies     Interfacing     Sitemap     Forum