RecvStatusNotification
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.
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
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. |
Inputs
Name | Type | Description |
---|---|---|
hStationId | UDINT | Identifier of the OCPP client in the instance of the OCPP server. |
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.