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.

Splitting 6-byte object to smaller pieces
#1
Hello,

I'm working on DALI emergency lighting test and alarm system with Spacelynk.

KNX-Dali gateway gives me test result of EM converter in DPT 245.600 format (6-byte). Format is N4N4N4N2N2N2N2U16U8, where eg. the highest 4-bit set is telling the result of last funtion test (numeric values 1-4 possible).

Any ideas how can I pick different set of bits / bytes to own variables with Lua?
Reply
#2
See this: https://forum.logicmachine.net/showthread.php?tid=1511
Reply


Forum Jump: