---
title: "Use KNX Logic Functions in ETS"
slug: "use-knx-logic-functions-in-ets"
updated: 2026-03-13T05:49:23Z
published: 2026-03-13T05:49:23Z
canonical: "knowledge.akuvox.com/use-knx-logic-functions-in-ets"
---

> ## 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.

# Use KNX Logic Functions in ETS

This document introduces commonly used logic modules in ETS, including their functions, parameter descriptions, and configuration examples. It is intended to help you implement practical automation logic in KNX projects.

## Function Description

### Logical Operations: AND/OR/XOR

| **Function** | **Logic Rule** | **Example Application** |
| --- | --- | --- |
| AND | The output is true (1) only when **all** input conditions are true. If any input is false (0), the output becomes false. | Determine “someone is home” only when both the motion sensor detects presence and the door/window sensor is opened. |
| OR | The output is true (1) when **any** inputs is true. Only when all inputs are false does the output become false. | If any motion sensor detects presence, consider the room occupied. |
| XOR | The output is true (1) when the two inputs have different states (one is 1 and the other is 0). If both inputs are the same, the output is false. | Implement two-way stair lighting control using switches at the top and bottom of the stairs. |

## 

### Gate Forwarding

**Logic Rule**

Forward a single input to different output targets based on scene numbers. This allows one trigger to perform different actions in different scenes.

**Example**

A single button can control different lights depending on the active scene.

### Threshold Comparator

**Logic Rule**

Compare an input value (e.g., brightness, temperature, occupancy count) with a predefined threshold and output a 0/1 result.

**Example**

When an air quality sensor detects poor air quality, output “1” to automatically turn on the ventilation system.

## 

### Format Convert

**Logic Rule**

Convert data from one KNX Data Point Type (DPT) to another, enabling communication between devices that use different formats.

**Example**

An 8-channel switch module provides eight independent 1-bit states, while a visualization system may only accept a single 1-byte value to represent all switch states. Format Conversion combines and converts the states into the required 1-byte format.

### Gate Calculation

**Logic Rule**

Perform calculations (addition, subtraction, multiplication, division) or range evaluation on input data and outputs the result.

**Example**

Convert a 0-1000 lux brightness value into a 0-100% output signal (brightness ÷ 10) for curtain position control.

# 

## Logic Function Parameters in ETS

All logic-related parameters can be found in [Parameter setting interface “Logic function setting”](/v1/docs/58-parameter-setting-interface-logic-function-setting).

## Configuration Examples

The following examples demonstrate how to configure and apply each logic function.

You may replace the sample devices (e.g., occupancy sensor) with those used in your actual project.

### AND/OR Logic

#### **Example Description**

When both occupancy sensors detect “no presence”, the HyPanel shows “no one present”.

If either sensor detects presence, the HyPanel displays “someone present.”

#### **Configuration Flowchart**

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-jxgjxbcx.png)

#### **Configuration Steps**

1. Topology

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-yu8yh9lf.png)

1. Parameters & Group Objects

- HyPanel - AND Logic Function

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-nxxgoi0e.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-cupj79pl.png)

- HyPanel - OR Logic Function

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-d5f3ck1b.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-85bqbsf5.png)

- Occupancy Sensor 1 & 2 - Group Objects (No Presence)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-f9brgndu.png)

- HyPanel - Occupancy Sensor Function Configuration

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-g6kmphjw.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-0lv5kubr.png)

1. Group Address Assignment

- HyPanel

> [!NOTE]
> **NOTE:**
> 
> Link both the AND and OR logic output objects to the HyPanel’s presence sensor object.

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-vto8pplw.png)

- Occupancy Sensor 1&2

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-559otwh0.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-h2aysxud.png)

### XOR Logic

#### **Example Description**

Two Aura series K32 button panels (K32_A and K32_B) control the same stair light (8-Gang 16A switch module). Pressing either switch toggles the light.

> [!NOTE]
> **NOTE:**
> 
> Without XOR logic, two-way control is still possible, but the switch may require two presses to synchronize the state.

#### **Configuration Flowchart**

**![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-eztnrj7n.png)**

#### **Configuration Steps**

1. Topology

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-5nn38dmj.png)

1. Parameters & Group Objects

- K32_A - Button Function (same on K32_B)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-zyanb0sl.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-qwmuxwbm.png)

- K32_A - XOR Logic Function (same on K32_B)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-0phugfr9.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-k6uvqz13.png)

1. Group Address Assignment

- K32_A

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-w92xs83i.png)

- K32_B

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-txwdw0of.png)

- 8-Gang 16A Switch Module

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-8qxk0c6i.png)

## 

### Gate Forwarding

#### Example Description

A button on a bedside K32 panel controls different lights depending on the active scene:

- Bright scene: The button controls main light (Output 1 of the 8-Gang 16A switch module)
- Reading scene: The button controls the desk lamp (Output 2 of the 8-Gang 16A switch module)

For this example, assume the scene numbers are:

Bright = 1, Reading = 2.

#### Configuration Flowchart

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-ex40b9zi.png)

#### Configuration Steps

1. Topology

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-2s4xz1tg.png)

1. Parameters & Group Objects

- K32 - Button Function

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-8k2nixfn.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-qsvhs1oe.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-jiz1pfup.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-z7loazud.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-49lo4iw4.png)

- K32 - Logic Function

![](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/企业微信截图_1773380472497.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-9pttny8c.png)

- 8 Gang 16A Switch Module - Outputs

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-bt07x5a4.png)

1. Group Address Assignment

- K32

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-x6e2q93f.png)

- 8 Gang 16A Switch Module

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-xsa0mnby.png)

## 

### Threshold Comparator

#### Example Description

When the indoor lighting dims (brightness falls below 10%), the entrance light (Output 1 on the 8-Gang 16A switch module) turns on automatically.

#### Configuration Flowchart

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-yzv7fssk.png)

### 

#### Configuration Steps

1. Topology

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-voc7st28.png)

1. Parameters & Group Objects

- HyPanel - Brightness Sensor (enabled)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-fmkdcwv0.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-wsrkn9en.png)

- HyPanel - Threshold Comparator Logic Function

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-5sr3igo1.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-ndq2jlps.png)

- 8-Gang 16A Switch Module - Group Object to be Used

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-czj2rfse.png)

1. Group Address Assignment

- HyPanel

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-59kix86j.png)

- 8-Gang 16A Switch Module

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-owjhi315.png)

## 

### Format Convert

#### Example Description

An 8-Gang 16A switch module provides eight individual1-bit switch states. It has to be connected to a third-party visualization system that can only accept a single 1-byte value to represent all switch statuses.

#### Configuration Flowchart

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-gr54itfb.png)

#### Configuration Steps

1. Topology

> [!NOTE]
> **NOTE:**
> 
> The visualization system database is omitted here; this example focuses on the Format Convert function itself.

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-j37bxnxc.png)

1. Parameters & Group Objects

- HyPanel - Format Convert Logic Function

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-gb279blw.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-b8tcvh4v.png)

- 8-Gang 16A Switch Module - Status feedback enabled for each channel (Channel A shown as example)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-k4xv25b5.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-ynnb9wcz.png)

1. Group Address Assignment

- HyPanel

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-6bw0wzv6.png)

- 8-Gang 16A Switch Module

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-ilivaeea.png)

> [!NOTE]
> **NOTE:**
> 
> After conversion, link the resulting 1-byte on/off value to the visualization system’s input status group object so it can read the combined switch states.

### Gate Calculation

#### Example Description

Create a lighting effect where the ambience light (Output B of 4-Gang 0-10V Dimmer Module) follows the brightness of the main light (Output A of 4-Gang 0-10V Dimmer Module), but always at 50% of the main light’s level.

#### Configuration Flowchart

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-hf1amiiw.png)

#### 

#### Configuration Steps

1. Topology

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-ogs1jyac.png)

1. Parameters & Group Objects

- HyPanel - Gate Calculation Logic Function

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-rfsmpkj2.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-0kdpiq7t.png)

- 0-10V Dimmer Module - Outputs A & B (Output A as example)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-iebla84u.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-6o6e7zaa.png)

1. Group Address Assignment

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-6dxzpb1y.png)

![descript](https://cdn.document360.io/f09a6106-e976-455e-b2d0-3d88b5385960/Images/Documentation/use-knx-logic-functions-in-ets-image-pbbv7qp3.png)
