SendGetCompositeSchedule

SendGetCompositeSchedule 1:

With this method, an OCPP server sends a Get Composite Schedule request to the connected OCPP client. The response from the OCPP client is processed directly within the method.

SendGetCompositeSchedule 2:

Syntax

METHOD SendGetCompositeSchedule : BOOL
VAR_INPUT
    nConnectorId      : UDINT;
    nDuration         : UDINT;
    eChargingRateUnit : E_OCPP1_ChargingRateUnitType := E_OCPP_ChargingRateUnitType.None;
END_VAR
VAR_OUTPUT
    eStatus           : E_OCPP1_GetCompositeScheduleStatus; 
    nConnectorIdRes   : UDINT;
    nScheduleStart    : ULINT := 0;
    mChargingSchedule : ST_OCPP1_ChargingScheduleMax; 
END_VAR

SendGetCompositeSchedule 3: Return value

Name

Type

Description

SendGetCompositeSchedule

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.

SendGetCompositeSchedule 4: Inputs

Name

Type

Description

nConnectorId

UDINT

ID of the Connector of a Charge Point.

nDuration

UDINT

Length of the requested schedule.

eChargingRateUnit

E_OCPP1_ChargingRateUnitType

Used to specify the unit for the request.

SendGetCompositeSchedule 5: Outputs

Name

Type

Description

eStatus

E_OCPP1_GetCompositeScheduleStatus

The status shows whether the schedule request could be answered by the Charge Point.

nConnectorIdRes

UDINT

Identifier of the Connector to which the schedule in the response refers.

nScheduleStart

ULINT

Start time of the schedule.

mChargingSchedule

ST_OCPP1_ChargingScheduleMax

Requested schedule.

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