RecvHeartbeat

RecvHeartbeat 1:

With this method, an OCPP server receives a Heartbeat from the connected OCPP client. To respond to the Heartbeat, the RespHeartbeat method must be called.

RecvHeartbeat 2:

Syntax

METHOD RecvHeartbeat : BOOL
VAR_OUTPUT
    hMessageId : T_OCPP_MessageId;
END_VAR

RecvHeartbeat 3: Return value

Name

Type

Description

RecvHeartbeat

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.

RecvHeartbeat 4: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

Possible errors are output at the outputs bError and hrErrorCode of the function block instance.