SendRemoteStartTransactionProfile
With this method, an OCPP server sends a Remote Start Transaction request including a Charging Profile to the connected OCPP client. The response from the OCPP client is processed directly within the method.
Syntax
METHOD SendRemoteStartTransactionProfile : BOOL
VAR_INPUT
nConnectorId : UDINT := 0;
sIdToken : T_OCPP1_IdToken;
mChargingProfile : REFERENCE TO ST_OCPP1_ChargingProfile REF= 0;
END_VAR
VAR_OUTPUT
eStatus : E_OCPP1_RemoteStartStopStatus;
END_VAR
Return value
Name | Type | Description |
---|---|---|
SendRemoteStartTransactionProfile | 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 |
---|---|---|
nConnectorId | UDINT | ID of the Connector of a Charge Point. |
sIdToken | ID token of the Charge Point in the Central System. | |
mChargingProfile | REFERENCE TO ST_OCPP1_ChargingProfileMax | Charging Profile to be sent to the client. |
Outputs
Name | Type | Description |
---|---|---|
eStatus | 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.