FB_Init

Initializes the state of the persistent data handler when the instance is created.
Syntax
METHOD FB_Init : BOOL
VAR_INPUT
bInitRetains : BOOL;
bInCopyCode : BOOL;
END_VAR
Inputs
|
Name |
Type |
Description |
|---|---|---|
|
bInitRetains |
BOOL |
TRUE if retain variables are initialized during a warm or cold start. |
|
bInCopyCode |
BOOL |
TRUE if the instance is included in the copy code after the call. |