![]() |
|
Modbus mapping help - Printable Version +- LogicMachine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2) +--- Thread: Modbus mapping help (/showthread.php?tid=6220) Pages:
1
2
|
Modbus mapping help - sunhailun - 15.12.2025 Hi guys, I need some guidance here. So basically my LM4 system crashed weeks ago, and I didn't do any backup. Now in the newly built system, I got all of the objects back except 4 floow heating thermal controller, those are Modbus RTU 485 controllers, I guess they need to be mapped to KNX address? Can someone please guide me how to do that? or any help will be much appreciated. RE: Modbus mapping help - admin - 15.12.2025 Check LM manual. You need to configure the serial port correctly and you need a device profile that describes Modbus registers and respective data types. Then these registers are mapped to LM objects. RE: Modbus mapping help - sunhailun - 15.12.2025 (15.12.2025, 07:43)admin Wrote: Check LM manual. You need to configure the serial port correctly and you need a device profile that describes Modbus registers and respective data types. Then these registers are mapped to LM objects. The problem is that I do not have the manual nor specs for the thermal controller, so I tried different varibles in RTU settings, and then run RTU scan, no luck so far. Can't find nothing there. Did I configure the setting right? The controller looks like this btw. RE: Modbus mapping help - sunhailun - 16.12.2025 Anyone has any idea why RTU scan show no result? I tried baud rate 9600, parity none 1stop bit, half duplex, scan from 1 all the way to 247, nothing. This thermostat was a relative cheap chinese made, PCB reads: ETOP-HT-0506-MDV1.1, which was made by company E-TOP, they are known for making OEM products. And for this model, the common specs are using 9600-8-N-1. What could be the problem here? RE: Modbus mapping help - Daniel - 16.12.2025 RTU scan will not show anything unless you have valid profile created for this device. RE: Modbus mapping help - sunhailun - 17.12.2025 (16.12.2025, 15:21)Daniel Wrote: RTU scan will not show anything unless you have valid profile created for this device. I manually created the two attached profile, but no luck finding the device yet. Can you check and see if there is anything wrong in the script? It's a relatively simple floor heating Thermostat. The pain point here is it's an OEM and couldn't find the official profile.
E-TOP generic.json (Size: 788 bytes / Downloads: 4)
etop_ht05.json (Size: 1.55 KB / Downloads: 2)RE: Modbus mapping help - admin - 17.12.2025 Disable RTU1 in Modbus settings, then run this script. It will run for a couple of minutes and will log any found devices. Code: require('luamodbus')RE: Modbus mapping help - Daniel - 17.12.2025 To create a profile you need device documentation from the manufacture where you will find registry table definition. Otherwise you are completely blind. RE: Modbus mapping help - sunhailun - 17.12.2025 (Yesterday, 08:10)admin Wrote: Disable RTU1 in Modbus settings, then run this script. It will run for a couple of minutes and will log any found devices. I ran the script, but come back with nothing. ![]() (Yesterday, 08:35)Daniel Wrote: To create a profile you need device documentation from the manufacture where you will find registry table definition. Otherwise you are completely blind. I managed to locate a document from the manufactory (attached) and then generated the profile base on the info. Can you check and see if I did it right? Thanks RE: Modbus mapping help - Daniel - 17.12.2025 Do you have device documentation? RE: Modbus mapping help - sunhailun - 17.12.2025 (Yesterday, 13:27)Daniel Wrote: Do you have device documentation? I found this from their website, will it help?
HT-06 Modbus Protocal.docx (Size: 16.38 KB / Downloads: 3)RE: Modbus mapping help - Daniel - 17.12.2025 IN OFF Mode, press M and + buttons simultaneously for 10 seconds to get the Modbus address. Did you try this? RE: Modbus mapping help - sunhailun - 17.12.2025 (Yesterday, 13:36)Daniel Wrote: IN OFF Mode, press M and + buttons simultaneously for 10 seconds to get the Modbus address. I did and it reads 0B, 0C, 0D, 0E instead of actual numbers on 4 of the thermostats. RE: Modbus mapping help - Daniel - 17.12.2025 It is probably in hex, slave 11, 12, 13, 14. Disable the script from admin, set the RTU mode as per this document and use Read test under modbus tab Device address 11, holding register and try different addresses: 2, 3, 40002, 40003. see what happens. RE: Modbus mapping help - sunhailun - 17.12.2025 (Yesterday, 13:46)Daniel Wrote: It is probably in hex, slave 11, 12, 13, 14. Disable the script from admin, set the RTU mode as per this document and use Read test under modbus tab Thanks for your prompt response ![]() I tried but no luck. Does that mean the RS485 ports are damaged? RE: Modbus mapping help - Daniel - 17.12.2025 same for 2,3? try different addresses. RE: Modbus mapping help - sunhailun - 17.12.2025 I have tried 11 - 15, 1-10, address 1-10, 40000 - 40010, all came back with Operation timed out.
RE: Modbus mapping help - Daniel - 17.12.2025 Did you try register address 2, 3? RE: Modbus mapping help - sunhailun - 17.12.2025 (Yesterday, 14:08)Daniel Wrote: Did you try register address 2, 3? Yes, I did RE: Modbus mapping help - Daniel - 17.12.2025 Check if cables are correctly connected. Try swapping A and B |