23.03.2022, 10:16
(This post was last modified: 23.03.2022, 10:23 by phongvucba.)
Specifically I am wanting to control the air conditioner via modbus rtu. But my device only sends back the value of the register as Decimal for LM. But the modbus documentation of the conditioner must read and send commands via binary value. So I have to convert from Decimal to Binary. But the problem now how do I send the command into any of the 0-15 bits? Through Modbus poll software, I can do this, but on LM I can't do it
I am very happy for your help! But how do I convert the value 5000 to a binary value, and vice versa I have 1 binary value and then convert it to a decimal value?
I am very happy for your help! But how do I convert the value 5000 to a binary value, and vice versa I have 1 binary value and then convert it to a decimal value?