RecvClearChargingProfile

RecvClearChargingProfile 1:

With this method, an OCPP client receives a Clear Charging Profile request from the corresponding OCPP server. To respond to the request, the method RespClearChargingProfile must be called.

RecvClearChargingProfile 2:

Syntax

METHOD RecvClearChargingProfile : BOOL
VAR_OUTPUT
    hMessageId              : T_OCPP_MessageId;
    nProfileId              : UDINT;
    nConnectorId            : UDINT;
    eChargingProfilePurpose : E_OCPP1_ChargingProfilePurposeType;
    nStackLevel             : UDINT;
END_VAR

RecvClearChargingProfile 3: Return value

Name

Type

Description

RecvClearChargingProfile

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.

RecvClearChargingProfile 4: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

nProfileId

UDINT

ID of the Charging Profile to be deleted.

nConnectorId

UDINT

ID of the Connector of a Charge Point for which the Charging Profiles are to be deleted.

eChargingProfilePurpose

E_OCPP1_ChargingProfilePurposeType

Specifies the ChargingProfilePurposeType whose Charging Profiles are to be deleted.

nStackLevel

UDINT

Specifies the Stack Level for which Charging Profiles are to be deleted if all other criteria in the request are met.

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