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
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
of the placeholder ( %s [...] with Input: %s . [...] with File name: %s .
%s Text variables [...] ). Texts → Text : %s [...] : %s Text
ToDisplay.iEnd Texts → Text %s Text [...] . Visualization of %s [...] Visualization of %s Text
%s Output [...] %s Output [...] Texts → Text : %s
with Text input: %s . [...] with Text input: %s .
output Texts → Text %s [...] output Texts → Text %s