Move Endian option to Data Format
Hello Stephane, Thank you very much for your interest and kind words. Your suggested improvements sound very good and practical. I will carefully consider when and how to implement these features to enhance QModMaster. Regards, Eleftherios
Move Endian option to Data Format
Hello, have you tried to change "Base Addr" in the Options | Settings ?
Parity issue on Chinese UI
QModMaster_StartAddress
ERROR 2025-07-11T15:57:00.144 ....\qModMaster\src\modbusadapter.cpp @ 291 Read Data failed. "Error : Timeout" ERROR 2025-07-11T15:57:07.812 ....\qModMaster\src\modbusadapter.cpp @ 291 Read Data failed. "Error : Timeout" WARN 2025-07-11T15:57:56.899 ....\qModMaster\src\mainwindow.cpp @ 164 RTU settings changes rejected
Set Response Timeout in ms
Set Response Timeout in ms
Starting point FLOAT / HEX
https://github.com/whc2001/QModMaster/releases/tag/0.5.3b-fix1 此版本的modbus rtu,Read Holding Registers(0x03)功能输入起始地址后,实际命令发出的地址会比起始地址小1.比如输入Hex0505是,发送命令中的地址是
Check address in response from op code 5
Hi, and many thanks. I have solved my problem. If you select float value from the GUI to write float numbers, the spin box placed to the right and labeled precision is not the number of decimals you want to have after the decimal point, but the total number of digits the float number will contain. So, if you set 'precision' to 1 an try to write the float '27.1', the float value is rounded to 3E+01. To write '27.1', precision must be set to 3. Regards
I found the problem :-) I have not seen the "Base Address" setting before. It was configured at 1. Sorry...
Float is not working indeed
Start address wrong by one
Start address wrong by one
Function codes 20 & 21
Hi Rob, The sun always shines over Greece! Regarding the future, I plan to transition from libmodbus to Qt Serial Bus libraries. This will be implemented whenever I find the time to work on it. Regards, Eleftherios
Function codes 20 & 21
Hello. from the QModMaster page in SourceForge select 'Mercurial > Main' and then 'Download Snapshot'. Regards
I do apologize, but I cannot find de sources of the Beta version 5.3 . I only see qModMaster-code-0.5.2-3.zip Thanks
https://github.com/whc2001/QModMaster/releases/tag/0.5.3b-fix1
Please see https://github.com/whc2001/QModMaster/releases/tag/0.5.3b-fix1
Float Numbers
Hello, thanks for writing in. You can download the sources from SourceForge site. Regards
Hello my friend, can you share me the fixed Chinese version
大佬 能发我一份修复后的版本吗
Float Numbers
Error: invalid data
Gathering data from 32 channel board N4VDB32
CRC 16 support
The problem is simply that the ComboBox's text is used as the serial port setting, however Qt's translateUI also translated that. Here I whipped up a quick fix, which uses the ComboBox's UserData field to save the actual setting passed to serial port: https://github.com/whc2001/QModMaster/commit/89044d9e76d50eaca01d884eeb5d213486f66919
The problem is simply that the ComboBox's test is used as the serial port setting, however Qt's translateUI also translated that. Here I whipped up a quick fix, which uses the ComboBox's UserData field to save the actual setting passed to serial port: https://github.com/whc2001/QModMaster/commit/89044d9e76d50eaca01d884eeb5d213486f66919
Thanks for writing in. I'l check it hopefully soon. regards
Hi, I can confirm this behavior too. Marek
Thanks for writing in. I plan to do it, hopefully soon. regards
Incrase logging capacity
Preset Timeout to 10 in qModmaster.ini
Address calculation in Modbus TCP off by 1
Modbus RTU mode doesn't work on Windows Chinese Version
Thanks for writing in. I cannot help because i cannot maintain the chinese version. regards
Do you have better way to solve it?
Port to Qt Modbus framework
Thanks for writing in. I plan to do it, hopefully soon. regards
error in windows 7
Modbus RTU mode doesn't work on Windows Chinese Version
Port to Qt Modbus framework
The solution will almost certainly be to not use Windows 7, soo many things doesn't work in Windows 7 any more. It's been end of lifed for a good while now, you really, really shouldn't use Win 7. Even Win 10 is EOL in about a year from now..
error in windows 7
UI improvements
Dear Alex, Thank you for your email and for your kind words. I appreciate your suggestions for improving the software, and I will try to implement them as soon as I find time. regards, Eleftherios
UI improvements
Human interface improvements
Hi Alexander thanks a lot for writing in. Best Regards
Human interface improvements
Compiler error C++17
Hello, thanks a lot for your comments and support.
i was able to compile by changing line 78 in qModMaster.pro file to: QMAKE_CXXFLAGS += -std=gnu++17
Is there a possibility with qModMaster to send another command than the classics? (only 01-06 and 16 and 16 are allowed) I would like send "01 20 00 00 00 64 81 E6" as the command to RTU.
Base Addr value 0 fixes the issue. I believe Base Addr should be 0 by default.
What is the default timeout for qmodmaster
Compiler error C++17
Compiler error C++17
Hi Cristian. Thanks for writing in. It is a little difficult (I will need to refactor the code). For now I think that you can start multiple instances of QModMaster and connect to multiple slaves (only for Mobus TCP). Best regards
Multiples devices ?
convert data to STRING
Hi. Thanks for writing in. Yes, that's something it can be done, but I will need some time to implement it. Best regards
23 (0x17) Read/Write Multiple registers
Hi. Thanks for writing in. The library that I'm using (libmodbus) supports FC23 but I will have to add this functionality into QModMaster. Hope that I'll find the time soon. Best regards
Start address one too high.
Thank you for your work !
Multiples devices ?
convert data to STRING
23 (0x17) Read/Write Multiple registers
Thank you. This indeed solves the problem. Perhaps 0 would be a better default value for the Base Addr (as it then follows the raw protocol communication as visualized e.g. by WireShark). But that is just an idea. Knowing now that this setting exists will help a lot. Thank you again!
Hello Stefan. Thanks for writing in (sorry for my delayed response). Did you checked the base address ? You can change its value using the menu Options -> Settings -> Base Addr. The allowed values are 0 or 1. Best Regards
I want to add (don't know how to edit this ticket). You can verify this with WireShark. Just send a request for registers with start adress x. And you see in WireShark that the modbus response will be returning registers starting at x-1.
Start address one too high.
correction: 0.5.0 have the same behavior environment: win10
0.5.3 gets answer even if target is blocked
Hi, thanks for writing in. I will check and try to solve the issus asap. Best Regards
0.5.3 gets answer even if target is blocked
Timeout value of 500ms on Modbus TCP is too low
even having another checkbox for disconnecting automaticly when connection ON lost connexion
I am using QModMaster and I have to thank you for you useful work !
adding function
Thanks for writing in. I will try to add it asap. Best Regards
adding function
Modbus RTU over TCP/IP not working
Hello, thanks for writing in. I will try to add this feature asap. Best Regards
Modbus RTU over TCP/IP not working
Thanks... Owen.
ID 0xff
Hello. Thanks for writing in. I will try to fix it asap. Best Regards
ID 0xff
Timeout value of 500ms on Modbus TCP is too low
Illegal data address error
Hello. thanks for writing in. The prefix 4 in most cases is not used. It just means 'holding register'. Try again using the address 125 and not just one register but a range of registers. Best Regards
Illegal data address error