RecvSetChargingProfile
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.
Syntax
METHOD RecvSetChargingProfile : BOOL
VAR_OUTPUT
hMessageId : T_OCPP_MessageId;
nConnectorId : UDINT;
mChargingProfile : ST_OCPP1_ChargingProfileMax;
END_VAR
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. |
Outputs
Name | Type | Description |
---|---|---|
hMessageId | MessageId of the received message. | |
nConnectorId | UDINT | ID of the Connector of a Charge Point. |
mChargingProfile | 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.