RecvChangeAvailability
With this method, an OCPP client receives a Change Availability request from the corresponding OCPP server. To respond to the request, the method RespChangeAvailability must be called.
Syntax
METHOD RecvChangeAvailability : BOOL
VAR_OUTPUT
hMessageId : T_OCPP_MessageId;
nConnectorId : UDINT;
eType : E_OCPP1_AvailabilityType;
END_VAR
Return value
Name | Type | Description |
---|---|---|
RecvChangeAvailability | 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. |
eType | Type of availability change that the Charge Point is to carry out. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.