RespError
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
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. |
Inputs
Name | Type | Description |
---|---|---|
hMessageId | MessageId of the received message. | |
eAct | Type of OCPP request for which the error occurred. | |
eErr | 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.