SendLocalList

SendLocalList 1:

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.

SendLocalList 2:

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

SendLocalList 3: 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.

SendLocalList 4: 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

E_OCPP1_UpdateType

Definition of the update type, either as an update or as a complete replacement.

nAuthCount

UDINT

Number of entries in the Local Authorization List.

SendLocalList 5:SendLocalList 6: 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).

SendLocalList 7: Outputs

Name

Type

Description

eStatus

E_OCPP1_UpdateStatus

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.