Recovering UDP Communication in the CODESYS Environment

1. Overview

Introduces the background and applicable scope of restoring UDP communication in the CODESYS environment.

1.1 Background

Some users have experienced communication failures when using the UDP protocol for network communication with other devices in the CODESYS IDE environment. To address this issue, the following section describes a specific solution to help users resolve UDP communication problems.

1.2 Scope of Application

This application applies to ED-IPC and ED-HMI devices with CODESYS volume licenses manufactured ​before November 20, 2025.

2 Application Guide

Describes the specific steps for recovering UDP communication on ED-IPC and ED-HMI devices in the CODESYS environment.

Preparation:

  • The IP address of the device’s Ethernet port has been obtained.

  • Remote login to the device has been established via SSH.

TIP

The device’s Ethernet port IP is configured as a static IP address by default, with the IP address set to 192.168.0.100.

Steps:

  1. After logging into the device via SSH, execute the following command in the command window to open the CODESYSControl.cfg file:
sudo nano /etc/CODESYSControl.cfg
  1. Remove the semicolon before Linux.ProtocolFilter=3 in the file to enable Linux.ProtocolFilter=3.
89d13db2b9414258734e1bd45a06d7a3
  1. Press Ctrl+O to save the file, then press Enter, and finally press Ctrl+X to exit file editing mode.

  2. Execute the following command to restart the device and apply the configuration:

sudo reboot