Logic Machine Forum
Modbus Profile Help - 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: Modbus Profile Help (/showthread.php?tid=4912)



Modbus Profile Help - Ian@GWTi - 07.08.2023

Hi,

I am creating a modbus profile for a air handling unit which has some error codes.  See image.

i want to get each fault code to display separately in the LM but not sure how to do this if more than one fault is registered as the values are being added together.   Can this be done in the modbus profile or would it need a script in the LM?

register eg address 20, 16-bit Unit

Any help much apricated.

   


RE: Modbus Profile Help - Daniel - 07.08.2023

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