RecvAuthorize
With this method, an OCPP server receives an Authorize request from an OCPP client. To respond to the request, the method RespAuthorize must be called.
Syntax
METHOD RecvAuthorize : BOOL
VAR_INPUT
hStationId : UDINT;
END_VAR
VAR_OUTPUT
hMessageId : T_OCPP_MessageId;
sIdTag : T_OCPP1_IdToken;
END_VAR
Return value
Name | Type | Description |
---|---|---|
RecvAuthorize | 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 |
---|---|---|
hStationId | UDINT | Identifier of the OCPP client in the instance of the OCPP server. |
Outputs
Name | Type | Description |
---|---|---|
hMessageId | MessageId of the received message. | |
sIdTag | ID token with which the Charge Point wants to be authorized on the Central System. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.