CODESYS Application Composer
Step 0: Preliminaries First of all a new project has to be created. Therefore choose New Project from the File menu and save the new project. A Library Manager has to be added in the POUs view. Then t
CODESYS Application Composer
Step 1: Create Toplevel Module "Room" Add a module declaration and a function block to the POUs pool. The function block is used for the implementation (function program) of the module. In this exampl
CODESYS Application Composer
Step 2: Create Submodule "Switch" The next step is to declare a module for the switch of the room. Again, a module declaration and a function block must be created. Here, both are called Switch , wher
CODESYS Application Composer
Timer is needed at all. Step 4
CODESYS Application Composer
Step 4: Create Submodule "Light" As it was done
CODESYS Application Composer
Step 5: Create Submodule "Light simple" The simple light, which is created now, will work together with a simple switch, but can be adapted from Light above, anyways. Therefore a new module declaratio
CODESYS Application Composer
Step 6: Implementation Switches For the implementation of the functionality of the module Switch we use the method CallPrioMediumStart from Module by overriding it with our own implementation. We choo
CODESYS Application Composer
Step 7: Compose Modules After successful scanning the declarations, all modules are available for further use, so that an example application can be composed. Therefore the modules are added to the mo
CODESYS Application Composer
Library: Mechatronics Tip The Mechatronics library is meant to be an example for a simple (and not complete) implementation of a mechatronic unit with sequential execution. It does not meet all the re
CODESYS Application Composer
Module Declaration Editor A module typically represents a mechatronic component but can also be a pure software function. It contains all engineering aspects covered by CODESYS . A module has a functi