RespGetCompositeSchedule
With this method, an OCPP client responds to a Get Composite Schedule request from the corresponding OCPP server.
Syntax
METHOD RespGetCompositeSchedule : BOOL
VAR_INPUT
hMessageId : T_OCPP_MessageId;
eStatus : E_OCPP1_GetCompositeScheduleStatus;
nConnectorId : UDINT := 0;
nScheduleStart : ULINT := 0;
mChargingSchedule : REFERENCE TO ST_OCPP1_ChargingSchedule REF= 0;
END_VAR
Return value
Name | Type | Description |
---|---|---|
RespGetCompositeSchedule | 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 |
---|---|---|
hMessageId | MessageId of the received message. | |
eStatus | Response whether the Schedule could be queried on the Charge Point side. | |
nConnectorId | UDINT | Can optionally contain the ID of a Connector of a Charge Point. The returned Schedule would then apply to this Connector. |
nScheduleStart | ULINT | Optionally contains the time, all values contained here are displayed relative to this time. |
mChargingSchedule | REFERENCE TO ST_OCPP1_ChargingSchedule | Optionally contains the planned Schedule over time. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.