RespStartTransaction

RespStartTransaction 1:

With this method, an OCPP server responds to a Start Transaction request from the connected OCPP client.

RespStartTransaction 2:

Syntax

METHOD RespStartTransaction : BOOL
VAR_INPUT
    hMessageId     : T_OCPP_MessageId;
    eStatus        : E_OCPP1_AuthorizationStatus;
    nTransactionId : UDINT;
END_VAR

RespStartTransaction 3: Return value

Name

Type

Description

RespStartTransaction

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.

RespStartTransaction 4: Inputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

eStatus

E_OCPP1_AuthorizationStatus

Status of the authorization in response to the OCPP client.

nTransactionId

UDINT

ID defined by the Central System for the transaction.

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