RecvClearChargingProfile
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.
Syntax
METHOD RecvClearChargingProfile : BOOL
VAR_OUTPUT
hMessageId : T_OCPP_MessageId;
nProfileId : UDINT;
nConnectorId : UDINT;
eChargingProfilePurpose : E_OCPP1_ChargingProfilePurposeType;
nStackLevel : UDINT;
END_VAR
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. |
Outputs
Name | Type | Description |
---|---|---|
hMessageId | 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 | 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.