Logic Machine Forum
modbus map - Printable Version

+- Logic Machine 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 map (/showthread.php?tid=5890)



modbus map - joaodaniel.pereira - 14.02.2025

Hi,

How I can read this ? 
     

Thanks
Best Regards


RE: modbus map - Daniel - 14.02.2025

Use value_bitmask in profile.
https://forum.logicmachine.net/showthread.php?tid=839&pid=6729#pid6729


RE: modbus map - joaodaniel.pereira - 14.02.2025

(14.02.2025, 11:35)Daniel Wrote: Use value_bitmask in profile.
https://forum.logicmachine.net/showthread.php?tid=839&pid=6729#pid6729

Hello Daniel, 
Can you provide an example how to read and write fan speed ? 

I don't have it with me to test, but could it be something like that?
Example to read and write fan speed: 
  
{
   "name": "fan speed",
   "bus_datatype": "",
   "datatype": "",
   "type": "register",
   "address": 0,
   "writable": ,
   "write_only": ,
   "write_multiple": ,
   "value_bitmask": ,
   "value_custom" : {"0" : "auto", "1" : "min", "2" : "med", "3" : "max"}
},
   


   



RE: modbus map - Daniel - 14.02.2025

Do you have the profile how to read other registers?


RE: modbus map - admin - 14.02.2025

See this: https://forum.logicmachine.net/showthread.php?tid=3924&pid=25349#pid25349


RE: modbus map - joaodaniel.pereira - 17.02.2025

(14.02.2025, 12:02)admin Wrote: See this: https://forum.logicmachine.net/showthread.php?tid=3924&pid=25349#pid25349

Thanks