5 Configuring System

This chapter introduces how to configure system.

WARNING

The ED-PAC3100 device comes pre-installed with a valid CODESYS license by default. Reinstalling the operating system will invalidate the CODESYS license. Do not attempt to install the OS on your own.

5.1 Finding Device IP

Finding Device IP

5.2 Remote Login

Remote Login

5.3 Configuring Storage Devices

Configuring Storage Devices

5.4 Configuring Ethernet IP

Configuring Ethernet IP

5.5 Configuring Buzzer

Configuring Buzzer

5.6 Configuring RTC

Configuring RTC

5.7 Configuring USER Indicator

Configuring USER Indicator

5.8 Configuring Serial Port

This chapter introduces the configuration method of RS232 and RS485.

5.8.1 Installing Picocom Tool

In the Linux environment, you can use the picocom tool to debug the serial ports RS232 and RS485.

Execute the following command to install the picocom tool.

sudo apt-get install picocom

5.8.2 Configuring RS232

ED-PAC3100 includes 2 RS232 ports with corresponding COM ports and device files, as shown in the table below:

Number of RS232 PortsCorresponding COM PortCorresponding Device File
2COM1, COM3/dev/com1, /dev/com3

Preparation:

The RS232 ports of ED-PAC3100 has been connected with external device.

Steps:

  1. Execute the following command to open the serial port com1, and configure the serial port baud rate to 115200.
picocom -b 115200 /dev/com1
  1. Input commands as needed to control external device.

5.8.3 Configuring RS485

ED-PAC3100 includes 2 RS485 ports with their corresponding COM ports and device files, as shown in the table below:

Number of RS485 PortsCorresponding COM PortCorresponding Device File
2COM2, COM4/dev/com2, /dev/com4

Preparation:

The RS485 ports of ED-PAC3100 has been connected with external device.

Steps:

  1. Execute the following command to open the serial port com4, and configure the serial port baud rate to 115200.
picocom -b 115200 /dev/com4
  1. Input commands as needed to control external device.

5.9 CODESYS License Management

The ED-PAC3100 device comes pre-installed with a CODESYS license by default. You can back up and restore the license by accessing the "​PLC Setting​" interface.

5.9.1 License Backup

Preparation:

  • A Windows PC has been set up​ with an IP address in the ​same subnet​ as the device. For example, if the device’s IP (1000M Ethernet port) is 192.168.0.100, set the PC’s IP to 192.168.0.99.
  • A functioning Ethernet cable has been prepared.

Steps:

  1. Connect the device's 1000M Ethernet port to the PC via an Ethernet cable, then power on the device.

  2. Enter http://192.168.0.100:8100 in the PC’s web browser to access the ​​"PLC Setting"​​ interface.

  3. ​In the "Codesys License Management" interface, click "Backup​ ​License" to download the license file and save it locally.

license-backup-1

TIP

The backed-up license file can only be restored on the same device.​

5.9.2 ​License Restore

Preparation:

  • A Windows PC has been set up​ with an IP address in the ​same subnet​ as the device. For example, if the device’s IP (1000M Ethernet port) is 192.168.0.100, set the PC’s IP to 192.168.0.99.
  • A functioning Ethernet cable has been prepared.
  • The backed-up license file has been obtained.

Steps:

  1. Connect the device's 1000M Ethernet port to the PC via an Ethernet cable, then power on the device.

  2. Enter http://192.168.0.100:8100 in the PC’s web browser to access the ​​"PLC Setting"​​ interface.

  3. ​In the "Codesys License Management" interface, click "Restore​ ​License".

license-backup-2
  1. As prompted, select the obtained license file under a custom path.​

  2. After a successful License Restore, a ​100% progress bar​ will be displayed in the ​right-hand panel.

license-backup-2
  1. Open the device’s terminal command pane, ​execute the following command, and ​restart the device.
sudo reboot