Today is...
Sunday, September 15, 2019
Welcome to Control.com, the global online
community of automation professionals.
Featured Video...
Featured Video
A tutorial introduction to programming using the QuickBuilder Programming Environment.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive
Modbus Master and Slave Communication Fails
Using Modbus but connection is not successful between master and slave

Hi All

We are working on custom platform based on RZ/G1E. We need to test RS485 which is configured for HSCIF2.
Now using current Renesas Serial driver "drivers/tty/serial/sh-sci.c".

Our board will be a master and am using Modbus slave application on PC. But i am not receiving any data on master side from slave
Now we are using a MODBUS application from the below link.
github.com/.../libmodbus

In application, there are certain flags like SER_RS485_ENABLED are being issued. But in our sc-shi.c driver file these flags are not used/supported. So we think since the flags are not supported, we are unable to read the data properly even after setting the correct slave id in application.

Please provide your input.