RespHeartbeat
With this method, an OCPP server responds to a Heartbeat from an OCPP client. The timestamp is set internally and does not need to be set separately in the PLC.
Syntax
METHOD RespHeartbeat : BOOL
VAR_INPUT
hStationId : UDINT;
hMessageId : T_OCPP_MessageId;
END_VAR
Return value
Name | Type | Description |
---|---|---|
RespHeartbeat | 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 |
---|---|---|
hStationId | UDINT | Identifier of the OCPP client in the instance of the OCPP server. |
hMessageId | MessageId of the received message. |
Possible errors are output at the outputs bError and hrErrorCode of the function block instance.