SendLocalList
With this method, an OCPP server sends a Local List request to the corresponding OCPP client. The response from the OCPP client is processed directly within the method.
Syntax
METHOD SendLocalList : BOOL
VAR_INPUT
hStationId : UDINT;
nListVersion : UDINT;
eUpdateType : E_OCPP1_UpdateType;
nAuthCount : UDINT := 0;
END_VAR
VAR_IN_OUT
arrAuthList : ARRAY[*] OF ST_OCPP1_AuthorizationData;
END_VAR
VAR_OUTPUT
eStatus : E_OCPP1_UpdateStatus;
END_VAR
Return value
Name | Type | Description |
---|---|---|
SendLocalList | 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. |
nListVersion | UDINT | Version of the Local Authorization List provided as an update. |
eUpdateType | Definition of the update type, either as an update or as a complete replacement. | |
nAuthCount | UDINT | Number of entries in the Local Authorization List. |

Inputs/outputs
Name | Type | Description |
---|---|---|
arrAuthList | ARRAY [*] OF ST_OCPP1_AuthorizationData | Either the values of the new Local Authorization List (complete replacement) or values to be added to the existing Local Authorization List (update). |
Outputs
Name | Type | Description |
---|---|---|
eStatus | The status indicates whether the Charge Point has received and carried out the Local Authorization List update. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.