SendAuthorize

SendAuthorize 1:

With this method, an OCPP client sends an Authorize request to the corresponding OCPP server. The response from the OCPP server is processed directly within the method.

SendAuthorize 2:

Syntax

METHOD SendAuthorize : BOOL
VAR_INPUT
    sIdTag  : T_OCPP1_IdToken;
END_VAR
VAR_OUTPUT
    eStatus : E_OCPP1_AuthorizationStatus;
END_VAR

SendAuthorize 3: Return value

Name

Type

Description

SendAuthorize

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.

SendAuthorize 4: Inputs

Name

Type

Description

sIdTag

T_OCPP1_IdToken

ID token with which the Charge Point wants to be authorized on the Central System.

SendAuthorize 5: Outputs

Name

Type

Description

eStatus

E_OCPP1_AuthorizationStatus

Status of the authorization as a response from the Central System.

Possible errors are output at the outputs bError and hrErrorCode of the function block instance.