PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : HomeServer and 4 bytes input value



dragan.lazic
24.05.07, 17:55
Hallo,
Ich habe ein Problem mit der Deutung von 4 BytefeuchtigkeitsWerten und Darstellung im FacilityServer.
Der Enthalpie-Sensor (RTS Automatisierung) hat nur 4 Bytegegenstände für Feuchtigkeit.
Ich brauche diesen FeuchtigkeitsWert für Vusualisation.
Wie man richtig diesen Wert liest?
Ich möchte unterstreichen, daß es nicht möglich ist, die ein 4 Byteswert zum 2 Byteswert in der Sensor-Anwendersoftware zu ändern.
Z.B. Wert: 42 3A ED 32 was 46.73164%RH ist, FacilityServer liest als die Hexagonzahl und -anzeige: 1111158066
Selbstverständlich kann ich alles im ETS richtig lesen.
Die Antwort von hotline@gira.de ist das FacilityServer kann nicht das im Moment automatisch tun.
Wie ich die Lösung sehe:
Ich muß den KNX Algorithmus finden, dass 4 Byte -> Float Umwandlung (mantisa, Exponent,…), und Versuch
eine Logikfunktion im FacilityServer zu shaffen um 4 Bytes zum Float umzuwandeln.

Hat jemand möglicherweise dass shoen gemacht?
Danke.
Bester Respekt,
Dragan Lazic

I hope the Google translation is OK.
What I puted to the Google is:

Hello,
I have a problem with 4 bytes humidity values interpretation and presentation in the FacilityServer.
The enthalpy sensor (RTS Automation) has 4 bytes objects for humidity only. I need that humidity value for visualisation.
How to read correctly that value? I would like to underline that It is not possible to change that (4 bytes to 2 bytes) in the sensor application software.

For example value: 42 3A ED 32 what is 46.73164%RH, FacilityServer reads as the hex number and display: 1111158066
Of course I can read everything correctly in the ETS.
The answer from hotline@gira.de is the FacilityServer can not do that automatically in the moment.

How I see the solution:
I have to find the KNX algorithm for the bytes -> float conversion (mantisa, exponent, ...) and try to make logic function in the FacilityServer for that purpose - to convert 4 bytes to the float value.

Maybe somebody has something already made

Thank you.
Best regards,
Dragan Lazic

Matthias Schmidt
24.05.07, 18:30
Hi Dragan,

it is easier than you think:

HS/FS internally use only ONE number format. So it is possible to even add binary values.

So you could use a binary trigger - or even easier to explain:

a "Multiplikation" times 1

4byteValue x 1 = 2byteValue

All you have to do is to choose the right data format for the two communication objects.

Conversion will be done "by design"

dragan.lazic
24.05.07, 21:20
Hi Matthias,
thanks for help.
But something is not OK.
I will try to explaine.

I read by ETS the humidity value 40.67745
That number in HEX 4 bytes notation is 42 22 B5 B5 (I read that value in ETS also)

Facility Server read (data type: 32-Bit (0..21474836647/EIS 11) that value as 1109570997 what is equal to the 0x4222B5B5. I think that is OK and the normal behaviour.

That means FS reads a very big value.
When I multiple that big value with 1 (as you said) and put the result in 2 bytes object I obtain the saturation 16 bits value: 65535 - max. value.

Everything is like I expected.
I am affraid that I did not explain my problem correctly, or I did not understand you.

Thank you again.

Waiting for more help.
Best regards,
Dragan

Matthias Schmidt
25.05.07, 00:23
On my Facility server 4byte means EIS 9!?

Not 32bit, but 4-byte!

Do you mean this Facility Server:

A
http://www.gira.de/produkte/abbildungen/facilityserver_793_1145658188.jpg


or this one:

B


http://www.eib-home.de/images/gira_instabus_facilityserver.jpg

dragan.lazic
25.05.07, 00:31
I have just two 32-bits data type.
Both of them are of EIS 11 type?
Regards,
Dragan

Matthias Schmidt
25.05.07, 00:32
Again, which one, A or B? :)

dragan.lazic
25.05.07, 00:33
In my home I have HS 3,
but on project I am working now, I have 6 Facility Server, your figure A.

dragan.lazic
25.05.07, 00:35
But I do not understand you.
What I can see is HS 2 V2.1 Experte.
Maybe the HS Experte is the problem, last version, of something like that.
I use the same HS Experte for my HS3, and FacilityServers

Matthias Schmidt
25.05.07, 00:38
Hast du nicht 4-byte Floating point EIS9?

Don't you have 4byte floating point EIS 9?

dragan.lazic
25.05.07, 00:46
I do not have that data type.
It is very dificulte to attach a file.
All menus are in German. I will try

1391

Matthias Schmidt
25.05.07, 00:48
Oha, what Firmware do you use?

You can find it on debug page.

dragan.lazic
25.05.07, 00:50
Version2.1.061108

Matthias Schmidt
25.05.07, 00:53
Ok.

My FS runs a Beta firmware, thats the reason why I have this data types and you do not.

This new firmware will be available very soon and I think you will be able to solve your5 problem then!

dragan.lazic
25.05.07, 00:53
FacilityServers are 20 days old. I assume that I have the last firmware version.

My HS 3 is one of the first from the beginig of the year, but I did not change HS Experte!

Question:
Is it possible to use old HS Expert with new firmware?
Maybe that is my problem?

Matthias Schmidt
25.05.07, 00:54
Question:
Is it possible to use old HS Expert with new firmware?
Maybe that is my problem?

No, it is not!

dragan.lazic
25.05.07, 00:59
Thank you for your time and help.
I will wait the new firmware.
I hope it will come soon.

I must finish my project till the end of the next mount.

Best regards from Belgrade,
Dragan