RecvStatusNotification
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.
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
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. |
Outputs
Name | Type | Description | ||
---|---|---|---|---|
hMessageId | MessageId of the received message. | |||
nConnectorId | UDINT | ID of the Connector of a Charge Point. | ||
eError | Error code received in the Status Notification. | |||
eStatus | 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.