Skip to main content

Module Declaration Editor

The Module Declaration Editor is a tool for creating and defining modules in the CODESYS Application Composer. You can create new modules or automatically generate a module from an existing function block here.

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.

. In the Module Declaration Editor, you define the following:
  • Module interface (based on IModule)

  • Parameterization of the module

  • Required inputs and outputs

  • Assignment to tasks

  • Included submodules

  • Respective visualizations

See Module Declaration for detailed information about how to develop modules.

For information about data exchange between different applications, see the following: IRMPService.

What is a module?

A module is a functional programming unit in the CODESYS Application Composer. It can represent both a machine or plant component as well as a software function. The Module Declaration Editor can be used to assemble these kinds of modules.

These modules are then made available as module instances in the module tree.

. A module consists of the following:
  • Parameterization options (parameters)

  • Program function (function block)

  • Inputs and outputs

  • Visualization elements