Register individually programmed modules with the FAST ModuleHandler
-
Every programmer can create their own modules and then register them with the FAST ModuleHandler of the framework. Special blocks are available in the PLC for this purpose.
-
Modules can be programme and function blocks.
-
In this module, only one function of the FAST ModuleHandler needs to be called, which then ensures that a programme module (PB) is a module, for example:
ModuleHandlerBase: L_IMHP_ModuleHandler:=(CompType:=L_IMHP_ComponentType.GeneralMachineModule);
-
Further parameters can then be transferred to the L_IMHP_ModuleHandler function.
-
If the module is programmed as a programme module (PB), a FAST technology module contained in it must be assigned as a "child module":
TM_WindCross.ModuleHandler.SetParent(RelationShip:=L_IMHP_RelationshipID.ApplicationView, ModuleHandlerParent :=ModuleHandlerBase.ModuleHandler);
-
This automatically builds up the tree in the diagnostic visualisation.
-
Details can be found in the documentation for the PLC modules.
-
Take a look at the tutorial video "FAST_TeachMe_ModuleHandler ".