EDA Technology ED-PLC2010 CODESYS PLC

Model: ED-PLC2010

Built: 2025-08-13

1. Introduction

The ED-PLC2010 is a high-performance Programmable Logic Controller (PLC) and Industrial PC (IPC) designed for automation and control applications. It supports the CODESYS development environment, enabling programming according to IEC 61131-3 standards.

1.1 Overview

The ED-PLC2010 offers flexible configuration options for RAM and eMMC storage:

It features a comprehensive set of communication interfaces including HDMI, USB, Ethernet, RS232, RS485, Wi-Fi, and 4G connectivity. Additional features include RTC (Real-Time Clock), Watch Dog timer, and EEPROM.

The system supports CODESYS Control runtime, with targets for EtherCAT/Modbus TCP, TargetVisu, WebVisu, Softmotion, CNC, and Robotics. It can act as an EtherCAT Master and Modbus TCP Master, and includes an OPC UA Server.

1.2 CODESYS

CODESYS is a leading development system for industrial automation, allowing users to create PLC and IPC applications. The ED-PLC2010 is compatible with CODESYS, supporting IEC 61131-3 programming languages such as LADDER (LDF), Function Block Diagram (FBD), Instruction List (IL), and Sequential Function Chart (SFC).

CODESYS supports development on both Windows and Linux platforms.

1.3 Communication Interfaces

The ED-PLC2010 is equipped with EtherCAT, RS485, and RS232 interfaces for industrial communication.

1.4 Connectivity Options

1.5 Hardware Interfaces

The ED-PLC2010 features a variety of ports for connectivity and expansion.

1.5.1 Front Panel Ports

1.5.2 Side Panel Ports

1.5.3 Rear Panel Ports

1.6 Reset Functions and Status Indicators

The ED-PLC2010 includes several reset buttons and status indicators:

1.7 LED Indicators

The device features various LEDs to indicate operational status:

1.8 Pin Definitions and Interfaces

Detailed pin assignments for various interfaces.

1.8.1 Micro SD and Nano SIM Slots

1.8.2 Power Input

The device operates on a DC 24V (±20%) power supply.

PinSignal
124V SYS
20V SYS
324V Field
424V Field
50V Field
60V Field
7PE (Protective Earth)
8PE (Protective Earth)

1.8.3 RS485/RS232 Interfaces

The ED-PLC2010 provides two RS485 and two RS232 ports.

RS485: Uses 6-Pin 3.5mm connectors with signals IGND/A/B.

RS232: Uses 6-Pin 3.5mm connectors with signals GND/TX/RX.

Pin IDPin NameCM4 GPIO NameCM4 Pin Out
1RS485-2_BGPIO13UART5_RXD
2RS485-4_BGPIO9UART4_RXD
3RS485-2_AGPIO12UART5_TXD
4RS485-4_AGPIO8UART4_TXD
5IGNDGPIO5UART3_RXD
6IGNDGPIO1UART2_RXD
7RS232-1_RXGPIO4UART3_TXD
8RS232-3_RXGPIO0UART2_TXD
9RS232-1_TXN/AN/A
10RS232-3_TXN/AN/A
11GNDN/AN/A
12GNDN/AN/A

Note: CM4 pinout mapping is provided for reference.

1.8.4 1000M Ethernet

Features one 10/100/1000M Ethernet port via RJ45 connector (Cat6 compatible).

Pin IDPin Name
1TX1+
2TX1-
3TX2+
4TX2-
5TX3+
6TX3-
7TX4+
8TX4-

1.8.5 EtherCAT

Includes one EtherCAT port via RJ45 connector.

1.8.6 HDMI

Features one HDMI Type A port supporting 4Kp60 resolution.

1.8.7 USB 2.0

Provides one USB 2.0 Type A port with 480Mbps speed.

1.8.8 USB 3.0

Provides two USB 3.0 Type A ports with 5Gbps speed.

1.8.9 SMA Connectors

Two SMA connectors are available for Wi-Fi/BT and 4G antennas.

1.8.10 I/O Modules

The ED-PLC2010 supports a wide range of I/O modules for Digital Input (DI), Digital Output (DO), Analog Input (AI), and Analog Output (AO) functions.

Module TypeDescription
ED-EIO8XP8x PNP Digital Inputs
ED-EIO8XN8x NPN Digital Inputs
ED-EIO16XP16x PNP Digital Inputs
ED-EIO16XN16x NPN Digital Inputs
ED-EIO8YP8x PNP Digital Outputs
ED-EIO8YN8x NPN Digital Outputs
ED-EIO16YP16x PNP Digital Outputs
ED-EIO16YN16x NPN Digital Outputs
ED-EIO4YR4x Relay Outputs
ED-EIO4ADV4x Analog Outputs (0-5V, 0-10V, -10-10V)
ED-EIO4ADA4x Analog Outputs (4-20mA, 0-20mA)
ED-EIO8ADA8x Analog Outputs (4-20mA, 0-20mA)
ED-EIO4AD4x Analog Inputs (4-20mA, 0-20mA, 0-5V, 0-10V, -10-10V)
ED-EIO4DAV4x Analog Inputs (0-5V, 0-10V, -10-10V)
ED-EIO4DAA4x Analog Inputs (4-20mA, 0-20mA)
ED-EIO4RTD4x RTD Inputs
ED-EIO4TC4x Thermocouple Inputs
ED-EIO2HCD2x High-Speed Counter Digital Inputs
ED-EIOPWRPower Module for I/O expansion
ED-EIOTERMTerminal Module for EtherCAT

1.9 PLC Startup

The PLC typically starts within 30 seconds. The system status is indicated by the RUN and ERR indicators.

2. External Module Installation

Instructions for installing external modules.

2.1 4G/Wi-Fi Module Installation

  1. Install the 4G/Wi-Fi module.

2.2 Micro SD Card Installation

  1. Insert the Micro SD card into the designated slot.

2.3 Nano SIM Card Installation

Install the Nano SIM card for 4G connectivity.

  1. Insert the Nano SIM card into the SIM slot.

3. Wiring and I/O Connections

Details on wiring the PLC and I/O modules.

3.1 PLC Wiring

Connect power and communication cables to the ED-PLC2010.

  1. Connect the power supply.
  2. Connect communication cables (e.g., Ethernet, RS232/RS485).

3.2 I/O Wiring

Connect I/O signals to the appropriate modules.

  1. Wire I/O signals to the DIN/DOUT/AIN/AOUT terminals.
  2. Ensure correct polarity and signal types are used for DIN/DOUT modules.

4. System Configuration

Configuration steps for the ED-PLC2010.

4.1 General Configuration

Refer to Section 1.8 for I/O and interface details. Ensure proper power supply connection (Section 1.8.2).

4.2 Operating System Installation

The ED-PLC2010 can run operating systems like Raspberry Pi OS.

4.2.1 Raspberry Pi OS (Desktop)

Install the Desktop version of Raspberry Pi OS for a graphical interface.

4.2.2 Raspberry Pi OS (Lite)

Install the Lite version for headless operation or minimal resource usage.

5. CODESYS Programming

This section details how to program the ED-PLC2010 using the CODESYS development environment.

5.1 CODESYS IDE Installation

The CODESYS IDE (version 3.5.19 or later) is required for programming. It runs on Windows PCs (Windows 10, Windows 11 64-bit).

  1. Download CODESYS IDE from the official CODESYS store: http://store.codesys.cn/codesys/store/detail.html?productId=58
  2. Run the installer and follow the on-screen prompts.
  3. Click "Install" to begin the installation.
  4. Click "Finish" upon completion.

5.2 PLC Configuration with CODESYS

Configure the ED-PLC2010 device within the CODESYS environment.

5.2.1 Ethernet Configuration

Connect the PC and the ED-PLC2010 via Ethernet. The PC IP is typically 192.168.0.99, and the PLC Ethernet IP is 192.168.0.100.

  1. Connect the ED-PLC2010's Ethernet port to your PC.
  2. Access the PLC's web interface at http://192.168.0.100:8100 to manage PLC settings.
  3. Download the device description file (.xml) for the ED-PLC2010 from the EDA Technology website or provided resources.
  4. Download the device description file for the ED-EIOBRG-EC module.

5.2.2 Adding Devices in CODESYS

Add the ED-PLC2010 and I/O modules to your CODESYS project.

  1. In CODESYS, create a new project or open an existing one.
  2. Add the ED-PLC2010 as a device, typically by selecting its controller type and specifying its IP address (192.168.0.100).
  3. Add the ED-EIOBRG-EC device description file to CODESYS.
  4. Add the ED-PLC2010 I/O modules to the project structure.

5.3 I/O Configuration with CODESYS

Configure the I/O modules connected to the ED-PLC2010.

5.3.1 E-bus I/O Configuration

Configure E-bus I/O modules (e.g., ED-PLC2010 I/O modules) via CODESYS.

  1. Add the ED-PLC2010 I/O device to the CODESYS project.
  2. Configure the I/O mapping and parameters as needed.
  3. Download the project to the PLC.

5.3.2 EtherCAT I/O Configuration

Configure EtherCAT I/O modules.

  1. Add the EtherCAT Master to the CODESYS project.
  2. Configure the EtherCAT network, typically using the 'eth1' interface.
  3. Add EtherCAT slave devices (I/O modules) to the network.
  4. Configure synchronization and cyclic data transfer.
  5. Download the project to the PLC.

5.4 Digital Output (DO) Example

Example of controlling a digital output using CODESYS.

5.4.1 DO Module Configuration

Configure a DO module (e.g., 8 PNP outputs).

  1. Map the output variable (e.g., %QX16.0) to the desired physical output.
  2. Use a timer (TON) for blinking or timed output control.
PROGRAM PLC_PRG
VAR
    TON_TIME : TON; // Timer instance
    Light_Output : BOOL := FALSE; // Output state
END_VAR

// Timer logic
TON_TIME(IN := NOT TON_TIME.Q, PT := T#0.5S);

IF TON_TIME.Q THEN
    Light_Output := NOT Light_Output;
END_IF

// Assign output state to physical output
%QX16.0 := Light_Output;

// Reset timer when not needed (e.g., on PLC stop)
// TON_TIME(IN := FALSE);

This example toggles an output every 0.5 seconds.

5.5 PLC Control

Control the PLC's operation.

5.5.1 Start/Stop and Update

  1. Start/Stop: Use the STOP/START button on the device or via the CODESYS interface to start or stop the PLC program.
  2. Update: Use the UPDATE button or interface for firmware updates.

5.5.2 USB Update

Update the PLC application via USB.

  1. Prepare the update file (e.g., Application.app, Application.crc).
  2. Copy the update files to a USB drive.
  3. Insert the USB drive into the PLC. The PLC will detect the update.
  4. Monitor the UDISK DETECT and UDISK BUSY indicators.
  5. The PLC will automatically reboot after a successful update.
  6. Use the STOP/START, ERR, IMP, UPDATE, or UDISK RM buttons as needed for control and maintenance.

6. Troubleshooting and FAQs

Common issues and solutions for the ED-PLC2010.

6.1 IP Configuration

Ensure correct IP settings for network communication.

6.2 Ethernet

Verify Ethernet cable connections and IP addresses.

6.3 Wi-Fi

Check Wi-Fi module installation and network credentials.

6.4 4G

Ensure the 4G SIM card is properly inserted and has network coverage.

6.5 RTC

The Real-Time Clock maintains system time.

6.6 RS232/RS485

Verify serial port settings (baud rate, data bits, parity) and wiring.

6.6.1 Using picocom on Linux

picocom is a serial communication tool for Linux.

Install picocom:

sudo apt-get install picocom

6.6.2 RS232 Communication

The ED-PLC2010 has two RS232 ports, mapped to COM1 and COM3 (e.g., /dev/com1, /dev/com3).

To connect to COM1 at 115200 baud:

picocom -b 115200 /dev/com1

6.6.3 RS485 Communication

The ED-PLC2010 has two RS485 ports, mapped to COM2 and COM4 (e.g., /dev/com2, /dev/com4).

To connect to COM4 at 115200 baud:

picocom -b 115200 /dev/com4

6.7 CODESYS Connection Issues

Troubleshoot connection problems between CODESYS and the PLC.

6.7.1 Network Connection

Ensure the PC and PLC are on the same network (e.g., 192.168.0.x).

  1. Connect the PC and PLC via Ethernet.
  2. Access the PLC web interface at http://192.168.0.100:8100.
  3. Verify the PLC's IP address and network settings.
  4. Ensure no firewall is blocking communication.

6.7.2 Device Scanning and Communication

If the PLC is not found:

  1. Check the PLC's IP address and ensure it is reachable from the PC.
  2. Verify that the correct device description files (.xml) are installed in CODESYS.
  3. Ensure the PLC is running and accessible.
  4. Restart the CODESYS application and the PLC.

PDF preview unavailable. Download the PDF instead.

ED-PLC2010-usermanual-zh WeasyPrint 57.2

Related Documents

Preview ED-IPC2600 Industrial Computer User Manual
Comprehensive user manual for the ED-IPC2600 series industrial computer, detailing hardware overview, interfaces, installation, configuration, and OS setup. Features Raspberry Pi CM4 for industrial control and IoT applications.
Preview ED-IPC2100 系列用户手册
ED-IPC2100系列是一款基于Raspberry Pi CM4的高可靠性工业计算机,提供多种配置选项和丰富的接口,适用于工业控制和物联网领域。本手册详细介绍了产品的硬件、安装、配置和操作系统安装等内容。
Preview ED-IPC3630 Industrial Computer Datasheet
Datasheet for the ED-IPC3630 Industrial Computer by EDA Technology, featuring Raspberry Pi CM5, Broadcom BCM2712, extensive I/O, and wide operating temperature range.
Preview ED-SBC2300 User Manual by EDA Technology
Comprehensive user manual for the EDA Technology ED-SBC2300 series industrial single board computer, detailing hardware specifications, interfaces, installation, and system configuration.
Preview ED-IPC2100 User Manual: Industrial Computer with Raspberry Pi CM4
Comprehensive user manual for the ED-IPC2100 series industrial computer by EDA Technology. Details hardware overview, packing list, appearance, interfaces, installation, configuration, and OS setup for this Raspberry Pi CM4-based device.
Preview ED-IPC2600 用户手册 - EDA Technology
用户手册详细介绍了EDA Technology ED-IPC2600工业计算机的硬件概述、安装指南、系统配置和操作方法,包括接口定义、按键功能、指示灯说明以及操作系统安装等。
Preview ED-IPC2400 Industrial Computer User Manual
Comprehensive user manual for the EDA Technology ED-IPC2400 series industrial computer, detailing hardware overview, installation, configuration, and OS setup. Features Raspberry Pi CM4, multiple serial ports (RS232, RS485), Ethernet, and HDMI for industrial control and IoT applications.
Preview EDA ED-HMI3630-133C 13.3-inch Industrial HMI Datasheet
Datasheet for the EDA ED-HMI3630-133C, a 13.3-inch industrial HMI powered by Raspberry Pi CM5, featuring high resolution, touch screen, extensive I/O, and optional connectivity.