This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

correct datatype in KNX script
#1
Hi Guys,

I'm looking for a simple table to see the correct datatype for every object.....where I can found it ?

For example (I'm writing a script with the creation of new KNX objects):
datatype = dt.float16 for a temperature group address

I'd like know every datatype for the other type of KNX objects.

BR;
Alberto

found it !   Big Grin



dt.bool - 1-bit boolean
dt.bit2 - 1-bit controlled number
dt.bit4 - 3-bit controlled number
dt.char - 1-byte ASCII character string
dt.uint8 - 1-byte unsigned integer
dt.scale - 1-byte unsigned integer [0..100]
dt.angle - 1-byte unsigned integer [0..360]
dt.int8 - 1-byte signed integer
dt.uint16 - 2-byte unsigned integer
dt.int16 - 2-byte signed integer
dt.uint24 - 3-byte unsigned integer
dt.rgb - RGB color, alias of dt.uint24
dt.float16 - 2-byte floating point number
dt.time - 3-byte time / day, table with the following fields:
day - number [0..7]
hour - number [0..23]
minute - number [0..59]
second - number [0..59]
dt.date - 3-byte date, table with the following fields:
day - number [1..31]
month - number [1..12]
year - number [1990-2089]
dt.uint32 - 4-byte unsigned integer number
dt.int32 - 4-byte signed integer number
dt.float32 - 4-byte unsigned integer number
dt.int64 - 8-byte signed integer number
dt.string - 14-byte ASCII string, null characters '\0' are discarded during decoding
dt.text - 250-byte string, cannot be sent to TP bus
KNX Advanced Partner + Tutor
Reply


Messages In This Thread
correct datatype in KNX script - by toujour - 19.03.2020, 09:08

Forum Jump: