Logic Machine Forum
Modbus HEX Value Inverted Problem - 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 HEX Value Inverted Problem (/showthread.php?tid=4775)



Modbus HEX Value Inverted Problem - savaskorkmaz - 18.05.2023

Hi,
We are communicating with a Modbus device which has a 3 byte point. We are sending 128 Value which should be 00 00 80 in HEX format. But Modbus device is getting 80 00 00 value which is 8.388.608 as a DEC. 

How we can send these 3 byte as correct HEX format ?


RE: Modbus HEX Value Inverted Problem - admin - 18.05.2023

Use a different read_swap.