RespError

RespError 1:

With this method, an OCPP server responds to the connected OCPP client if the sent request has triggered an internal error. This may be the case, for example, if a requested action is not available.

Syntax

METHOD RespError : BOOL
VAR_INPUT
    hMessageId : T_OCPP_MessageId;
    eAct       : E_OCPP1_Action := E_OCPP1_Action.Heartbeat;
    eErr       : E_OCPP1_Error := E_OCPP1_Error.None;
END_VAR

RespError 2: Return value

Name

Type

Description

RespError

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.

RespError 3: Inputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

eAct

E_OCPP1_Action

Type of OCPP request for which the error occurred.

eErr

E_OCPP1_Error

OCPP error that will be the response to the request.

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