Skip to main content

FB_Exit

Short summary

Mark the object as deleted, as it staiys in the memory.

  • Return type: BOOL

Parameters

NameTypeCommentKind
bInCopyCodeBOOLTRUE: 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

IF (THIS^.isObjectValid(THIS^.dataObject)) THEN
THIS^.dataObject.deepDestruct();
END_IF