RecvLocalList

RecvLocalList 1:

With this method, an OCPP client receives a Send Local List request from the corresponding OCPP server. To respond to the request, the method RespLocalList must be called.

RecvLocalList 2:

Syntax

METHOD RecvLocalList : BOOL
VAR_IN_OUT
    aAuthList    : ARRAY[*] OF ST_OCPP1_AuthorizationData;
END_VAR
VAR_OUTPUT
    hMessageId   : T_OCPP_MessageId;
    nListVersion : UDINT;
    eUpdateType  : E_OCPP1_UpdateType;
    nAuthCount   : UDINT := 0;
END_VAR

RecvLocalList 3: Return value

Name

Type

Description

RecvLocalList

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.

RecvLocalList 4:RecvLocalList 5: Inputs/outputs

Name

Type

Description

aAuthList

ARRAY[*] OF ST_OCPP1_AuthorizationData

List of authorized ID tags.

RecvLocalList 6: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

nListVersion

UDINT

Contains the version number of the new list in the case of a complete update and the version number of the list after the update in the case of a differential update.

eUpdateType

E_OCPP1_UpdateType

Information on whether a complete or incremental update should be carried out.

nAuthCount

UDINT

Number of following entries in the Local Authorization List.

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