Document Version: V1.0
Revision History
Version | Date | Description |
V1.0 | 2026-10-30 | Initial release |
1. Protocol Overview
- Protocol Description: KNX TP is the twisted-pair field communication method used in KNX building automation systems. It is commonly used for communication among lighting, blinds, wall panels, sensors, and actuators.
- Application Scenario: This protocol is suitable when the gateway is directly connected to the on-site KNX TP bus, and E2C Facility is used to centrally collect various building control points for monitoring, linkage, SCADA, alarms, or cloud applications.
- Support Status: In E2C Trinity, only E2C Facility supports KNX protocol access. For the KNX TP scenario, the system supports manual device creation, manual tag creation, and batch import of devices and tags through ETS project files.
Software Platform | E2C Facility | E2C Factory | E2C Field |
Supported Gateway Model | LG5120 | / | / |
Firmware Requirement (RobustOS Pro version) | ≥2.5.1 | / | / |
2. Preparation
Before you start, make sure the following items are ready:
- Field Wiring
- The KNX TP bus must be directly connected to the built-in KNX TP interface of the gateway. The terminal identifiers are 【K+】 and 【K-】.
- Connect the bus cable according to the terminal identifiers and make sure the polarity of the KNX TP bus is correct.
- Confirm that the devices on the KNX TP bus are powered on and working normally.
- Project Information
- Prepare the 【Device Individual Address】 of the target device, and ensure that each individual address in the KNX network is unique.
- Prepare the 【Group Address】, 【DPT ID】, and point usage description required for collection.
- If batch import is planned, prepare the project file exported from ETS4, ETS5, or ETS6 in advance.
- Implementation Confirmation
- For the first KNX setup, it is recommended that the implementation engineer complete 【Global Connection Settings】 first.
- 【Global Connection Settings】 affect all KNX devices under the current gateway. After modification, the related devices may be offline for a short time.
3. Configuration Steps
In actual projects, you can choose one of the following three scenarios:
- Scenario 1: This is the first KNX setup, or you need to change the global KNX connection settings of the current gateway. In this case, you must complete 3.1 first, and then continue with 3.2, 3.3, or 3.4 as needed.
- Scenario 2: The global KNX connection settings of the current gateway have already been configured and do not need to be changed this time. You only need to manually add KNX TP devices and tags. In this case, you can skip 3.1 and start directly from 3.2.
- Scenario 3: The global KNX connection settings of the current gateway have already been configured and do not need to be changed this time. You only need to batch import devices and tags through an ETS project file. In this case, you can skip 3.1 and start directly from 3.4.
In other words, 3.1 is the shared step required only when the global connection settings are configured for the first time or need to be changed. If the connection mode and related parameters have already been confirmed on site, you do not need to repeat 3.1 before adding devices, creating tags, or importing data.
3.1 Step 1: Configure Global Connection Settings
- Log in to the E2C Trinity management interface and go to Data Collection under Wired Devices.
- Click Add Device at the top of the list.
- In the Add Device dialog box, select 【Protocol】 as KNX and then select KNX TP in the secondary option.
- For the first KNX setup, click Configure in the Global Connection Settings area and complete the global parameter settings.
Figure 3-1 Global Connection Settings
Parameter | Description | Example |
【Local Individual Address】 | The local address of the gateway in the KNX network. It must follow the A.L.D format. | 2.2.128 |
【Client Address Range】 | The address pool used for KNX communication. It must follow the A.L.D:X format. | 2.2.129:8 |
【Port Number】 | The communication port used for KNX. The standard port is used by default. | 3671 |
【Access Mode】 | Select the communication mode according to the actual KNX equipment and network environment. | TP Direct |
- Click Save to complete the global configuration.
Note
- TP Direct: This mode must be enabled when the gateway uses its KNX TP interface to connect to on-site TP bus devices.
- If the project uses only KNX TP devices, enable only TP Direct.
- If the project uses KNXnet/IP communication, but the KNX TP interface of the gateway is still connected to actual TP bus devices, TP Direct must also be enabled.
- If the project uses only KNXnet/IP communication and no device is connected to the KNX TP interface of the gateway, TP Direct is not required.
- Tunneling: Used for point-to-point communication with the KNX IP network through KNXnet/IP tunneling. This mode is mainly used in the KNXnet/IP scenario. When this mode is used, make sure that 【Client Address Range】 does not conflict with other KNX device addresses.
- Routing: Used for multicast communication with the KNX IP network through KNXnet/IP routing. This mode is mainly used in the KNXnet/IP scenario.
- If 【Global Connection Settings】 are changed, the new settings will apply to all KNX devices under the current gateway. Confirm the maintenance window before you proceed.
3.2 Step 2: Add a KNX TP Device
After the global configuration is completed, you can create a KNX TP device object.
- Fill in the device information in the Add Device dialog box.
Parameter | Description | Example |
【Device Individual Address】 | Required for a KNX TP device and must follow the A.L.D format. | 3.1.1 |
【Polling Cycle】 | All polled tags under the current device share this period. Unit: seconds. | 60 |
【Collection Timeout】 | The timeout for the device to respond after a data collection request is sent. Unit: seconds. | 5 |
【Communication Interval】 | The wait time between consecutive reads and writes. Unit: milliseconds. | 100 |
【Description】 | Supplementary description of the device usage or installation location. | Corridor light dimmer on Floor 1 of Building A |
- Click Save to complete device creation.
Description
- After the KNX TP device is created, it is recommended to verify whether 【Device Individual Address】 matches the field commissioning data before you continue creating tags.
3.3 Step 3: Manually Add a Tag
If no ETS project file is available, or only a small number of points need to be supplemented, you can manually add tags.
- In the device list on the left, click the newly created KNX TP device to open the tag table on the right.
- Click Add Tag in the upper-right corner.
- Fill in the tag information and save it.
Figure 3-2 Manually Add a Tag
Parameter | Description | Example |
【Name】 | Tag name. It supports 1 to 100 characters and must be unique within the same device. | Brightness1 |
【Tag Type】 | Device Tag and Virtual Tag are supported. Device Tag is typically selected for field point collection. | Device Tag |
【Group Address】 | The core acquisition address of a KNX TP tag and must be unique within the same device. | 3/0/1 |
【DPT ID】 | Data point type. It can be searched and selected. After selection, the system automatically maps 【Data Type】. | 5.001 |
【Data Type】 | Automatically generated based on 【DPT ID】. | byte |
【Read/Write Permission】 | Read Only, Write Only, and Read & Write are supported. | Write Only |
【Description】 | Supplementary description of the tag usage. | Brightness adjustment for corridor lights on Floor 1 of Building A |
- Repeat the above steps until all required tags under the device are created.After all tags are added or modified, click Publish in the upper-right corner of the page to apply the configuration.
Description
- If a tag is configured as 【Write Only】, 【Collection Mode】 is not displayed on the page. The tag does not participate in polling or subscription and only follows the device online status.
3.4 Step 4: Batch Import Through an ETS Project File
If a complete ETS project file is available, it is recommended to use ETS import to batch create KNX TP devices and tags and reduce manual entry.
Figure 3-3 ETS Project File Import
Procedure
- In the Add Device dialog box, select the KNX TP protocol, then set 【Create Mode】 to 【ETS Import】 to enter the dedicated import page.
- In Step 1, upload the ETS project file. Only project files exported from ETS4, ETS5, or ETS6 are supported, and the file size must not exceed 50 MB.
- In Step 2, select the devices to be imported. The system displays them in a three-level structure: area, line, and device. Batch selection is supported.
- In Step 3, complete the import information. Taking the lighting device with 【Device Individual Address】 3.1.1 as an example, pay special attention to whether 【Collection Mode】 matches the project requirement.
- If there are data issues, you can review and handle them in Step 4. If there are no issues, this step is skipped.
- Name Errors: This includes duplicate device or tag names and invalid name formats. Correct them as prompted; otherwise, the import cannot be executed.
- Duplicate Objects: This includes duplicate device individual addresses and duplicate group addresses. Choose Skip or Overwrite according to the actual situation. Skip leaves the duplicate objects unchanged, while Overwrite updates the data involved in this import.
- Missing Data: This mainly means that a tag is missing 【DPT ID】. Add the correct DPT for the affected tags, or exclude them from the import. Tags without 【DPT ID】 are skipped during execution and are not added or updated.
- After processing the issues, click Execute. If name errors still exist, the system prompts you to correct them first. After the correction is completed, click Execute again.
- After the import is completed, check the number of successful, skipped, and failed records on the execution result page. If there are failed records, go to System Settings -> Logs for details.
- Click Publish in the upper-right corner of the page to apply the configuration.
Notes
- Name Handling: Spaces in tag names are automatically replaced with underscores. For example, Flow temperature becomes Flow_temperature. Other invalid characters are also removed automatically. Check whether the processed names meet the project requirements.
- DPT Assignment: You can select multiple tags and click Batch Assign DPT to assign the same DPT in one action. The system updates the selected tags and related fields accordingly. Confirm that the selected DPT matches the actual device data.
- Overwrite Protection: Overwrite does not reset existing business attributes in E2C. The device-level 【Collection Timeout】, 【Communication Interval】, and 【Description】, as well as the tag-level 【Data Operation】, 【Description】, 【Unit】, and 【Tag Group】, are retained.
- Duplicates Inside the File: If duplicate objects exist inside the ETS file, the system handles them according to the selected conflict strategy instead of blocking the import directly.
4. Verification
After devices and tags are configured, it is recommended to confirm that KNX TP collection is working properly from the following aspects:
- Device Status: In the device list on the left, confirm that the device is online and the success count is updating normally.
- Tag Data: In the tag table on the right, check whether 【Latest Value】 and 【Update Time】 are refreshed normally.
- Collection Mode: For tags configured with Subscription, Polling, or Polling + Subscription, confirm that the refresh behavior matches the field expectation.
- Write Test: For tags with write permission, click the write icon in the 【Latest Value】 column, perform one write test, and confirm that the field device action and the system display are consistent.
Figure 4-1 Collection Result Verification
5. Troubleshooting
- Issue: What should I do if the device is offline? Possible Cause: TP bus wiring is abnormal; the device is not powered on; 【Device Individual Address】 is incorrect; 【Global Connection Settings】 are incorrect; or the related device is reconnecting after a recent global configuration change. Solution: First check the field wiring and power supply, then verify whether 【Device Individual Address】 matches the commissioning data. Confirm that 【Local Individual Address】, 【Client Address Range】, and 【Access Mode】 are configured correctly. If the global connection settings were just changed, wait for the short reconnection process and then check again.
- Issue: What should I do if a tag has no latest value? Possible Cause: 【Group Address】 is incorrect; 【DPT ID】 is incorrect; or 【Read/Write Permission】 and 【Collection Mode】 do not match the field usage. Solution: Verify whether 【Group Address】 and 【DPT ID】 match the ETS project or field point list. Confirm that read points use Read Only or Read & Write permission. If active collection is required, confirm that an appropriate 【Collection Mode】 has been selected.
- Issue: What should I do if the system reports a duplicate group address when I add a tag? Possible Cause: A tag with the same 【Group Address】 already exists under the same device. Solution: Check the current device tag table to confirm whether the point has already been created. If two business names need to be retained, first verify whether they should reuse the same tag instead of creating a duplicate tag.
- Issue: What should I do if some data is skipped after ETS import? Possible Cause: The imported object duplicates an existing device or tag, and 【Conflict Strategy】 is set to Skip. Solution: Return to the validation page and review the duplicate object details. If the ETS project file should be used to update the existing objects, import again and select Overwrite.
- Issue: What should I do if there is no field response after writing a value? Possible Cause: 【DPT ID】 does not match, or the field device is not listening to the target 【Group Address】. Solution: Verify whether 【Group Address】 and 【DPT ID】 match the actual field object. If necessary, use the ETS project or field commissioning tools to confirm the point relationship again.
- Issue: What should I do if a KNXnet/IP device in the ETS file is imported into the system as a KNX TP device? Possible Cause: The wrong protocol type was selected when the device was created. Solution: Delete the incorrect device, create the device again with the correct protocol type, and then run ETS import again.
- Issue: Where can I view related logs when data collection is abnormal? Possible Cause: Further confirmation is needed for bus communication, import execution results, or device error messages. Solution: Go to DebugLogs to view the logs, and locate the problem together with the device status and error messages.
Figure 5-1 Debug Logs Page