RecvSetChargingProfile

RecvSetChargingProfile 1:

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

RecvSetChargingProfile 2:

Syntax

METHOD RecvSetChargingProfile : BOOL
VAR_OUTPUT
    hMessageId       : T_OCPP_MessageId;
    nConnectorId     : UDINT;
    mChargingProfile : ST_OCPP1_ChargingProfileMax;
END_VAR

RecvSetChargingProfile 3: Return value

Name

Type

Description

RecvSetChargingProfile

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.

RecvSetChargingProfile 4: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

nConnectorId

UDINT

ID of the Connector of a Charge Point.

mChargingProfile

ST_OCPP1_ChargingProfileMax

The Charging Profile to be used in the Charge Point.

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