Logic Machine Forum
Additional registers for already mapped modbus - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: Additional registers for already mapped modbus (/showthread.php?tid=5820)



Additional registers for already mapped modbus - PolymorphedCust - 06.01.2025

Hi

Is there a smart way to add registers via a new/longer profile, than what the original profil was? 

I made a profile for a modbus component, thinking I was only going to monitor the device. Now I want to be able to write to a few more registers. 

Can i make a profile for the device with the new registers and add it to the same IP and the same modbus Address in the modbus list, without messing with the already funcioning mapping?

Thanks


RE: Additional registers for already mapped modbus - Daniel - 06.01.2025

Yes you can.


RE: Additional registers for already mapped modbus - admin - 06.01.2025

Make sure that persistent connection mode is enabled for both devices. This way only a single connection will be used.


RE: Additional registers for already mapped modbus - PolymorphedCust - 08.01.2025

One of my registers is reading "2". With this information, can I be sure the connection is established correct?
It's a R/W register, but when writing to it, it changes within a couple of seconds back to "2".

Is there anything I'm missing connection-wise, or is it the device that is refusing the change?

Thanks


RE: Additional registers for already mapped modbus - PolymorphedCust - 08.01.2025

False alarm; I made the mistake of making my profile without incrementing the register no. by -1.

So once again thanks a lot to the "Read Test"!