SendGetCompositeSchedule
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.
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
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. |
Inputs
Name | Type | Description |
---|---|---|
nConnectorId | UDINT | ID of the Connector of a Charge Point. |
nDuration | UDINT | Length of the requested schedule. |
eChargingRateUnit | Used to specify the unit for the request. |
Outputs
Name | Type | Description |
---|---|---|
eStatus | 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 | Requested schedule. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.