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
CODESYS Application Composer
Initialization of Module Instances (Online Change) Initialization and reinitialization of module instances and proxy instances (online change) The method IBaseInstance.Init(bOnlineChange : BOOL) ) is
CODESYS Application Composer
Section: MetaData The section MetaData contains the description, category and icons (with size 16x16 pixel and 32x32 pixel). SEC MetaData //optional: yes, modifier: [UPDATE]] Desc := <description>; //
CODESYS Application Composer
Section: Toplevel Modules which are located at the first level of the module tree are called toplevel modules. In contrast to other modules they have methods which can be called directly from one or s
CODESYS Application Composer
Module: DataLogStorage_SQLite The submodule DataLogStorage_SQLite defines the storage format of a DataLog channel for a SQLite database. It can be added below a DataLog channel node. This is done by t
CODESYS Application Composer
Definition of Logging Variables Variables are flagged for the data logging by attributes. ac_datalog [:= group name] : This attribute assigns the variable to a logging group. If the variable is a stru