SendUpdateFirmware

SendUpdateFirmware 1:

With this method, an OCPP server sends an Update Firmware request to the connected OCPP client. The response from the OCPP client is processed directly within the method.

SendUpdateFirmware 2:

Syntax

METHOD SendUpdateFirmware : BOOL
VAR_INPUT
    sLocation      : STRING(255);
    nRetries       : UDINT := 0;
    nRetryInterval : UDINT := 0;
    nRetrieveDate  : ULINT;
END_VAR

SendUpdateFirmware 3: Return value

Name

Type

Description

SendUpdateFirmware

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.

SendUpdateFirmware 4: Inputs

Name

Type

Description

sLocation

STRING(255)

URI from which the firmware is to be retrieved.

nRetries

UDINT

Number of attempts to download the firmware again if the download fails.

nRetryInterval

UDINT

Time after which the download is attempted again.

nRetrieveDate

ULINT

Time and date from which the Charge Point may receive the new firmware.

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