SPRADH0
August 2024
AM625
,
AM6442
,
AM69
,
TDA4VM
1
Abstract
Trademarks
1
Introduction
1.1
What is EtherCAT?
1.2
What is a PLC?
1.3
What is CODESYS?
2
Evaluation Platform and Methods
2.1
Hardware
2.2
Software
2.3
Test Topology
3
Performance Metrics
3.1
Cyclictest Performance Metrics
3.2
EtherCAT Performance Metrics
4
Optimizations
4.1
Implemented Optimizations
4.2
Future Considerations
4.2.1
Set Maximum CPU Frequency
4.2.2
Isolate Cores
4.2.3
Set CPU Affinity
4.2.4
Isolate Cores and Set CPU Affinity
4.2.5
Ksoftirqs to FIFO
4.2.6
Increase the Real-Time Scheduling Time
4.2.7
Disable irqbalance
4.2.8
Use Separate Network Interface Card (NIC)
4.2.9
Disable Unnecessary Drivers
5
Summary
6
References
7
Appendix A: How to Setup TI Embedded Processors as EtherCAT Controller Using the CODESYS Stack
7.1
Hardware Requirements
7.2
Software Requirements
7.3
Hardware Setup
7.4
Software Setup
7.4.1
Windows PC Setup
7.4.2
EtherCAT Controller Setup
7.4.3
CODESYS Development System Project
7.4.4
Execution
7.5
How to View Performance Measurements
7.5.1
Appendix A Resources
8
Appendix B: How to Enable Unlimited Runtime on CODESYS Stack
8.1
CODESYS Licensing Background
8.2
Obtaining a CODESYS License
8.3
Activating CODESYS License
8.3.1
Background
8.3.2
Recommended Steps
8.4
Verifying CODESYS License Applied
8.4.1
Known Issues With Verifying CODESYS License Applied
6
References
Acontis,
EtherCAT Master Stack
, web page
IBV icECAT,
EtherCAT® Master Stack for Embedded Systems
, web page
RealPars,
CODESYS Basics | What is CODESYS and Why is it Important?
, web page
The Linux Foundation,
Cyclictest
, web page
Open Source Automation Development Lab (OSADL) eG,
OSADL QA Farm on Real-time of Mainline Linux
, web page
Open Source Automation Development Lab (OSADL) eG,
Home
, web page
CODESYS,
CODESYS Control Standard S
, web page
Beckhoff,
EtherCAT | System Description | EtherCAT State Machine
, web page
CODESYS,
Optimization for Linux Systems
, web page
CODESYS,
Mapping of Task Priorities on a Linux System
, web page
CODESYS,
CODESYS Task Configuration,
, web page
CODESYS,
Multicore
, web page
Texas Instruments,
How to Tune Real Time Linux- Disable Unnecessary Drivers,
, web page
IBV - Echtzeit,
icECAT EtherCAT Master Stack Benchmark
, document