RecvGetCompositeSchedule
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.
Syntax
METHOD RecvGetCompositeSchedule : BOOL
VAR_OUTPUT
hMessageId : T_OCPP_MessageId;
nConnectorId : UDINT;
nDuration : UDINT;
eChargingRateUnit : E_OCPP1_ChargingRateUnitType;
END_VAR
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. |
Outputs
Name | Type | Description |
---|---|---|
hMessageId | 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 | 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.