Menu

#71 QModMaster Can not connect under RS485 RTU mode

1.0
closed
nobody
None
2021-03-12
2021-03-10
Anonymous
No

Dear Sir
When I use QModMaster (I have try qModMaster-Win32-exe-0.5.2-3 And qModMaster-0.5.3-beta), com port, baud rate is correct, but ModBus RTU cannot complete connection and always report “Unable to create the Libmodbus context”
What is the problem and how to solve it?
I have test Modbus by another software called “MODSCAN” it is works correctly, so external hardware and connection has no problem.
Please guide me.

My mail box is jinguangyao1974@163.com

1 Attachments

Discussion

  • Anonymous

    Anonymous - 2021-03-10

    When I use another modbus Master software, Modbus RTU is works, so hardware and physical connection are correct.

     
  • Anonymous

    Anonymous - 2021-03-10

    problem solved, the reason is, in file "qModMaster.ini" "Parity=" has no value.
    When add value "N" then connection is completed.
    [RTU]
    SerialDev=COM
    SerialPort=3
    SerialPortName=COM3
    Baud=9600
    DataBits=8
    StopBits=1
    Parity=N
    RTS=Disable

     
  • elbar

    elbar - 2021-03-12

    Thanks for your feedback.

    Normally if you delete 'qModMaster.ini' when you start again the application a new 'qModMaster.ini' will be created with default values.

    Best Regards

     
  • elbar

    elbar - 2021-03-12
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB