FB_Init
code. You can evaluate the return value.methods explicitly and provide additional code there with the standard initializationThe return value is not evaluated. For a specific influence, you can also declare theFB_Init is always available implicitly and it is used primarily for initialization.## Short summary Initializes the CycleManagerDefaultConfigurator and its sub-configurators.
- Return type:
BOOL
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| bInitRetains | BOOL | TRUE: the retain variables are initialized (reset warm / reset cold) | input |
| bInCopyCode | BOOL | TRUE: the instance will be copied to the copy code afterward (online change) | input |
Code
Declaration
METHOD FB_Init: BOOL
VAR_INPUT
bInitRetains: BOOL; // TRUE: the retain variables are initialized (reset warm / reset cold)
bInCopyCode: BOOL; // TRUE: the instance will be copied to the copy code afterward (online change)
END_VAR
Implementation
THIS^.steperator.cycleManager := THIS^.cycleManager;
THIS^.pauserator.cycleManager := THIS^.cycleManager;