Init

Init 1:

This method is called when the function block is initialized in the FB_Init method and specifies the parameters of the WebSockets connection. If the connection parameters are to be changed afterwards, this method can be called again while the application is running.

Syntax

METHOD Init : BOOL
VAR_INPUT
    stParam : REFERENCE TO ST_OCPP1_Client_Param;
END_VAR

Init 2: Return value

Name

Type

Description

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.

Init 3: Inputs

Name

Type

Description

stParam

REFERENCE TO ST_OCPP1_Client_Param

Parameters for the WebSockets connection of the OCPP client.