FB_Init

FB_Init 1:

The FB_Init method is a kind of constructor for a function block. Any additional variables specified there must be set when declaring a function block instance of this type.
In the case of the function block ` FB_TestCaseBasePrep `, this is an interface pointer of type `ITcTestPreparation`. Since every function block for test preparation automatically has this interface through its derivation from the function block FB_TestPrepBase, the required preparation step can be specified when instantiating a FB_TestCaseBasePrep function block.

Instantiation in the declaration part of the test program's main POU:

   fbPreperation   : FB_TestCasePrep1;
   fbTestCase      : FB_TestCase1(fbPreperation);
FB_Init 2:

Take great caution when modifying this method so as not to negatively affect the functionality of the TestFramework.