RespGetDiagnostics

RespGetDiagnostics 1:

With this method, an OCPP client responds to a Get Diagnostics request from the corresponding OCPP server.

RespGetDiagnostics 2:

Syntax

METHOD RespGetDiagnostics : BOOL
VAR_INPUT
    hMessageId : T_OCPP_MessageId;
    sFileName  : STRING(255) := '';
END_VAR

RespGetDiagnostics 3: Return value

Name

Type

Description

RespGetDiagnostics

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.

RespGetDiagnostics 4: Inputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

sFileName

STRING(255)

Optionally contains the file name of the diagnostic file that is uploaded.

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