LF: Update Application, Application and Firmware

You can use the Update Application function to install a project file in order to upgrade an existing application, or application and firmware from a compressed, encrypted project file on an SD card or USB flash drive that is installed in a controller.

To learn how to create these files, refer to the topic Export a project as a File.

Note that the controller model, OS, and Hardware Configuration are part of the project file, and it must match that of the controller you wish to upgrade.

LF: Update Application

 

Parameter Name

Purpose

A

Project File path

This is the location and name of the file to install. The file path contains a preface, the type of drive, the file name, and the extension, separated by slashes.

  • The syntax must be exactly as shown below.

  • The maximum number of path characters is 255, including file name and file extension.

 

Preface

Type

Name

Extension

USB Flash drive (DOK)

UNI/UserFS

UsbDisk1

MyFileName

.zip.encrypted

Full syntax

/UNI/UserFS/UsbDisk1/MyProjectName.zip.encrypted

SD Card

UNI/UserFS

ExternalSd

MyFileName

.zip.encrypted

Full syntax

/UNI/UserFS/ExternalSd/MyProjectName.zip.encrypted

B

Status

The value indicates the status of the function:

 0 - No error

 1 - Function started

 2 - Function in Progress

 -1 - No USB removable drive

-2 - No External SD Card

-3 - Invalid path

-4 -File does not exist

-5 - Model name does not exist

-6 - Wrong password

-7 -Model type does not match

-8 -Password does not match

-9 -Serial number in project does not match the controller's serial number

 

 

LF: Update Application and Firmware

 

Parameter Name

Purpose

A

Device Type

Select SD card or DOK (USB Flash Drive)

B

Project File path

This is the location and name of the file to install. The file path contains a preface, the type of drive, the file name, and the extension, separated by slashes.

  • The syntax must be exactly as shown below.

  • The maximum number of path characters is 255, including file name and file extension.

 

 

Preface

Type

Name

Extension

USB Flash drive

UNI/UserFS

UsbDisk1

MyFileName

.zip.encrypted

Full syntax

/UNI/UserFS/UsbDisk1/MyProjectName.zip.encrypted

SD Card

UNI/UserFS

ExternalSd

MyFileName

.zip.encrypted

Full syntax

/UNI/UserFS/ExternalSd/MyProjectName.zip.encrypted

B

Status

The value indicates the status of the function:

 0 - No error

 1 - Function started

 2 - Function in Progress

 -1 - No USB removable drive

-2 - No External SD Card

-3 - Invalid path

-4 -File does not exist

-5 - Model name does not exist

-6 - Wrong password

-7 -Model type does not match

-8 -Password does not match

-9 -Serial number in project does not match the controller's serial number

 

LF: Update Application and Firmware

 

Parameter Name

Purpose

A

Device Type

Select SD card or DOK (USB Flash Drive)

B

Project File path

This is the location and name of the file to install. The file path contains a preface, the type of drive, the file name, and the extension, separated by slashes.

  • The syntax must be exactly as shown below.

  • The maximum number of path characters is 255, including file name and file extension.

 

 

Preface

Type

Name

Extension

USB Flash drive

UNI/UserFS

UsbDisk1

MyFileName

.zip.encrypted

Full syntax

/UNI/UserFS/UsbDisk1/MyProjectName.zip.encrypted

SD Card

UNI/UserFS

ExternalSd

MyFileName

.zip.encrypted

Full syntax

/UNI/UserFS/ExternalSd/MyProjectName.zip.encrypted

B

Status

The value indicates the status of the function:

 0 - No error

 1 - Function started

 2 - Function in Progress

 -1 - No USB removable drive

-2 - No External SD Card

-3 - Invalid path

-4 -File does not exist

-5 - Model name does not exist

-6 - Wrong password

-7 -Model type does not match

-8 -Password does not match

-9 -Serial number in project does not match the controller's serial number