Recovering CODESYS Programming Software Login Credentials

1. Overview

This section introduces the background and scope of recovering login credentials for the CODESYS programming software.

1.1 Background

Some users may encounter situations where they forget their "username" and "password" when connecting to and logging into a device using CODESYS. If an incorrect username or password is entered, the system will prompt "Invalid user authentication on the target".

111162225

To address the above issue, the following sections provide specific solutions to help users create new login credentials.

1.2 Scope of application

This application is applicable to product models including the ED-IPC series and ED-HMI series devices with CODESYS authorization.

2 Application Guide

Preparation:

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

  • SSH connection to the device has been established.

TIP

The default Ethernet port IP address of the device is set to a static IP, which is 192.168.0.100.

steps:

  1. After logging into the device via SSH, execute the following commands sequentially to delete the old user login credentials.
sudo rm /var/opt/codesys/.UserDatabase.csv
sudo rm /var/opt/codesys/.UserDatabase.csv_
sudo rm /var/opt/codesys/.GroupDatabase.csv
sudo rm /var/opt/codesys/.GroupDatabase.csv_
  1. Power off and restart the device.

  2. Reopen the CODESYS programming software and scan for the login device. In the pop-up prompt box, click "Yes" to create a new user.

56763049
  1. Configure “Name” and “Password”, and click “OK” when finished.
334163149
  1. Enter the new "User name" and "Password" to connect to the device.

    4444462429