FB_Init

FB_Init 1:

Syntax

METHOD FB_Init : BOOL
VAR_INPUT
    bInitRetains : BOOL;
    bInCopyCode  : BOOL;
    stParam      : REFERENCE TO ST_OCPP1_ServerParam REF=0;
END_VAR

FB_Init 2: Return value

Name

Type

Description

FB_Init

BOOL

The method returns the return value TRUE if the call was successful. A method call is also considered successfully completed in the event of an error.

FB_Init 3: Inputs

Name

Type

Description

bInitRetains

BOOL

If TRUE, the Retain variables are initialized (warm start/cold start).

bInCopyCode

BOOL

If TRUE, the Exit method is called to exit an instance, which is then copied (online change).

stParam

REFERENCE TO ST_OCPP1_ServerParam

Parameters for the OCPP server.