CODESYS Application Composer
Section: Trend SEC tre.Trend //optional: yes, modifier: [UPDATE] SEC TrendRecording : <CFC trend identifier> //optional: yes, modifier: [UPDATE] Task := <trend task> //optional: yes, type: TimeLiteral
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: mse.Sequence This section determines the definitions of the sequence editor. The section must be present in the module declaration, in order that the editor of the modules offers the addition
CODESYS Application Composer
Section: MacroModule This section describes the parameters for the MacroModule. The section is created automatically when you generate a macro module. As an alternative, you can insert the section int
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 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
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