Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Data conversion in Modbus (Keller sensor)


gbventura Jun 16, 2012 08:41 PM

Hello,
I am working with a CR1000 and a Modbus sensor (Keller Series 30 - http://www.keller-druck.com/picts/pdf/engl/comm_protocol_e.pdf). I have been communicating via an RS485/RS232 converts and I'm monitoring the communication is ok. (RTU mode, address 04)
An example of this communication is:
[TX] - 004 003 000 008 000 002 069 156
[RX] - 004 003 004 065 202 041 128 133 001

The answer (065 202 041 128) is in IEEE 754 format - "DCBA"
It would: 25.2702637
However the format options available in the function ModBusMaster (VarDataType) leave this option, and the conversion is done incorrectly.
Does anyone have any idea how to stop or even reverse recalculate the 4-byte IEEE available to calculate manually?
Thanks,
Gustavo

* Last updated by: gbventura on 6/16/2012 @ 2:43 PM *

Log in or register to post/reply in the forum.