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
6.2 Remote Login
6.3 Configuring Storage Devices
6.4 Configuring Ethernet IP
6.5 Configuring Wi-Fi (Optional)
6.6 Configuring Bluetooth (Optional)
6.7 Configuring 4G (Optional)
6.8 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 Ports | Corresponding COM Port | Corresponding Device File |
---|---|---|
2 | COM1, COM3 | /dev/com1, /dev/com3 |
Preparation:
The RS232 ports of ED-PLC2010 has been connected with external device.
Steps:
- Execute the following command to open the serial port com1, and configure the serial port baud rate to 115200.
picocom -b 115200 /dev/com1
- 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 Ports | Corresponding COM Port | Corresponding Device File |
---|---|---|
2 | COM2, COM4 | /dev/com2, /dev/com4 |
Preparation:
The RS485 ports of ED-PLC2010 has been connected with external device.
Steps:
- Execute the following command to open the serial port com4, and configure the serial port baud rate to 115200.
picocom -b 115200 /dev/com2
- Input commands as needed to control external device.