RespGetDiagnostics
With this method, an OCPP client responds to a Get Diagnostics request from the corresponding OCPP server.
Syntax
METHOD RespGetDiagnostics : BOOL
VAR_INPUT
hMessageId : T_OCPP_MessageId;
sFileName : STRING(255) := '';
END_VAR
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. |
Inputs
Name | Type | Description |
---|---|---|
hMessageId | 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.