RecvDiagnosticsStatusNotification

RecvDiagnosticsStatusNotification 1:

With this method, an OCPP server receives a Diagnostics Status Notification from an OCPP client. To respond to the Diagnostics Status Notification, the method RespDiagnosticsStatusNotification must be called.

RecvDiagnosticsStatusNotification 2:

Syntax

METHOD RecvDiagnosticsStatusNotification : BOOL
VAR_INPUT
    hStationId : UDINT;
END_VAR
VAR_OUTPUT
    hMessageId : T_OCPP_MessageId;
    eStatus    : E_OCPP1_DiagnosticsStatus; 
END_VAR

RecvDiagnosticsStatusNotification 3: Return value

Name

Type

Description

RecvDiagnosticsStatusNotification

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.

RecvDiagnosticsStatusNotification 4: Inputs

Name

Type

Description

hStationId

UDINT

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

RecvDiagnosticsStatusNotification 5: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

eStatus

E_OCPP1_DiagnosticsStatus

Status of the upload of the diagnostic data.

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