RTU libmodbus unit-test-server with modbus master program running on windows not working!

67 views
Skip to first unread message

Sudhanshu Bhutani

unread,
Jun 29, 2017, 1:07:05 AM6/29/17
to libmodbus
Hi modbus experts,

I need your assistance in debugging one problem.
I have one linux machine on which i run following command:-

[sbhutani@tests]$ ./unit-test-server rtu
Opening /dev/ttyUSB0 at 115200 bauds (N, 8, 1)
Waiting for a indication...
<I DONT SEE ANYTHING COMING HERE>

And i have one master running on windows i.e baseblock com test pro.
I am running RTU implementation by selecting Serial com5 port with

115200, N,8,1 settings, but i dont see any response.
10:32:00.367: Com5, Baud Rate: 115200, Data Bits: 8 Bits, Parity: None, Stop Bits: 1 Stop Bit
10:32:00.369: Echoback: On, RTS Control: Off, Transmit Delay: 5 ms, Response Delay: 100 ms
10:32:00.372: Read Holding Register(s)
10:32:00.373: Device Address: 11h, Register: 0001h
10:32:00.376: |-> Read Register: 0001h
10:32:00.385: -> [11h] [03h] [00h] [01h] [00h] [01h] [D7h] [5Ah]
10:32:00.497: Error > No response received.

Can you please help.

Arvind Allawadi

unread,
Jul 19, 2017, 9:16:44 PM7/19/17
to libmodbus
RTU not working for me.. I am also hoping someone to jump into this thread and reply if it worked for him.  I know there are issues with RTU mode, when using RS485 driver.  Its frustrating to not being able to fix it.  Its been a while now:(
Reply all
Reply to author
Forward
0 new messages