UART and MODBUS

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.
 

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 ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…