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 function block, which implements the interface IModule
from the library AC_ModuleBase
. It also contains information about submodules, parameterization, I/O demand, task assignment and visualizations. Modules constitute the central concept of the CODESYS Application Composer.
The CODESYS Application Composer also provides a template project, which can be selected in the New Project dialog. This template creates a project with a device, an application and a library manager in the POU pool. The latter contains the libraries AC_ModuleBase
and AC_Persistence
. The template, which is based on the project ComposerProject.project
, can be modified if required. It is stored in the "Templates" subfolder of the CODESYS installation directory.
A module can be created from an existing function block automatically. Thereby, as far as is possible, existing declarations are transferred to the module declaration. For details see the description of the Create Module from FB command.
See Module Declaration for detailed information on how to develop modules.
For Information about data exchange between different applications see IRMPService.