# ModBus Float inverse format

**URL:** <https://community.symcon.de/t/modbus-float-inverse-format/25705>\
**Category:** Symcon (English)\
**Created:** [17. Juli 2011 um 14:46 UTC](https://community.symcon.de/t/modbus-float-inverse-format/25705 "2011-07-17T14:46:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trigus](https://community.symcon.de/letter_avatar_proxy/v4/letter/t/9fc29f/32.png) [@Trigus](https://community.symcon.de/u/Trigus)\
**Post date:** [17. Juli 2011 um 14:46 UTC](https://community.symcon.de/t/modbus-float-inverse-format/25705/1 "2011-07-17T14:46:24Z")

</div>

Hello IPS freinds,

Does anyone knows how to convert the „float inverse“ to something readable for IPS.

My modbus transmitter provides the Float but the modbus instance in IPS does not support this format.

Anyone?

greetz,

Trigus

---

<div class="post-metadata">

**Author:** ![paresy](https://community.symcon.de/user_avatar/community.symcon.de/paresy/32/29554_2.png) [@paresy](https://community.symcon.de/u/paresy)\
**Post date:** [17. Juli 2011 um 16:56 UTC](https://community.symcon.de/t/modbus-float-inverse-format/25705/2 "2011-07-17T16:56:29Z")

</div>

Try turning on the „Flip MSW/LSW“ option in the ModBus Gateway. That should help.

paresy

---

<div class="post-metadata">

**Author:** ![Trigus](https://community.symcon.de/letter_avatar_proxy/v4/letter/t/9fc29f/32.png) [@Trigus](https://community.symcon.de/u/Trigus)\
**Post date:** [17. Juli 2011 um 18:16 UTC](https://community.symcon.de/t/modbus-float-inverse-format/25705/3 "2011-07-17T18:16:42Z")

</div>

Thx Paresy,

I already tried that and it is necessary to flip it. but witch format do i have to choose in IPS.

Modbus delivers Float inverse --\> we flip LSW and MSW so we have a normal Float.

But due to PHP 5.3 we only have 31 bits to evaluate, and there i am lost

Maybe the anhange make somethings clear !!

Greetz,

Trigus

 ![modbus instance.png](https://community.symcon.de/uploads/default/original/3X/9/4/94a80d2470ac2450e5a5e9e0e026d24f10a26f80.png)

 ![PHP 5.3.png](https://community.symcon.de/uploads/default/original/3X/f/1/f12873449242b7d5347bdee118aed3c05acb050f.png)

![serial.png](https://community.symcon.de/uploads/default/original/3X/5/4/54140224c5b8d34ffb249b7a1a8422381d5a2e1b.png)

![Modbus Poll.png](https://community.symcon.de/uploads/default/original/3X/5/1/516f94e4578ed87c9c16844d09c349fb68244870.png)

---

<div class="post-metadata">

**Author:** ![paresy](https://community.symcon.de/user_avatar/community.symcon.de/paresy/32/29554_2.png) [@paresy](https://community.symcon.de/u/paresy)\
**Post date:** [17. Juli 2011 um 18:25 UTC](https://community.symcon.de/t/modbus-float-inverse-format/25705/4 "2011-07-17T18:25:37Z")

</div>

Real -\> That is a 4 Byte floating value.

paresy

---

<div class="post-metadata">

**Author:** ![Trigus](https://community.symcon.de/letter_avatar_proxy/v4/letter/t/9fc29f/32.png) [@Trigus](https://community.symcon.de/u/Trigus)\
**Post date:** [18. Juli 2011 um 20:18 UTC](https://community.symcon.de/t/modbus-float-inverse-format/25705/5 "2011-07-18T20:18:23Z")

</div>

Hello,

I have switched off the wordswap and selected readonly! and now it is working fine, the question is why?

Is there a way to see the code in the modbus instance

Greetz,

Trigus

![Read only.png](https://community.symcon.de/uploads/default/original/3X/7/b/7b5c9ede161bcdfc13e45746312b4fcd74415f5d.png)

![Swap Off.png](https://community.symcon.de/uploads/default/original/3X/e/5/e52ae46b7819d9256b00093e197e63e98d70c383.png)

 ![Nice.png](https://community.symcon.de/uploads/default/original/3X/d/0/d05481f1e749d8d823bc78082506992afc1614e4.png)
