Domanda

I am new in Modbus and developing an application using Modbus RTU. I would like to know how to find out the RTU message frame separation time. In the Modbus RTU specification, It mentions 3.5 chars time, but there is no more data about how i can decide this intervals. Any idea?

È stato utile?

Soluzione

It depends on your serial port settings. Based on speed, number of data bits in each character, parity and stop bits, you can calculate time length of 3.5 chars. Calculation is explained here.

Altri suggerimenti

Modbus RTU specification also mentions 1.5 character times as maximum silent interval between message bytes. Beyond this, incomplete message is flushed and next byte will be the address of a new message.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top