GSD configuration analog value
I have some 2-Byte analog values on my profibus slave. I would like to convert the analog value to an REAL data type, because only the real data creates the "Properties"-Tab in the HW with the possibility of Min,Max,Unit,Fraction.
My Analog value is an 2 Byte value. In the gsd import tool I can't convert the 2 Byte to an Real. There is an error message "There are no enumrange-parameters defined for this module"
Is there a possibility to convert my analog value to a Real? Do I have to change the gsd file?
I know can convert an Integer to a real in the SW, but I would like use the analog value like in the analog module of an S800-IO
Answers
Only supported format for "real" is single precision IEEE-754 format as far as i know. This means that even if you could select 2 Byte, you wouldn't get any useful value out of it - the value is always to be 32 Bits.
I would guess your 2-Byte Value actually is an Integer Value 0-65536 with some Range Conversion applied, but as far as i know there are no Int - to - Real Conversion Options in the .hwd
Add new comment