RespStartTransaction
With this method, an OCPP server responds to a Start Transaction request from the connected OCPP client.
Syntax
METHOD RespStartTransaction : BOOL
VAR_INPUT
hMessageId : T_OCPP_MessageId;
eStatus : E_OCPP1_AuthorizationStatus;
nTransactionId : UDINT;
END_VAR
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. |
Inputs
Name | Type | Description |
---|---|---|
hMessageId | MessageId of the received message. | |
eStatus | 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.