# FB\_Exit

## `SRV_BV_SMALL.FB_Exit` (METH)

METHOD FB\_Exit : BOOL

FB\_Exit must be implemented explicitly. If there is an implementation, the method is called before the runtime removes the code of the function block instance (implicit call). The return value is not evaluated.

InOut:

| Scope  | Name          | Type   | Comment                                                                                    |
| ------ | ------------- | ------ | ------------------------------------------------------------------------------------------ |
| Return | `FB_Exit`     | `BOOL` |                                                                                            |
| Input  | `bInCopyCode` | `BOOL` | TRUE: The exit method is called to leave the instance that is then copied (online change). |
