Online CoDeSys Programming Course
The IEC 61131-3 standard for programmable logic control is streamlining the application development process and lowering engineering cost. CoDeSys is one of the leading implementations of the IEC 61131-3 standard. This online series will introduce the participant to the CoDeSys development environment and provide the competence for efficient reusable code development. This is a completely interactive, online training process. The training is delivered live and the learner is in direct voice communication with the instructor at all times. The programming takes place on virtual machines that can be viewed and manipulated by the participant, the instructor or both at any time. The training has been divided into a 6-session basic and a 4-session advanced component. Each session lasts only 2 hours and is broken into a didactic first hour and a hands-on second hour lab. Download the CoDeSys Brochure here.
CoDeSys Programming Series
Expand all
Collapse all
-
The Basic CoDeSys Programming series is a 6-session series delivered 2 hours per session, 3 sessions per week for 2 weeks. The sessions are designed to serve as a comprehensive overview of the CoDeSys development environment and to provide participants the skills to use this software for basic and intermediate application development. A deeper understanding of CoDeSys can be obtained by participation in the CoDeSys Power Programming companion series.
Week One
-
Session One
-
Hour One: Introduction to Object Oriented Programming
This hour will introduce the strengths and weaknesses of Object Oriented Programming and discuss the use of CoDeSys to program an application using this programming approach.
-
Hour Two: Introduction to the CoDeSys Development Environment
This hour combines a tour of the most frequently used features of the CoDeSys development environment with a short, hands-on exercise that will write a simple ladder logic program, complete with HMI, and run it on a virtual PLC. This will give the participant a start on programming that can be expanded upon in Session Two.
-
Session Two
-
Hour One: Using the Ladder Diagram and Function Block Diagram Editors in CoDeSys
This hour will expand on the skills learned in the introductory exercise and will demonstrate the interchangeability between the Ladder Diagram and Function Block Diagram editors in CoDeSys. Special emphasis will be placed on the common elements of CoDeSys including, variables, identifiers, comments, data types, operators and operands. The entire session will be hands-on and will expand the participants understanding these CoDeSys editors.
-
Hour Two: Using the CoDeSys Visualization Tool
The CoDeSys Development Environment includes a powerful visualization tool that can be used to simulate the controlled application. This hour will begin with a demonstration of the variety of capability the visualization tool offers and will progress to hands on application of the tool to a lab project.
-
Session Three
-
Hour One: Using the Structured Text Editor in CoDeSys
This hour will introduce the conditional and iterative logic most often written using the Structured Text language editor in CoDeSys. In addition an example will be presented illustrating the use of ST to program mathematic operations.
-
Hour Two: CoDeSys Structured Text Lab
This is a hands-on lab that writes example code using the Structured Text editor. It is intended to serve as a primer for Session Four in which ST is used to develop Functions, Function Blocks and user defined programming objects. The projects written in this hour will include conditional and iterative logic as well as mathematic calculations.
Week Two
-
Session Four
-
Hour One: Programming Functions, Function Blocks and Programs in CoDeSys
This hour will introduce the programming of the three IEC 61131-3 Program Organizational Units (POUs). The appropriate implementation of Program, Function Block and Function level POUs will be covered.
-
Hour Two: Calling Program Organization Units in CoDeSys
This hands-on lab hour demonstrates how programs call function blocks; function blocks call other function blocks; and both programs and function blocks call functions. In addition the participant will create user defined function blocks using standard function blocks.
-
Session Five
-
Hour One: Introduction to the Sequential Function Chart (SFC) Editor in CoDeSys
This hour introduce the concepts used in programming of sequenced logic using the Sequential Function Chart editor in CoDeSys. Details and rules of this step and transition-based language will be covered and an example program will be dissected to demonstrate these principles.
-
Hour Two: Programming Lab Using the Sequential Function Chart (SFC) editor in CoDeSys
This hands-on lab hour demonstrates how the SFC editor is used to simplify the programming of sequential logic. The example program will utilize all key components of this program organizational tool including alternative and simultaneous parallel sequencing.
-
Session Six
-
Hour One: Debugging CoDeSys Logic and Troubleshooting CoDeSys Applications
This hour will introduce all of the debug and troubleshooting tools available in CoDeSys. Strategies will be developed for debugging code and for applying CoDeSys tools to application maintenance issues.
-
Hour Two: Applied Debugging of CoDeSys Logic and Troubleshooting of CoDeSys Applications
This is a hands-on lab will provide several case studies for application of debugging and troubleshooting skills introduced in hour one.
-
The CoDeSys Power Programming series is a 4-session series delivered 2 hours per session, 2 sessions per week for 2 weeks. The sessions are designed to compliment and expand on topics introduced in the 6-session Basic CoDeSys Programming series. They are intended for the individual who needs to complete a more thorough survey of CoDeSys functionality in preparation for advanced application development. A prerequisite understanding of the basics of each topic is assumed and can be gained by participating in the Basic CoDeSys Programming series. These advanced sessions are scheduled to be interleaved with the basic classes and can be taken as an integral component of a comprehensive study of IEC 61131-3 as implemented by CoDeSys or they can be taken independent of the Basic CoDeSys Programming series.
Week One
-
Session One
-
Hour One: Advanced Target and Task Configuration
This hour will introduce the concepts of target configuration. The topics covered include target support packages, Target Information (TNF) and the target loader utility program. In addition multi task controllers will be covered and Task configuration schemes will be introduced. Includes information about Debug Task.
-
Hour Two: Advanced File Management
This hour focuses on all of the different file extensions in CoDeSys and explores file management schemes for optimal performance and project management. This is particularly helpful for developers that will be managing projects for several different applications or clients. Hands-on lab will focus on the manipulation of the CoDeSys.ini file for powerful file and library management.
-
Session Two
-
Hour One: Advanced CoDeSys Visualization
This hour will expand on the skills gained in the introduction to the CoDeSys visualization tool. The concept of placeholders will be introduced and participants will create and share visualization objects for inclusion in different projects as library objects. Steps for setting up Target and Web Visualization will be covered.
-
Hour Two: Implementing the CoDeSys Trend Tool
The CoDeSys Development Environment includes a data scope for capturing events and trends. This hour will begin with a demonstration of the variety of capability the trending tool offers and will progress to hands on application of the tool in a lab project.
Week Two
-
Session Three
-
Hour One: User Defined Data, Functionality and Visualization Objects
The heart of IEC 61131-3's power is in its code reusability. This hour will expand on the introduction to Program Organization Units by demonstrating techniques for creating, sharing archiving and reusing user defined data and program objects.
-
Hour Two: Creating User-defined Library Objects
This hands-on lab will create a user-defined function-block along with its associated data structure and visualization, save these as library objects and then incorporate these objects into a new project. Strategies will be discussed for robust Library management.
-
Session Four
-
Hour One: Motion Control Using PLCopen Motion Function Blocks
This hour will introduce the concepts used in programming of motion control in CoDeSys using the PLCopen motion function blocks. Topics will include single axis motion commands as well as two-axis commands for camming, gearing and electronic limit switch programming.
-
Hour Two: Programming Motion Control Using CoDeSys
This hands-on lab hour demonstrates how the PLCopen Motion Function Blocks can be used to program motion control projects. The lab will program drive power; absolute and relative moves and two-axis interpolated motion.
Training Costs
- Basic CoDeSys Programming $1200
- CoDeSys Power Programming $1000
- CoDeSys Programming Series (both) $2000
System Requirements
- Computer with two monitors
- Internet Access
- Headset with microphone and mute button
- Java
- Internet Explorer
(Registrants will be contacted prior to training via email to test connection.)
Instructor Profile
Dr. Ken Ryan directs the Center for Applied Mechatronics at Alexandria Technical College. The Center is the only vendor independent,
PLCopen certified IEC 61131-3 training center in North America. The Center is also a Premium System Partner of the 3S Corporation, producers of the CoDeSys development environment.
He has taught the IEC 61131-3 programming standard for students at the college since 2000 and has conducted CoDeSys training for over 35 locations including Bosch Rexroth, Eaton, Moeller, Danaher, Turck, Hyundai and Liebherr. He has taught online to students in the U.S., Canada, Ireland, Germany and Malaysia.
Dr. Ryan is a member of the Board of Management of PLCopen and since 2003 has worked directly with 3S engineers to develop the CoDeSys training delivered in this series.
Dr. Ryan can be contacted by calling his direct line at 320-762-4461 or kenr@alextech.edu.