CODESYS Application Composer
Section: Proxies The section Proxies defines a function block which implements the proxy. A proxy serves for data exchange of modules of different application. The instance of the proxy FB represents
CODESYS Application Composer
Section: Constraints This special section allows to check if each module instance is referenced at least once. SEC Constraints //optional: yes, modifier: [UPDATE] Referenced_By := <interface name>; //
CODESYS Application Composer
Section: InstRefs The section InstRefs defines references to FB instances or structure instances. SEC InstRefs //optional: yes, modifier: [UPDATE] SEC InstRef : <identifier> //target: yes, optional: y
CODESYS Application Composer
Section: Device Generator The section DeviceGenerator serves to define all settings related to the Device Generator. It contains the following subsections: Subsection: Device : Definitions to add devi
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 3: Create Submodule "Switch Simple" The second switch module, which we want to declare, is a simplified one with only two states: on and off. Therefore a module declaration and a function block h
CODESYS Application Composer
Step 4: Create Submodule "Light" As it was done before for the Switch and the SwitchSimple , for the module Light , a module declaration Light , a function block Light and an interface ILight have to
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