RecvStatusNotification

RecvStatusNotification 1:

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

RecvStatusNotification 2:

Syntax

METHOD RecvStatusNotification : BOOL
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: 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.