--- title: "6.3 Communication objects of “Logic function”" slug: "6-3-communication-objects-of-logic-function" updated: 2026-08-24T07:27:40Z published: 2026-08-24T07:27:40Z canonical: "knowledge.akuvox.com/6-3-communication-objects-of-logic-function" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledge.akuvox.com/llms.txt > Use this file to discover all available pages before exploring further. # 6.3 Communication objects of “Logic function” ## 6.3.1 “AND/OR/XOR” ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-p0th2k39.png) Figure 6.3.1 Logic function_AND/OR/XOR Communication Object | **Number** | **Object function** | **Name** | **Type** | **Flags** | **DPT** | | --- | --- | --- | --- | --- | --- | | **1/...** | **Input x** | **1st /.../8th Logic** | **1bit** | **C,W,T,U** | **1.002 boolean** | | This object is used to receive the value of logic Input x. | | **9** | **Logic result[0..1]** | **1st /.../8th Logic** | **1bit** | **C,T** | **1.002 boolean** | | This object is used to send the result of a logical operation. | Table 6.3.1 Logic function_AND/OR/XOR Communication Object ## 6.3.2 “Gate forwarding” ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-70u956g8.png) Figure 6.3.2 Logic function_Gate forwarding Communication Object | **No.** | **Object function** | **Name** | **Type** | **Flags** | **DPT** | | --- | --- | --- | --- | --- | --- | | **9** | **Gate value select** | **1st /.../8th Logic** | **1byte** | **C,W** | **17.001 scene number** | | This object is used to select the scene forwarded by the logic gate. | | **1/../4** | **Input x** | **1st /.../8th Logic** | **1bit** **4bit** **1byte** | **C,W** | **1.001 switch** **3.007 dimming control** **5.010 counter pulses(0..255)** | | This object is used to receive the value of logic gate Input x. | | **5/../8** | **Output x** | **1st /.../8th Logic** | **1bit** **4bit** **1byte** | **C,T** | **1.001 switch** **3.007 dimming control** **5.010 counter pulses(0..255)** | | This object is used to output the value after logic gate forwarding. The output value is the same as the input value, but one input can be forwarded into one or more outputs, which are determined by parameters. | Table 6.3.2 Logic function_Gate forwarding Communication Object ## 6.3.3 “Threshold comparator” ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-64nklp40.png) Figure 6.3.3 Logic function_Threshold comparator Communication Object | **No.** | **Object function** | **Name** | **Type** | **Flags** | **DPT** | | --- | --- | --- | --- | --- | --- | | **4** | **Threshold value input** | **1st /.../8th Logic** | **4bit** **1byte** **2byte** **4byte** | **C,W, U** | **3.007 dimming control** **5.010 counter pulses(0..255)** **7.001 pulses** **12.001 counter pulses** | | This object is used to input a threshold value. | | **9** | **Threshold value output 1bit** | **1st /.../8th Logic** | **1bit** | **C,T** | **1.002 boolean** | | This object sends the logic result, specifically by transmitting the value obtained after comparing the input threshold value with the parameter-set threshold value. | Table 6.3.3 Logic function_Threshold comparator Communication Object ## 6.3.4 “Format convert” ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-xlkjlt6c.png) **2*DPT 1.002-->DPT 2.001: Convert two 1bit values into a 2bit value, for example, Input bit1=1, bit0=1--> Output 2bit=3.** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-0ahm1pay.png) **8*DPT 1.002-->DPT 5.010: Convert 8 1bit values into a 1byte value, for example, Input bit3=1, bit2=1, bit1=1, bit0=1, with other bits being 0 --> Output 1byte=15.** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-0lm9o9up.png) **DPT 1.002-->DPT 5.010: Convert a 1bit value into a 1byte value, for example, Input 1bit=1--> Output 2byte=1, even though the value remains the same, the data type of the value has changed.** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-x432h1k1.png) **DPT 5.010-->DPT 7.001: Convert a 1byte value into a 2byte value, for example, Input 1byte=125--> Output 2byte=125, even though the value remains the same, the data type of the value has changed.** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-kq40ufor.png) **2*DPT 5.010-->DPT 7.001: Convert 2 1byte values into a 2byte value, for example, Input 1byte-low = 255 ($FF), Input 1byte-high = 100 ($64) --> Output 2byte = 25855 ($64 FF)** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-hgsb7rwj.png) **2*DPT 7.001-->DPT 12.001: Convert 2 2byte values into a 4byte value, for example, Input 2byte-low = 65530 ($FF FA), Input 2byte-high = 32768 ($80 00)--> Output 2byte = 2147549178 ($80 00 FF FA)** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-yei4k353.png) **DPT 5.010-->8*DPT 1.002: Convert 1 1byte value into 8 1bit values, for example, Input 1byte=63--> Output bit0=1, bit1=1,bit2=1, bit3=1, bit4=1, bit5=0, bit6=0, bit7=0** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-xxlpdrv3.png) **DPT 7.001-->2*DPT 5.010: Convert 1 2byte value into 2 1byte values, for example, Input 2byte = 55500 ($D8 CC) -->Output 1byte-low = 204 ($CC), Output 1byte-high =216 ($D8)** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-c44pyw2p.png) **DPT 12.001-->2*DPT 7.001: Convert 1 4byte value into 2 2byte values, for example, Input 4byte = 78009500 ($04 A6 54 9C) --> Output 2byte-low = 21660 ($54 9C), Output 2byte-high =1190 ($04 A6)** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-1epomf0i.png) **DPT 232.600(RGB)-->3*DPT 5.001(%): Convert 1 3byte value into 3 1byte values, for example, Input RGB = $78 64 C8--> Output red = 120($78) , Output green = 100 ($64) , Output blue =200 ($C8)** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-7b6qh6ij.png) **3*DPT 5.001(%)-->DPT 232.600(RGB): Convert 3 1byte values into 1 3byte value, for example, Input red = 150 ($96), Input green = 100 ($64), Input blue = 50 ($32)--> Output 3byte = $96 64 32** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-8gqo8byi.png) **DPT 251.600(RGBW)-->4*DPT 5.001(%): Convert 1 6byte value into 4 1byte values, for example, Input RGBW = $78 63 C7 45 00 0F--> Output red = 120($78) , Output green = 99 ($63) , Output blue =199 ($C7) , Output white = 69 ($45)** ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-8gt8qij2.png) **4*DPT 5.001(%)-->DPT 251.600(RGBW): Convert 4 1byte values into 1 6byte value, for example, Input red = 120 ($78), Input green = 100 ($63), Input blue = 50 ($33), Input white = 69 ($45)--> Output 6byte = $78 63 33 45 00 00** | **No.** | **Function** | **Communication object name** | **Type** | **Flags** | **DPT** | | --- | --- | --- | --- | --- | --- | | **1** | **Format input ...** | **1st /.../8th Logic** | **1bit** **1byte** **2byte** **3byte** **4byte** **6byte** | **C,W,U** | **1.001 Switch** **5.001 percentage(0..100%)** **5.010 counter pulses(0..255)** **7.001 pulses** **232.600 RGB value 3x(0..255)** **12.001 counter pulses** **251.600 RGBW value 4x(0..100%)** | | This object is used to input the value that needs to be converted. | | **9** | **Format output ...** | **1st /.../8th Logic** | **1bit** **2bit** **1byte** **2byte** **3byte** **4byte** **6byte** | **C,T** | **1.001 switch** **2.001 switch control** **5.001 percentage(0..100%)** **5.010 counter pulses(0..255)** **7.001 pulses** **232.600 RGB value 3x(0..255)** **12.001 counter pulses** **251.600 RGBW value 4x(0..100%)** | | This object is used to output the converted value. | Table 6.3.4 Logic function_Format convert Communication Object ## 6.3.5 “Gate calculation” ![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/k32-button-panel-programming-guide-image-jmurx9va.png) Figure 6.3.5 Logic function_Gate calculation Communication Object | **No.** | **Function** | **Communication object name** | **Type** | **Flags** | **DPT** | | --- | --- | --- | --- | --- | --- | | **1** | **Input...** | **1st /.../8th Logic** | **1bit** **2bit** **1byte** **2byte** | **C,W, U** | **1.002 boolean** **2.001 switch control** **5.010 counter pulses(0..255)** **7.001 pulses** | | This object is used to input the value for the calculation. | | **9** | **Output...** | **1st /.../8th Logic** | **1bit** **2bit** **1byte** **2byte** | **C,T** | **1.002 boolean** **2.001 switch control** **5.010 counter pulses(0..255)** **7.001 pulses** | | This object is used to send the result of the gate calculation. | Table 6.3.5 Logic function_Gate calculation Communication Object