6 Configuring System

This chapter introduces how to configure system.

TIP

As the CODESYS license of the product is stored in the OS by default, it is not recommended for users to flash to eMMC by themselves, and re-flashing to eMMC will result in the loss of the CODESYS license and affect the use.

6.1 Finding Device IP

Finding Device IP

6.2 Remote Login

Remote Login

6.3 Configuring Storage Devices

Configuring Storage Devices

6.4 Configuring Ethernet IP

Configuring Ethernet IP

6.5 Configuring Wi-Fi (Optional)

Configuring Wi-Fi

6.6 Configuring Bluetooth (Optional)

Configuring Bluetooth

6.7 Configuring 4G (Optional)

Configuring 4G

6.8 Configuring RTC

Configuring RTC

6.9 Configuring Serial Port

This chapter introduces the configuration method of RS232 and RS485.

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

6.9.2 Configuring RS232

ED-PLC2010 series includes 2 RS232 ports with their 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-PLC2010 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.

6.9.3 Configuring RS485

ED-PLC2010 series 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-PLC2010 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/com2
  1. Input commands as needed to control external device.