SendStatusNotification

SendStatusNotification 1:

With this method, an OCPP client sends a Status Notification to the corresponding OCPP server. The response from the OCPP server is processed directly within the method, but in this case it does not contain any separate variables anyway. The timestamp is set internally when the request is sent and cannot be set manually when the method is called.

SendStatusNotification 2:

Syntax

METHOD SendStatusNotification : BOOL
VAR_INPUT
    nConnectorId : UDINT;
    eError       : E_OCPP1_ChargePointError;
    eStatus      : E_OCPP1_ChargePointStatus;
    sInfo        : STRING(50) := '';
    sVendorError : STRING(50) := '';
    sVendorId    : STRING(255) := '';
END_VAR

SendStatusNotification 3: Return value

Name

Type

Description

SendStatusNotificationEx

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.

SendStatusNotification 4: Inputs

Name

Type

Description

nConnectorId

UDINT

ID of the Connector of a Charge Point.

eError

E_OCPP1_ChargePointError

Error code to be sent in the Status Notification.

eStatus

E_OCPP1_ChargePointStatus

Status to be sent in the Status Notification.

sInfo

STRING(50)

Contains optional, freely definable additional information on the error.

sVendorError

STRING(50)

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.