RecvGetCompositeSchedule

RecvGetCompositeSchedule 1:

With this method, an OCPP client receives a Get Composite Schedule request from the corresponding OCPP server. To respond to the request, the method RespGetCompositeSchedule must be called.

RecvGetCompositeSchedule 2:

Syntax

METHOD RecvGetCompositeSchedule : BOOL
VAR_OUTPUT
    hMessageId        : T_OCPP_MessageId;
    nConnectorId      : UDINT;
    nDuration         : UDINT;
    eChargingRateUnit : E_OCPP1_ChargingRateUnitType;
END_VAR

RecvGetCompositeSchedule 3: Return value

Name

Type

Description

RecvGetCompositeSchedule

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.

RecvGetCompositeSchedule 4: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

nConnectorId

UDINT

ID of the Connector of a Charge Point.

nDuration

UDINT

Time of the requested schedule in seconds.

eChargingRateUnit

E_OCPP1_ChargingRateUnitType

Can optionally be used to specify the unit of the requested schedule.

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