RecvStatusNotification

RecvStatusNotification 1:

With this method, an OCPP server receives a Status Notification from an OCPP client. To respond to the Status Notification, the method RespStatusNotification must be called.

RecvStatusNotification 2:

Syntax

METHOD RecvStatusNotification : BOOL
VAR_INPUT
    hStationId   : UDINT;
END_VAR
VAR_OUTPUT
    hMessageId   : T_OCPP_MessageId;
    nConnectorId : UDINT;
    eError       : E_OCPP1_ChargePointError;
    eStatus      : E_OCPP1_ChargePointStatus;
    nTimestamp   : ULINT := 0;
    sInfo        : STRING(63) := '';
    sVendorError : STRING(63) := '';
    sVendorId    : STRING(255) := '';
END_VAR

RecvStatusNotification 3: Return value

Name

Type

Description

RecvStatusNotification

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.

RecvStatusNotification 4: Inputs

Name

Type

Description

hStationId

UDINT

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

RecvStatusNotification 5: Outputs

Name

Type

Description

hMessageId

T_OCPP_MessageId

MessageId of the received message.

nConnectorId

UDINT

ID of the Connector of a Charge Point.

eError

E_OCPP1_ChargePointError

Error code received in the Status Notification.

eStatus

E_OCPP1_ChargePointStatus

Status received in the Status Notification.

nTimestamp

ULINT

The timestamp of the Status Notification.

sInfo

STRING(63)

Contains optional, freely definable additional information on the error.

sVendorError

STRING(63)

Optionally contains the vendor-specific error code.

sVendorId

STRING(255)

Optionally contains the identifier for the vendor-specific implementation.

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