RespHeartbeat

RespHeartbeat 1:

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.

RespHeartbeat 2:

Syntax

METHOD RespHeartbeat : BOOL
VAR_INPUT
    hStationId : UDINT;
    hMessageId : T_OCPP_MessageId;
END_VAR

RespHeartbeat 3: 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.

RespHeartbeat 4: Inputs

Name

Type

Description

hStationId

UDINT

Identifier of the OCPP client in the instance of the OCPP server.

hMessageId

T_OCPP_MessageId

MessageId of the received message.

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