UART and MODBUS

Status
Not open for further replies.

tkvenki

New Member
Hi,

I have a question.

I'm using UART of my controller for MOdbus communication.
UART means it will have 1 start bit. 8 data bits. 1 partiy and 1 stop bit.

But THe protocol i implement is having different format.(Modbus).

Is what i'm doing is proper??

Please guide me.
 
If the UART can't be set to the format you need, then simply write a software UART to meet the requirements.
 

See Modbus interface tutorial
Most UARTs can be set for the number of stop bits and parity type.
What processor are you using ?
Are you using MODBUS RTU or MODBUS ASCII ?
You told us what you have (1-8-1-1) but not what you need ?
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…