Command: Create Module from FB
This command (Category "Composer") creates a module description from a function block.
Module description with the name
<NameOfTheFB>Image pool with the name
IP_<NameOfTheFB>Text list with the name
TL_<NameOfTheFB>Interface with the name
TL_<NameOfTheFB>I<NameOfTheFB>.This interface extends
AC.IModule.
All variables
var_input constantare defined as module parameter. There the attributesparameterCategory,parameterMinValue, andparameterMaxValueherecan be used to set categories and minimal / maximal values.All numeric variables
var_outputare defined as module outputs.All numeric variables
var_inputare defined as module inputs, unless they are marked as part of a multi slot.All variables
var_inputof typeInterfacebecome single slots, if they are marked with theac_single_slotattribute.To create a multi slot a pair of
var_inputis required, consisting of aPointer to Interfaceand an integer variable. Both must be marked with the'ac_multi_slot' := '<ID>'attribute, where the<ID>of the two must match.