Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2018-10-16 21:59:06

mikeyh
Member
From: New Zealand
Registered: 2016-04-28
Posts: 44

Baud rate of Monarco HAT RS485 when using Modbus

Hi All,

Small question,

I'm using the Monarco to talk RS485 to a device. The device can only use a baud rate of 9600, yet to get the Modbus to communicate I have to set the Modbus config in the Hat to use a rate of 115200. Why would this happen? Or have I done something silly.

Cheers

Mike

Offline

#2 2018-10-18 06:56:52

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: Baud rate of Monarco HAT RS485 when using Modbus

Hi Mike,
the explanation is given here: http://support.rexygen.com/knowledge_ba … onarco-hat

Your observation is correct. In Modbus configuration, you use 115200 baudrate, that's for the internal UART communication, see the link above. In Monarco HAT driver, you set 9600 baudrate. That's the external RS485 baudrate.

Does this answer your question?

Kind regards,
Jaroslav

Offline

Board footer

Powered by FluxBB