Choose your language
Codesys Course
More than 2 million students worldwide

Codesys Course

Master CODESYS from installation to production deployment across all five IEC 61131-3 languages. This course covers hardware configuration, motion control, HMI visualization, and industrial communication protocols. You'll finish with the hands-on skills to design, debug, and deliver professional-grade PLC applications.

Dedika for businesses

What you will learn:

You'll start by setting up the CODESYS IDE and understanding the IEC 61131-3 standard, then progress through every major programming language including Ladder Diagram, Structured Text, FBD, and SFC. You'll configure real and simulated hardware, map I/O channels, and integrate fieldbuses like EtherCAT and Modbus. Advanced topics include object-oriented programming, state machine design, PLCopen motion control, and PID tuning. You'll also build operator HMI screens, implement alarm management, and deploy applications to production targets. Supplementary modules cover safety programming, OPC UA, MQTT, cybersecurity hardening, and automated CI testing workflows.

How you study in practice Codesys Course

How you practice Codesys Course

For companies that want to train their team

With Dedika for Business, the course includes exercises and examples tailored to your own business and the way your company needs.

Click here

Course content

8 Chapters • 40 LessonsDuration between 4 and 360 hours (you decide)

Chapter 1See details

Introduction to CODESYS and IEC 61131-3

  • Lesson 1 • Overview of Industrial Automation and PLCs

    Covers the role of PLCs in industrial control systems and how CODESYS fits the automation landscape. Provides context for all subsequent programming work.

  • Lesson 2 • Creating Your First CODESYS Project

    Walks through new project creation, device selection, and basic application structure. Connects IDE navigation skills to a concrete, runnable project.

  • Lesson 3 • IEC 61131-3 Standard Essentials

    Introduces the five programming languages and common elements defined by IEC 61131-3. Grounds students in the standard that governs all CODESYS code.

  • Lesson 4 • Installing and Configuring CODESYS

    Guides installation of the CODESYS development system and initial environment setup. Students leave with a functional IDE ready for project creation.

  • Lesson 5 • Simulation and Online Debugging Basics

    Introduces the CODESYS simulation mode and online connection for live variable monitoring. Students verify their first project runs correctly without physical hardware.

Chapter 2See details

Data Types, Variables, and Project Structure

  • Lesson 1 • Arrays, Structures, and Enumerations

    Introduces composite data types for grouping related values efficiently. Students apply these types to model real-world data in later chapters.

  • Lesson 2 • Program Organization Units in Depth

    Differentiates PROGRAM, FUNCTION, and FUNCTION_BLOCK and explains when to use each. Correct POu selection shapes the entire project architecture.

  • Lesson 3 • Elementary and Derived Data Types

    Covers BOOL, integer, real, string, time, and date types plus user-defined derived types. Correct type selection prevents runtime errors throughout the course.

  • Lesson 4 • Task Configuration and Execution Model

    Covers cyclic, freewheeling, and event tasks and their priority settings. Students configure a multi-task application that executes predictably.

  • Lesson 5 • Variable Scopes and Declarations

    Explains VAR, VAR_INPUT, VAR_OUTPUT, VAR_IN_OUT, VAR_GLOBAL, and RETAIN scopes. Proper scoping is essential for modular, reusable program units.

Chapter 3See details

Ladder Diagram and Structured Text Programming

  • Lesson 1 • Mixing LD and ST in One Project

    Demonstrates calling ST function blocks from LD rungs and vice versa. Students choose the best language for each part of a project.

  • Lesson 2 • Structured Text Syntax and Operators

    Teaches ST assignment, arithmetic, comparison, and logical operators with correct precedence. Students write readable, syntactically correct ST code.

  • Lesson 3 • Ladder Diagram Fundamentals

    Covers contacts, coils, rungs, and power flow in LD. Students translate relay logic schematics into functional CODESYS ladder programs.

  • Lesson 4 • Timers and Counters in Ladder Diagram

    Introduces standard TON, TOF, TP timer blocks and CTU, CTD, CTUD counter blocks within LD. These building blocks appear in nearly every industrial program.

  • Lesson 5 • Control Flow in Structured Text

    Covers IF-THEN-ELSIF-ELSE, CASE, FOR, WHILE, REPEAT, and EXIT statements. Students implement decision logic and loops for process automation scenarios.

Chapter 4See details

Function Block Diagram and Sequential Function Chart

  • Lesson 1 • Combining FBD and SFC in Applications

    Shows how FBD data processing feeds SFC transition conditions in a unified application. Students integrate both languages into a cohesive project.

  • Lesson 2 • Standard Function Blocks in FBD

    Applies timers, counters, math, and comparison blocks within FBD networks. Reinforces block reuse principles introduced in the previous chapter.

  • Lesson 3 • Function Block Diagram Concepts

    Explains FBD networks, block connections, and signal flow direction. Students build data-processing pipelines using standard and custom function blocks.

  • Lesson 4 • Designing Multi-Step Sequences with SFC

    Guides design of a complete pick-and-place or conveyor sequence using SFC. Students apply step-by-step decomposition to real automation problems.

  • Lesson 5 • Sequential Function Chart Structure

    Introduces SFC steps, transitions, actions, and divergence/convergence constructs. SFC models sequential machine behavior more clearly than flat ladder logic.

Chapter 5See details

Hardware Configuration and I/O Mapping

  • Lesson 1 • Variable Mapping and Symbol Configuration

    Maps I/O channel addresses to program variables using the I/O mapping editor. Correct mapping ensures variables reflect real-world signal states.

  • Lesson 2 • Online Device Diagnostics

    Uses CODESYS online tools to monitor device status, read diagnostic buffers, and identify hardware faults. Students resolve common I/O and network errors.

  • Lesson 3 • I/O Module Configuration

    Explains adding I/O modules to the device tree, setting module parameters, and assigning addresses. Students configure digital and analog I/O for a sample machine.

  • Lesson 4 • Device Repository and Target Setup

    Covers adding device descriptions, selecting target hardware, and managing device repositories. Correct target setup prevents incompatibility errors during download.

  • Lesson 5 • Fieldbus and Network Device Integration

    Introduces EtherCAT, PROFIBUS, and Modbus device integration within the CODESYS device tree. Students add a remote I/O node and verify communication.

Chapter 6See details

Advanced Programming Techniques

  • Lesson 1 • Pointer and Reference Usage

    Introduces POINTER TO, REFERENCE TO, ADR, and MEMMOVE for low-level data manipulation. Students use pointers safely to build generic, flexible function blocks.

  • Lesson 2 • State Machine Design Patterns

    Implements state machines using CASE statements and enumerated states for robust mode management. State machines handle complex operational modes reliably.

  • Lesson 3 • Object-Oriented Extensions in CODESYS

    Covers EXTENDS, IMPLEMENTS, interfaces, methods, properties, and abstract function blocks. OOP features enable scalable, polymorphic automation software.

  • Lesson 4 • Error Handling and Robust Code Design

    Covers structured error propagation, watchdog integration, and defensive programming patterns. Robust error handling is mandatory for safe industrial software.

  • Lesson 5 • Library Management and Reuse

    Explains creating, compiling, and referencing CODESYS libraries across projects. Reusable libraries reduce development time and standardize code quality.

Chapter 7See details

Motion Control and PID Regulation

  • Lesson 1 • PID Tuning and Performance Validation

    Applies Ziegler-Nichols and step-response tuning methods and validates performance with trend charts. Students achieve stable, well-damped closed-loop response.

  • Lesson 2 • Cam and Gear Coupling

    Introduces electronic gearing (MC_GearIn) and cam profile (MC_CamIn) for synchronized multi-axis motion. Students link a follower axis to a master axis.

  • Lesson 3 • PLCopen Motion Control Fundamentals

    Introduces the PLCopen axis state machine, MC_Power, MC_Home, and MC_Stop function blocks. Understanding the state machine is prerequisite for all motion commands.

  • Lesson 4 • PID Controller Theory and Implementation

    Explains proportional, integral, and derivative terms and implements the CODESYS PID function block. Students connect a simulated process to a PID loop.

  • Lesson 5 • Velocity and Position Control Commands

    Covers MC_MoveAbsolute, MC_MoveRelative, MC_MoveVelocity, and MC_Halt for single-axis motion. Students program a complete point-to-point move sequence.

Chapter 8See details

Visualization, Deployment, and Project Management

  • Lesson 1 • Web and Target Visualization

    Configures Web Visualization and TargetVisu for browser-based and panel-based HMI access. Students deploy the same visualization to multiple client types.

  • Lesson 2 • Application Download and Runtime Management

    Covers compile, download, online change, and boot application creation for production deployment. Students deploy an application that survives power cycles correctly.

  • Lesson 3 • Version Control and Documentation

    Integrates CODESYS projects with Git-based version control and generates project documentation. Professional version control and documentation are mandatory for industrial projects.

  • Lesson 4 • Alarm Management and Trending

    Implements the CODESYS Alarm Manager and trend recorder for runtime monitoring. Alarms and trends are required for industrial compliance and diagnostics.

  • Lesson 5 • CODESYS Visualization Editor

    Covers the visualization editor, element library, and variable binding for building operator screens. HMI screens are the primary operator interface for the application.

Certification

Your valid completion certificate

This course is for you:

  • Electrical engineers: ready to add PLC software skills to their hardware expertise.

  • Automation technicians: looking to move from maintaining systems to programming them.

  • Mechanical engineers: wanting to control the machines they already design and build.

  • Hobbyists and makers: eager to apply professional-grade automation tools to personal projects.

  • IT professionals: transitioning into operational technology and industrial control systems.

  • Recent engineering graduates: building job-ready PLC skills before entering the workforce.

What our students say

Your classes are perfect. I purchased the one-year package and finally have the opportunity to follow various topics of my interest without needing to switch platforms... I thank you for everything you do, I've already recommended you to other people...
Giulio Carlo
Giulio CarloDigital Marketing Student
I like how the lessons are straight to the point and how I can switch chapters and skip content I don't need.
Mariana Ferres
Mariana FerresPhotography Student
I like the content and the presentation style and video transcription, which speeds up the process!
Luciana Alvarenga
Luciana AlvarengaNail Design Student
The platform is fast, simple to use. The diversity of content and complementary videos really help with learning.
André Felipe
André FelipePrompt Engineering Student

Top trainings

FAQ

Who is Dedika?

Is the certificate valid in the United States?

Are the courses free?

What is the course workload?

What are the courses like?

How do the courses work?

What is the duration of the courses?

What is the cost or price of the courses?

What is an EAD or online course and how does it work?

PDF Course