Hi !
I want to convert a Real value (say 94.2 PSI) into two separate Integers so that +94 goes into MW210 and +2 goes into MW212. My Modbus slave device will only accept this format.
This may sound simple, but I'm finding it difficult to get the result I want!
Any advice would be warmly welcomed.
Cheers.
I want to convert a Real value (say 94.2 PSI) into two separate Integers so that +94 goes into MW210 and +2 goes into MW212. My Modbus slave device will only accept this format.
This may sound simple, but I'm finding it difficult to get the result I want!
Any advice would be warmly welcomed.
Cheers.