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.

Easy and fast way to make many similar Rooms in Visualization. Copy of rooms
#11
(18.09.2023, 09:00)admin Wrote: Group address formula is X/Y/Z => X * 2048 + Y * 256 + Z. For example, 2305 (1/1/1) + 2048 = 4353 (2/1/1) or 2305 (1/1/1) + 3 * 256 = 3073    (1/4/1).
9/8/1 is not a valid fixed address as the middle part must be between 0 and 7. If rooms go one after another you can simply use ADDR + (ROOM - 1) * 256 to calculate the next address. You can use buslib.encodega(addr) to convert address in 'X/Y/Z' string form to numerical form.

Thank you very much for your information,

Best regards,
Reply


Messages In This Thread
RE: Easy and fast way to make many similar Rooms in Visualization. Copy of rooms - by Alberto.ricof - 22.09.2023, 17:45

Forum Jump: