RecvLocalList
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.
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
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. |

Inputs/outputs
Name | Type | Description |
---|---|---|
aAuthList | ARRAY[*] OF ST_OCPP1_AuthorizationData | List of authorized ID tags. |
Outputs
Name | Type | Description |
---|---|---|
hMessageId | 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 | 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.