និមិត្តសញ្ញា EDA

ED-PAC3020 EDATEC ស្វ័យប្រវត្តិកម្មឧស្សាហកម្ម និងការគ្រប់គ្រង

ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-PRODUCT

លក្ខណៈបច្ចេកទេស

  • ឈ្មោះផលិតផល៖ ED-PAC3020
  • ក្រុមហ៊ុនផលិត៖ EDA Technology Co., Ltd
  • កាលបរិច្ឆេទចេញផ្សាយ៖ ថ្ងៃទី ១៧ ខែ សីហា ឆ្នាំ ២០១៧
  • កម្មវិធីសរសេរកម្មវិធី៖ CODESYS V3.5 SP19
  • ការកំណត់រចនាសម្ព័ន្ធអង្គចងចាំ: 2GB DDR + 128GB SSD or 8GB DDR + 256GB SSD
  • ចំណុចប្រទាក់: HDMI, USB, Ethernet, RS232, RS485

ការណែនាំអំពីការប្រើប្រាស់ផលិតផល

  1. ជាងview:
    1. The ED-PAC3020 is a real-time CODESYS programmable automation controller suitable for industrial control and IoT fields. It comes pre-installed with a multi-core CODESYS runtime and offers different memory configurations based on user requirements.
  2. ផ្នែករឹង៖
    1. The device features commonly used interfaces such as HDMI, USB, Ethernet, RS232, and RS485. It integrates an RTC and supports connection to remote EtherCAT-based I/O modules.
  3. Introduction to CODESYS Software:
    1. The product supports CODESYS V3.5 SP19 and later versions for programming and control.
  4. កម្មវិធីបណ្តាញ៖
    1. The device offers EtherCAT, Ethernet, RS485, and RS232 interfaces for multi-layer network communication to meet diverse application requirements.

បន្ទះខាងមុខ៖

  1. ច្រក RS232: ប្រើដើម្បីភ្ជាប់ឧបករណ៍ត្រួតពិនិត្យភាគីទីបី។
  2. Green UART indicators: Check the communication status of UART port.
  3. សូចនាករថាមពលពណ៌ក្រហម៖ បង្ហាញពីស្ថានភាពថាមពលរបស់ឧបករណ៍។
  4. Green system status indicator: Shows system read/write operations status.
  5. លទ្ធផលអូឌីយ៉ូ (HPO): លទ្ធផលអូឌីយ៉ូស្តេរ៉េអូ។
  6. ការបញ្ចូលសំឡេង (LINE IN): គាំទ្រការបញ្ចូលអូឌីយ៉ូស្តេរ៉េអូ។
  7. RS-485 port: Used to connect third-party control equipment.
  8. ច្រក USB 2.0៖ គាំទ្រអត្រាបញ្ជូនរហូតដល់ 480Mbps ។

សៀវភៅណែនាំផ្នែករឹង

  • ជំពូកនេះណែនាំអំពីផលិតផលviewកម្មវិធី CODESYS កម្មវិធីបណ្តាញ បញ្ជីវេចខ្ចប់ រូបរាង ប៊ូតុង សូចនាករ និងចំណុចប្រទាក់។

ជាងview

  • The ED-PAC3020 is a real-time CODESYS programmable automation controller, pre-installed by default with a multi-core CODESYS runtime. Depending on the application scenario and user requirements, it offers programmable logic system configurations with either 2GB DDR + 128GB SSD or 8GB DDR + 256GB SSD.

ព្រមាន

  • The ED-PAC3020 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.
  • ED-PAC3020 ផ្តល់នូវចំណុចប្រទាក់ដែលប្រើជាទូទៅដូចជា HDMI, USB, Ethernet, RS232 និង RS485 រួមបញ្ចូល RTC ហើយត្រូវបានប្រើជាចម្បងនៅក្នុងផ្នែកគ្រប់គ្រងឧស្សាហកម្ម និង IoT ។
  • The ED-PAC3020 supports connection to remote EtherCAT-based I/O modules (e.g., couplers, DI, DO, AI, AO) via an EtherCAT network.
  • The device integrates the CODESYS Control Runtime System, supporting IEC 61131-3 programming standards and industrial communication protocols like EtherCAT and Modbus TCP.

Users can optionally enable additional functionalities by licensing features such as:

  • TargetVisu
  • WebVisu Softmotion
  • CNC + Robotics
  • អនុបណ្ឌិត EtherCAT
  • Modbus TCP Master
  • ម៉ាស៊ីនមេ OPC UAED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-1

ការកំណត់រចនាសម្ព័ន្ធផ្ទាល់ខ្លួនអាចរកបានដើម្បីបំពេញតាមតម្រូវការកម្មវិធីជាក់លាក់។

Introduction to CODESYS Software

  • CODESYS (Controller Development System) is an open industrial automation software development platform that provides a full-stack solution for programming, debugging, and maintaining programmable logic controllers (PLCs), industrial PCs (IPCs), and embedded control systems.
  • Compliant with the IEC 61131-3 international standard, it supports complex logic control, multi-axis motion control, industrial communication protocol integration, and real-time data processing.
  • It is widely used in smart manufacturing, energy management, logistics automation, and other industrial fields.

លក្ខណៈសំខាន់ៗនៃ CODESYS៖

  • Standardized Programming Language Support
    • Full compatibility with the IEC 61131-3 programming languages:
      • ដ្យាក្រាមជណ្តើរ (LD)
      • ដ្យាក្រាមប្លុកមុខងារ (FBD)
      • អត្ថបទដែលមានរចនាសម្ព័ន្ធ (ST)
      • បញ្ជីការណែនាំ (IL)
      • តារាងមុខងារបន្តបន្ទាប់ (SFC)
    • Supports Object-Oriented Programming (OOP) extensions for large-scale complex projects.
  • Cross-Platform Development & Deployment
    • Development Environment: Compatible with Windows and Linux operating systems, offering a unified engineering interface.
    • Target Systems: Deployable on 2,000+ industrial controller hardware platforms, including ARM/X86 architectures.
  • Modular Engineering Libraries
    • Prebuilt Libraries: Include industrial protocol stacks (Modbus/TCP, OPC UA, EtherCAT) and advanced control modules (PID control, CNC interpolation algorithms).
    • Custom Libraries: Support encapsulation and reuse of Function Blocks and POUs (Program Organization Units).
  • Visual Debugging & Diagnostic Tools
    •  Real-time monitoring of variables, I/O mapping, and task execution status with waveform analysis.
    • Advanced debugging tools: breakpoints, step-by-step execution, and cross-referencing for rapid fault diagnosis.
    • Integrated HMI development tools for seamless SCADA system integration.
  • ED-PAC3020 គាំទ្រ CODESYS V3.5 SP19 និងកំណែក្រោយៗទៀត។

កម្មវិធីបណ្តាញ

  • The ED-PAC3020 features EtherCAT, Ethernet, RS-485 and RS-232 interfaces, enabling multi-layer network communication to meet diverse application requirements across various scenarios. A typical application topology is illustrated in the figure below:ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-2

បញ្ជីវេចខ្ចប់

  • 1 x ED-PAC3020 Unit
  • 4 x Pads

រូបរាង

  • Introducing the functions and definitions of the interfaces on each panel.

បន្ទះខាងមុខ

ការណែនាំប្រភេទចំណុចប្រទាក់បន្ទះខាងមុខ និងនិយមន័យ។ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-3

ទេ មុខងារ និយមន័យ
  1 x RS232 port, 3-Pin 3.5mm pitch phoenix terminal, which is used to connect the third-party control

ឧបករណ៍។

2 សូចនាករ UART ពណ៌បៃតង 2 x ដែលត្រូវបានប្រើដើម្បីពិនិត្យមើលស្ថានភាពទំនាក់ទំនងនៃច្រក UART ។
3 សូចនាករថាមពលពណ៌ក្រហម 1 x ដែលត្រូវបានប្រើដើម្បីពិនិត្យមើលស្ថានភាពនៃការបើក និងបិទថាមពលរបស់ឧបករណ៍។
4 1 x សូចនាករស្ថានភាពប្រព័ន្ធពណ៌បៃតង ដែលត្រូវបានប្រើដើម្បី view ស្ថានភាពនៃប្រតិបត្តិការអាន/សរសេរប្រព័ន្ធ។
5 1 x Audio Output (HPO) ឧបករណ៍ភ្ជាប់អូឌីយ៉ូ 3.5mm (ពណ៌បៃតង) ទិន្នផលអូឌីយ៉ូស្តេរ៉េអូ។
6 1 x Audio Input (LINE IN) ឧបករណ៍ភ្ជាប់អូឌីយ៉ូ 3.5mm (ពណ៌ក្រហម) គាំទ្រការបញ្ចូលអូឌីយ៉ូស្តេរ៉េអូ។
 

7

1 x RS485 port, 3-Pin 3.5mm pitch phoenix terminal ដែលត្រូវបានប្រើដើម្បីភ្ជាប់ឧបករណ៍បញ្ជាភាគីទីបី។
8 ច្រក USB 2.0 ចំនួន 2 x ឧបករណ៍ភ្ជាប់ Type-A ឆានែលនីមួយៗគាំទ្រអត្រាបញ្ជូនរហូតដល់ 480Mbps ។
9 ច្រក USB 3.0 ចំនួន 2 x ឧបករណ៍ភ្ជាប់ Type-A ឆានែលនីមួយៗគាំទ្រអត្រាបញ្ជូនរហូតដល់ 5Gbps ។
 

10

1 x Ethernet interface (10/100/1000M auto-negotiation), RJ45 connector, EtherCAT communication interface for connecting to EtherCAT networks, with PoE (Power over Ethernet) support.

បន្ទះខាងក្រោយ

  • ការណែនាំប្រភេទចំណុចប្រទាក់បន្ទះខាងក្រោយ និងនិយមន័យ។ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-4
ទេ មុខងារ និយមន័យ
1 ប៊ូតុងថាមពល 1 x ដែលប្រើដើម្បីបើក និងបិទឧបករណ៍។
 

 

2

1 x រន្ធដោតកាត Micro SD បម្រុងទុកសម្រាប់ការប្រើប្រាស់នាពេលអនាគត។

ចំណាំ៖ ឧបករណ៍ចាប់ផ្ដើមពី SSD តាមលំនាំដើម។ រន្ធដោតកាត Micro SD នេះត្រូវបានបម្រុងទុកសម្រាប់សក្តានុពល ការពង្រីក។

បន្ទះចំហៀង

  • ការណែនាំអំពីប្រភេទនៃចំណុចប្រទាក់បន្ទះចំហៀង និងនិយមន័យ។

ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-5

ទេ មុខងារ និយមន័យ
1 1 x DC input, USB Type-C connector ដែលគាំទ្រការបញ្ចូលថាមពល 5V 5A។
2 រន្ធ HDMI 2 x ឧបករណ៍ភ្ជាប់ Micro HDMI ដែលអាចភ្ជាប់អេក្រង់ និងគាំទ្រ 4K 60Hz

ប៊ូតុង

  • The ED-PAC3020 includes a ON/OFF button, and the silkscreen is “ON/OFF”. If you run Raspberry Pi Desktop, you can initiate a clean shutdown by briefly pressing the power button. A menu will appear asking whether you want to shutdown, reboot, or logout.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-6

ជំនួយ

  • ប្រសិនបើអ្នកដំណើរការ Raspberry Pi Desktop អ្នកអាចចុចប៊ូតុងថាមពលពីរដងជាប់ៗគ្នាដើម្បីបិទ។

សូចនាករ

  • ផ្នែកនេះពន្យល់ពីស្ថានភាព និងអត្ថន័យនៃសូចនាករដែលបានបញ្ចូលទៅក្នុងឧបករណ៍ ED-PAC3020។
​Indicator ស្ថានភាព ការពិពណ៌នា
 

 

 

PWR

On ឧបករណ៍ត្រូវបានបើក។
 

ព្រិចភ្នែក

ការផ្គត់ផ្គង់ថាមពលរបស់ឧបករណ៍គឺខុសប្រក្រតី សូមបញ្ឈប់ការផ្គត់ផ្គង់ថាមពលជាបន្ទាន់។
បិទ ឧបករណ៍មិនត្រូវបានបើកទេ។
 

ACT

 

ព្រិចភ្នែក

The system started successfully and is reading and writing data.
​Indicator ស្ថានភាព ការពិពណ៌នា
   

បិទ

The device is not powered on or does not read and write data.
COM1~COM2 បើក/ព្រិចភ្នែក ទិន្នន័យកំពុងត្រូវបានបញ្ជូន
 

បិទ

The device is not powered on or there is no data transmission.
Yellow indicator of Ethernet port On ការតភ្ជាប់អ៊ីសឺរណិតស្ថិតក្នុងស្ថានភាពធម្មតា។
ព្រិចភ្នែក The Ethernet connection is abnormal.
បិទ ការតភ្ជាប់អ៊ីសឺរណិតមិនត្រូវបានតំឡើងទេ។
Green indicator of Ethernet port On ការតភ្ជាប់អ៊ីសឺរណិតស្ថិតក្នុងស្ថានភាពធម្មតា។
ព្រិចភ្នែក ទិន្នន័យកំពុងត្រូវបានបញ្ជូនតាមច្រកអ៊ីសឺរណិត។
បិទ ការតភ្ជាប់អ៊ីសឺរណិតមិនត្រូវបានតំឡើងទេ។

ជំនួយ

  • មុខងារនៃសូចនាករ PWR/ACT នៅលើ Raspberry Pi 5 ត្រូវបានផ្ទេរទៅសូចនាករ PWR និង ACT ដាច់ដោយឡែកតាមលំនាំដើម ដូច្នេះសូចនាករ PWR/ACT នៅតែបើកបន្ទាប់ពីឧបករណ៍ត្រូវបានបើក។

ចំណុចប្រទាក់

  • ការណែនាំអំពីនិយមន័យ និងមុខងារនៃចំណុចប្រទាក់នីមួយៗនៅក្នុងផលិតផល។

អន្តរកម្មថាមពល

  • ឧបករណ៍ ED-PAC3020 រួមបញ្ចូលចំណុចប្រទាក់បញ្ចូលថាមពលមួយ ដែលប្រើប្រាស់ឧបករណ៍ភ្ជាប់ USB Type-C ដែលមានស្លាក "PWR IN" និងគាំទ្រការបញ្ចូលថាមពល 5V 5A ។

ជំនួយ

  • ដើម្បីឱ្យ Raspberry Pi 5 ទទួលបានដំណើរការកាន់តែប្រសើរ វាត្រូវបានណែនាំឱ្យប្រើអាដាប់ទ័រថាមពល 5V 5A។
  • 1.8.2 1000M Ethernet Interface (EtherCAT)
  • The ED-PAC3020 device includes one auto-negotiating 10/100/1000M Ethernet interface with an RJ45 connector featuring status LEDs, labeled as ” ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-7“. This interface serves as an EtherCAT communication port for connecting to EtherCAT networks and supports PoE (Power over Ethernet) power delivery.

ចំណុចប្រទាក់ HDMI

  • ឧបករណ៍ ED-PAC3020 រួមមានចំណុចប្រទាក់ HDMI ចំនួន 2 ដោយប្រើឧបករណ៍ភ្ជាប់ Micro HDMI ដែលមានស្លាក "HDMI" សម្រាប់ភ្ជាប់អេក្រង់ HDMI ។ ចំណុចប្រទាក់ទាំងនេះគាំទ្រលទ្ធផលវីដេអូរហូតដល់ 4Kp60 ។

ជំនួយ

  • Some third-party Micro HDMI cables may have shorter Micro HDMI connectors, which could cause connection issues. It is recommended to use the official Raspberry Pi Micro HDMI to Standard HDMI cable for optimal compatibility.

ចំណុចប្រទាក់ USB 2.0

  • The ED-PAC3020 device includes 2 USB 2.0 interfaces with standard Type-A connectors, labeled as “ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-8“. These interfaces support connecting standard USB 2.0 peripherals and offer a maximum transfer rate of 480Mbps.

ចំណុចប្រទាក់ USB 3.0

  • The ED-PAC3020 device includes 2 USB 3.0 interfaces with standard Type-A connectors, labeled as “ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-9 “. These interfaces support connecting standard USB 3.0 peripherals and offer a maximum transfer rate of 5Gbps.

ចំណុចប្រទាក់ RS232

  • The ED-PAC3020 device includes 1 RS232 interface with a 3-Pin 3.5mm pitch Phoenix terminal, labeled “TX/RX/GND”.

ពិនន័យ

  • ម្ជុលស្ថានីយត្រូវបានកំណត់ដូចខាងក្រោម:
ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-10

 

ម្ជុល ​ID ឈ្មោះពិន
1 TX
2 RX
3 GND

ចំណុចប្រទាក់ RS232 ត្រូវគ្នាទៅនឹងឈ្មោះម្ជុលខាងក្រោមនៅលើ Pi5៖

សញ្ញា Pi5 GP​IO Name Pi5 Pin ចេញ
TX GPIO ១ UART3_TXD
RX GPIO ១ UART3_RXD

គ្រោងការណ៍ខ្សែភ្លើង RS232 មានដូចខាងក្រោម៖ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-11

ចំណុចប្រទាក់ RS485

  • The ED-PAC3020 device includes 1 RS485 interface with a 3-Pin 3.5mm pitch Phoenix terminal, labeled “A/B/GND”.

ពិនន័យ

  • ម្ជុលស្ថានីយត្រូវបានកំណត់ដូចខាងក្រោម:
ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-12

 

ម្ជុល ​ID ឈ្មោះពិន
1 A
2 B
3 GND

ចំណុចប្រទាក់ RS485 ត្រូវគ្នាទៅនឹងឈ្មោះម្ជុលខាងក្រោមនៅលើ Pi5៖

សញ្ញា Pi5 GP​IO Name Pi5 Pin ចេញ
A GPIO ១ UART5_TXD
B GPIO ១ UART5_RXD

ការភ្ជាប់ខ្សែ

  • គ្រោងការណ៍ខ្សែភ្លើង RS485 មានដូចខាងក្រោម៖ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-13

RS485 ការបញ្ចប់ការកំណត់រចនាសម្ព័ន្ធ Resistor

  • The ED-PAC3020 device includes 1 RS485 interface.
  • A 120Ω termination resistor is reserved between the A and B lines of the RS485 circuit. Inserting a jumper cap enables this termination resistor.
  • By default, no jumper is installed, rendering the 120Ω termination resistor inactive. The termination resistor is located at J7 on the PCBA (printed circuit board assembly).

ជំនួយ

  • The device case must be opened to inspect the 120Ω termination resistor.

ការបញ្ចូលសំឡេង

  • ឧបករណ៍ ED-PAC3020 រួមមាន 1 ចំណុចប្រទាក់បញ្ចូលអូឌីយ៉ូ (LINE IN) រន្ធដោតអូឌីយ៉ូ 3.5mm ពណ៌ក្រហម ដែលមានស្លាកថា “ “ ដែលគាំទ្រការបញ្ចូលស្តេរ៉េអូ។

លទ្ធផលអូឌីយ៉ូ

  • The ED-PAC3020 device includes 1 audio output interface (HPO), a green 3.5mm audio jack, labeled as ” ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-14“, which supports stereo output.

ការដំឡើងឧបករណ៍

  • ឧបករណ៍ ED-PAC3020 ត្រូវបានរចនាឡើងសម្រាប់ការដាក់ផ្ទៃតុតាមលំនាំដើម និងគាំទ្រការភ្ជាប់ជញ្ជាំងជាមួយនឹងតង្កៀបជញ្ជាំង ED-ACCBKT-L3020 ស្រេចចិត្តពីក្រុមហ៊ុនរបស់យើង។

ជំនួយ

  • The ED-PAC3020 packaging box does not include the ED-ACCBKT-L3020 by default. Users must purchase it separately.

ការរៀបចំ៖

  • Prepared a Phillips-head screwdriver.
  • Obtained the ED-ACCBKT-L3020 wall-mount bracket.

ជំហាន៖

  1. Use a Phillips screwdriver to unscrew the four M2.5 screws on the side of the ED-IPC3020 counterclockwise.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-15
  2. Align the left and right brackets of the ED-ACCBKT-L3020 with the screw holes on both sides of the ED-PAC3020, insert the four M2.5*6 screws, and tighten them clockwise with a Phillips screwdriver to secure the ED-ACCBKT-L3020 to the sides of the ED-PAC3020.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-16
  3. Based on the spacing and diameter of the wall-mounting screw holes of the ED-ACCBKT-L3020 left and right brackets (refer to the diagram below), drill holes in the wall accordingly, then proceed with wall-mounted installation of the device.
    ឯកតា៖ ម។
  4. Tolerance: 0.5-6±0.05, 6-30±0.1, 30-120±0.15

វិមាត្រ

ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-17

ការចាប់ផ្ដើមឧបករណ៍

  • ជំពូកនេះរៀបរាប់លម្អិតអំពីនីតិវិធីជាក់លាក់សម្រាប់ការភ្ជាប់ខ្សែ និងការបើកថាមពលនៅលើឧបករណ៍។

ការភ្ជាប់ខ្សែ

  • This section describes the procedures for connecting cables to the device.

ការរៀបចំ៖

  • Obtained fully functional accessories such as a switch, monitor, mouse, keyboard, I/O expansion module, and power adapter.
  • Available functional network connection.
  • Available functional cables: HDMI cable and Ethernet cable.

ដ្យាក្រាមគ្រោងការណ៍នៃខ្សែតភ្ជាប់៖

  • សូមមើល 1.8 ចំណុចប្រទាក់ សម្រាប់និយមន័យម្ជុលនៃចំណុចប្រទាក់នីមួយៗ និងវិធីសាស្ត្រជាក់លាក់នៃការតភ្ជាប់។

ជំនួយ

  • Some third-party Micro HDMI cables may have shorter Micro HDMI connectors, which could cause connection issues. It is recommended to use the official Raspberry Pi Micro HDMI to Standard HDMI cable for optimal compatibility.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-18

Booting The System For The First Time

  • Once the ED-PAC3020 is connected to power, the system will begin to boot up.
  • Red PWR indicator: Lights up to indicate the device is receiving power.
  • Green ACT indicator: Blinks to signal normal system startup. The Raspberry Pi logo will then appear in the upper-left corner of the screen.

ជំនួយ

  • The default username is pi, the default password is raspberry.

Raspberry Pi OS (Desktop)

  • ប្រសិនបើឧបករណ៍ត្រូវបានដំឡើងដោយរោងចក្រជាមួយ Desktop OS វានឹងចាប់ផ្ដើមដោយផ្ទាល់ទៅក្នុងផ្ទៃតុនៅពេលចាប់ផ្ដើម ដូចបង្ហាញក្នុងរូបភាពខាងក្រោម។ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-20

Raspberry Pi OS (Lite)

  • ប្រសិនបើឧបករណ៍ត្រូវបានដំឡើងដោយរោងចក្រជាមួយ Lite OS វានឹងចូលដោយស្វ័យប្រវត្តិដោយប្រើព័ត៌មានសម្គាល់លំនាំដើមបន្ទាប់ពីការចាប់ផ្តើម។ រូបខាងក្រោមបង្ហាញថាប្រព័ន្ធបានចាប់ផ្ដើមដោយជោគជ័យ។ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-21.

CODESYS Programming

  • ជំពូកនេះរៀបរាប់លម្អិតអំពីប្រតិបត្តិការជាក់លាក់ដែលពាក់ព័ន្ធនឹងការប្រើប្រាស់ CODESYS ។

ព្រមាន

  • The ED-PAC3020 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.
  • CODESYS Software Download and Installation

ជំនួយ

  • The installed CODESYS IDE version must be 3.5.19 or higher, and the PC operating system must be Windows 10 or Windows 11 (64-bit recommended).
  • Download the installation package from the official CODESYS webគេហទំព័រ។ ការទាញយក URL is https://store.codesys.com/de/ (https://store.codesys.com/de/).
  • ជំនួយ
  • When downloading from the CODESYS official webគេហទំព័រជាលើកដំបូង អ្នកត្រូវតែចុះឈ្មោះ និងចូលគណនីរបស់អ្នក។
  • Right-click the downloaded installer and select “Run as administrator” from the context menu. Click “Install” in the opened installation interface, and keep the default configuration during the installation process.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-22
  • After the installation is complete, click “Finish” to close the installation interface.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-23

Obtaining and Installing Device Description File

  • មុនពេលភ្ជាប់ទៅឧបករណ៍តាមរយៈ CODESYS អ្នកត្រូវទាញយក និងដំឡើងការពិពណ៌នាឧបករណ៍ file ដំបូង។

Obtaining Device Description File

ជំនួយ

  • The device’s default Ethernet port IP address is 192.168.0.100. To modify it, refer to Configuring Ethernet IP.

ការរៀបចំ៖

  • A CODESYS-authorized ED-PAC3020 is available.
  • A functional Ethernet cable is available.
  • A Windows PC is prepared, with its IP address configured to the same subnet as the device. For exampដូច្នេះ ប្រសិនបើ IP របស់ឧបករណ៍ (1000M Ethernet port) គឺ 192.168.0.100 សូមកំណត់ IP របស់ PC ទៅ 192.168.0.99 ។

ជំហាន៖

  1. Connect the device’s 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 កម្មវិធីរុករកដើម្បីចូលប្រើចំណុចប្រទាក់ "ការកំណត់ PLC" ។
  3. In the “Device Info” section, click the “[Download] Device Description File” button to download the corresponding “.xml” format device description file.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-24

ជំនួយ

  • Also available directly in the document ED-PAC3020 Device File (https://vip.123pan.cn/ 1826505135/17964309) .

Installing Device Description File

ការរៀបចំ៖

  • A PC installed with CODESYS software version V3.5 SP19 (64-bit).
  • An ED-PAC3020 device with a valid CODESYS license and its corresponding device description file.
  • Connect both the PC and ED-PAC3020 to the network, ensuring their IP addresses are within the same subnet.

ជំហាន៖

  • Double-click the CODESYS icon on the PC desktop to open the CODESYS software. From the menu bar, select “Tools” → “Device Repository”.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-25
  • In the opened “Device Repository” pane, click “Install”.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-26
  • In the pop-up “Install Device Description” pane, select the device description file ដើម្បីដំឡើងរួចចុច "បើក" ដើម្បីបន្តការដំឡើង។
  • After successful installation, you can verify in the “Device Repository” that the device description file ត្រូវបានបន្ថែមដោយជោគជ័យ។ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-27

Installing Remote I/O Device Description File

ការរៀបចំ៖

  • A PC installed with CODESYS software version V3.5 SP19 (64-bit).
  • An ED-PAC3020 device with a valid CODESYS license.
  • The remote I/O device description files ត្រូវបានទាញយកពី៖ ការពិពណ៌នា I/O ពីចម្ងាយ Files (https://vip.123pan.cn/1826505135/16632390).
  • Connect the PC, ED-PAC3020, and remote I/O devices to the same switch. Ensure that the IP addresses of the PC, ED-PAC3020, and remote I/O devices are within the same subnet.

ជំហាន៖

  1. Double-click the CODESYS icon on the PC desktop to open the CODESYS software. From the menu bar, select “Tools” → “Device Repository”.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-28
  2. In the opened “Device Repository” pane, click “Install”.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-29
  3. In the pop-up “Install Device Description” pane, select the I/O device decirption file ដើម្បីដំឡើងរួចចុច "បើក" ដើម្បីបន្តការដំឡើង។
  4. After successful installation, you can verify in the “Device Repository” that the I/O device description file ត្រូវបានបន្ថែមដោយជោគជ័យ។ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-30

ការកំណត់រចនាសម្ព័ន្ធផ្នែករឹង

ការរៀបចំ៖

  • A PC installed with CODESYS software version V3.5 SP19 (64-bit).
    • ការពិពណ៌នាឧបករណ៍ files និងការពិពណ៌នាឧបករណ៍ I/O ពីចម្ងាយ files have been installed. Connect the PC, ED-PAC3020, and remote I/O devices to the same switch. Ensure that the IP addresses of the PC, ED-PAC3020, and remote I/O devices are within the same subnet.

Create a New Project and Connect to the Device

ជំហាន៖

  • Power on the ED-PAC3020 and the remote I/O modules. Open the CODESYS software on the PC, select “File” → “New Project” in the menu bar to open the “New Project” pane, and create a standard project.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-31
  • Select the installed device description file ហើយចុច "យល់ព្រម" ។ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-32
  • Double-click the device, select “Scan Network” on the right, then choose the detected device from the scan results, and click “OK” to confirm.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-33

ជំនួយ

  • If the device cannot be detected during scanning, manually enter the IP address in the target device settings to connect.
  • If a device login prompt appears, log in with your credentials (username and password) or follow the instructions to register a new account.\

As shown in the figure below, this indicates the device is successfully connected.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-34

Adding Remote I/O Modules

ជំហាន៖

  1. Right-click “Device” and select “Add Device” in the menu to add the EtherCAT Master.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-35
  2. Double-click on the EtherCAT Master device to set the source address (Select the EtherCAT port, which corresponds to the device’s eth0 port).ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-36
  3. ចុចលើ ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-38 button to log in to the device. A successful login is shown in the figure below.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-37
  4. Click on the EtherCAT Master device, select “Scan for Devices” in the right-click menu, and copy all devices to the project after scanning is completed.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-39
  5. ចុចលើ ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-40button to log out of the device.
  6. Double-click the slave device, configure the relevant parameters in the right-hand interface, enable “Expert settings”, select “Enable” under Select DC section, and select “Enable Sync0”.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-41
  7. ចុចលើ ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-38 button to download the program to the device, then click the  button to run it. As ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-60shown in the figure below, this indicates a successful operation.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-42

ការសរសេរកម្មវិធី

  • ខាងក្រោមនេះ example បង្ហាញការសរសេរកម្មវិធីជាក់ស្តែងដោយប្រើសេណារីយ៉ូសរសេរកូដជាក់លាក់មួយ។

ដំណើរការសរសេរកម្មវិធី

ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-43

ការសរសេរកម្មវិធីឧample

  • Complete the development and debugging of a program for a timed blinking LED using a PNP-type 8-channel digital output (DO) module.

ការរៀបចំ៖

  • A standard project has been created.
  • Hardware configuration has been completed.
  • A 24V compact LED lamp has been connected to the first output port of the remote DO (Digital Output) module.

ជំហាន

  • Double-click the DO module, select “Module I/O Mapping” → “Output” in the right-hand interface, and view អាសយដ្ឋាននៃច្រកលទ្ធផលទាំងអស់។ ដូចដែលបានបង្ហាញខាងក្រោម អាសយដ្ឋានច្រកចេញដំបូងគឺ %QX18.0 ។ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-44
  • Write the program code as follows:ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-46 ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-47 ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-48
  • After completing the program, click ” ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-61” to compile it and ensure there are no errors.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-49
  • Click Login to download the program to the device, then click Run to observe the LED blinking every 0.5 seconds.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-50

ប្រតិបត្តិការ និងថែទាំ

  • បន្ទាប់ពីទាញយកកម្មវិធីទៅឧបករណ៍ អ្នកអាចអនុវត្តប្រតិបត្តិការ រត់ និងបញ្ឈប់។
ស្ថានភាព ប្រតិបត្តិការ
ដំណើរការកម្មវិធី In the main menu of the software interface, click the Login  button.
កម្មវិធីបញ្ឈប់ In the main menu of the software interface, click the stop  button.

ការកំណត់រចនាសម្ព័ន្ធ

  • ជំពូកនេះណែនាំពីរបៀបកំណត់រចនាសម្ព័ន្ធប្រព័ន្ធ។

ព្រមាន

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.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-52
  • 5.8.2 ការកំណត់រចនាសម្ព័ន្ធ RS232
    ED-PAC3020 មានចំណុចប្រទាក់ RS232 1 និងច្រក COM និងឧបករណ៍ដែលត្រូវគ្នារបស់វា។ files ត្រូវបានរាយក្នុងតារាងខាងក្រោម៖
លេខ of RS485 ច្រក ដែលត្រូវគ្នា។ COM ច្រក ដែលត្រូវគ្នា។ ឧបករណ៍ File
1 COM2 /dev/com2
  • Input commands as needed to control external device.

Configuring RS485

  • The ED-PAC3020 contains 1 RS-485 interface, and its corresponding COM port and device files ត្រូវបានរាយក្នុងតារាងខាងក្រោម៖
លេខ of RS485 ច្រក ដែលត្រូវគ្នា។ COM ច្រក ដែលត្រូវគ្នា។ ឧបករណ៍ File
1 COM2 /dev/com2

ការរៀបចំ៖

The RS485 ports of ED-PAC3020 has been connected with external device. Steps:

  1. Execute the following command to open the serial port com2, and configure the serial port baud rate to 115200.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-53
  2. Input commands as needed to control external device.

កំណត់រចនាសម្ព័ន្ធអូឌីយ៉ូ

  • កំណត់រចនាសម្ព័ន្ធអូឌីយ៉ូ
  • CODESYS License Management
  • ឧបករណ៍ ED-PAC3020 ត្រូវបានដំឡើងជាមុនជាមួយនឹងអាជ្ញាប័ណ្ណ CODESYS តាមលំនាំដើម។ អ្នកអាចបម្រុងទុក និងស្ដារអាជ្ញាប័ណ្ណដោយចូលទៅកាន់ចំណុចប្រទាក់ "ការកំណត់ PLC" ។

License Backup
ការរៀបចំ៖

  • A Windows PC has been set up with an IP address in the same subnet as the device. For exampដូច្នេះ ប្រសិនបើ IP របស់ឧបករណ៍ (1000M Ethernet port) គឺ 192.168.0.100 សូមកំណត់ IP របស់ PC ទៅ 192.168.0.99 ។
  • A functioning Ethernet cable has been prepared.

ជំហាន៖

  • Connect the device’s 1000M Ethernet port to the PC via an Ethernet cable, then power on the device.
  • Enter http://192.168.0.100:8100 in the PC’s web កម្មវិធីរុករកដើម្បីចូលប្រើចំណុចប្រទាក់ "ការកំណត់ PLC" ។
  • In the “Codesys License Management” interface, click “Backup License” to download the license file ហើយរក្សាទុកវាក្នុងមូលដ្ឋាន។ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-56

ជំនួយ

  • The backed-up license file អាចត្រូវបានស្ដារឡើងវិញនៅលើឧបករណ៍តែមួយប៉ុណ្ណោះ។

License Restore

ការរៀបចំ៖

  • A Windows PC has been set up with an IP address in the same subnet as the device. For exampដូច្នេះ ប្រសិនបើ IP របស់ឧបករណ៍ (1000M Ethernet port) គឺ 192.168.0.100 សូមកំណត់ IP របស់ PC ទៅ 192.168.0.99 ។
  • A functioning Ethernet cable has been prepared.
  • The backed-up license file ត្រូវបានទទួល។

ជំហាន

  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 កម្មវិធីរុករកដើម្បីចូលប្រើចំណុចប្រទាក់ "ការកំណត់ PLC" ។
  3. In the “Codesys License Management” interface, click “Restore License”.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-57
  4. As prompted, select the obtained license file under a custom path.
  5. After a successful License Restore, a 100% progress bar will be displayed in the right-hand panel.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-58
  6. Open the device’s terminal command pane, execute the following command, and restart the device.ED-PAC3020-EDATEC-Industrial-Automation-and-Controls-User-FIG-59

សំណួរដែលសួរញឹកញាប់

សំណួរ៖ តើខ្ញុំអាចដំឡើងប្រព័ន្ធប្រតិបត្តិការឡើងវិញនៅលើ ED-PAC3020 បានទេ?

A: Reinstalling the operating system will invalidate the CODESYS license that comes pre-installed by default. It is advised not to attempt installing the OS on your own.

សំណួរ៖ តើស្តង់ដារកម្មវិធីអ្វីខ្លះដែលត្រូវបានគាំទ្រដោយ ED-PAC3020?

A: The device supports IEC 61131-3 programming standards and industrial communication protocols like EtherCAT and Modbus TCP.

ឯកសារ/ធនធាន

EDA ED-PAC3020 EDATEC ស្វ័យប្រវត្តិកម្មឧស្សាហកម្ម និងការគ្រប់គ្រង [pdf] សៀវភៅណែនាំអ្នកប្រើប្រាស់
ED-PAC3020 EDATEC ស្វ័យប្រវត្តិកម្ម និងការគ្រប់គ្រងឧស្សាហកម្ម, ED-PAC3020, ស្វ័យប្រវត្តិកម្ម និងការត្រួតពិនិត្យឧស្សាហកម្ម EDATEC, ស្វ័យប្រវត្តិកម្ម និងការគ្រប់គ្រងឧស្សាហកម្ម, ស្វ័យប្រវត្តិកម្ម និងការត្រួតពិនិត្យ

ឯកសារយោង

ទុកមតិយោបល់

អាសយដ្ឋានអ៊ីមែលរបស់អ្នកនឹងមិនត្រូវបានផ្សព្វផ្សាយទេ។ វាលដែលត្រូវការត្រូវបានសម្គាល់ *