FB_Exit
FB_Exit must be implemented explicitly. If there is an implementation, then the method is called before the controller removes the code of the function block instance (implicit call). The return value is not evaluated.
- Return type:
BOOL
Parameters
| Name | Type | Comment | Kind |
|---|---|---|---|
| bInCopyCode | BOOL | TRUE: the exit method is called in order to leave the instance which will be copied afterwards (online change). | input |
Code
Declaration
METHOD FB_Exit : BOOL
VAR_INPUT
(* TRUE: the exit method is called in order to leave the instance which will be copied afterwards (online change). *)
bInCopyCode : BOOL;
END_VAR
Implementation
THIS^.myAlarm.Release();