Handle 10 bytes data - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Handle 10 bytes data (/showthread.php?tid=3192) |
Handle 10 bytes data - Kilogica - 24.02.2021 Hello everyone, I have to send a 10 bytes value to an object (it's a blumotix access control system) with a W4K, but I can't find a way to write directly on knx bus, is it possible? I tried to search but I wasn't able to find anything useful For examble I have to send $12 $34 $56 $00 $00 $00 $00 $00 $00 $80 to the address 5/4/0, how can I? Many thanks in advance for the help. RE: Handle 10 bytes data - admin - 24.02.2021 Use dt.raw datatype to send raw data as is: Code: value = string.char(0x12, 0x34, 0x56, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80) RE: Handle 10 bytes data - Kilogica - 24.02.2021 It works, thanks! RE: Handle 10 bytes data - CristianAgata - 14.08.2021 (24.02.2021, 10:42)admin Wrote: Use dt.raw datatype to send raw data as is: Thanks RE: Handle 10 bytes data - Alberto.ricof - 02.02.2022 Good afternoon, Can you think of a way to give the client a text field (or 6 different fields since the password is 6 digits) to fill in those 10bytes? This Blumotix device (see attached manufacturer's information for the 10byte object) works with 6 digit keys in 10byte format, the last byte determines whether you write or delete the key. The idea is to set up a visualisation so that the client can write the key every time he wants to change it and with a button we can write correctly on the device. Thank you in advance for your help, Greetings ! RE: Handle 10 bytes data - admin - 03.02.2022 Event script for the code object. Use 250 byte string object. Code format is 6 numbers, everything else will be ignored. Code: value = event.getvalue() RE: Handle 10 bytes data - Alberto.ricof - 03.02.2022 (03.02.2022, 06:48)admin Wrote: Event script for the code object. Use 250 byte string object. Code format is 6 numbers, everything else will be ignored. works great, you are a crack! thank you very much |