FB_Init
Syntax
METHOD FB_Init : BOOL
VAR_INPUT
bInitRetains : BOOL;
bInCopyCode : BOOL;
sIdent : T_OCPP_Identity;
sAuthHash : T_OCPP_Hash;
fbServer : REFERENCE TO FB_OCPP1_Server;
END_VAR
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. |
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). |
sIdent | Identity of the OCPP client. | |
sAuthHash | Hash generated from the identity and the password. More information on calculating the hash can be found in the appendix. | |
fbServer | REFERENCE TO FB_OCPP1_Server | OCPP server instance to be used for this station function block. |