SendRemoteStartTransaction

SendRemoteStartTransaction 1:

With this method, an OCPP server sends a Remote Start Transaction request to the corresponding OCPP client. The response from the OCPP client is processed directly within the method.

SendRemoteStartTransaction 2:

Syntax

METHOD SendRemoteStartTransaction : BOOL
VAR_INPUT
    hStationId   : UDINT;
    nConnectorId : UDINT := 0;
    sIdToken     : T_OCPP1_IdToken;
END_VAR
VAR_OUTPUT
    eStatus      : E_OCPP1_RemoteStartStopStatus;
END_VAR

SendRemoteStartTransaction 3: Return value

Name

Type

Description

SendRemoteStartTransaction

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.

SendRemoteStartTransaction 4: Inputs

Name

Type

Description

hStationId

UDINT

Identifier of the OCPP client in the instance of the OCPP server.

nConnectorId

UDINT

ID of the Connector of a Charge Point.

sIdToken

T_OCPP1_IdToken

ID token of the Charge Point in the Central System.

SendRemoteStartTransaction 5: Outputs

Name

Type

Description

eStatus

E_OCPP1_RemoteStartStopStatus

The status shows whether the Charge Point has accepted the request to start a transaction.

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