Application upload from DEVICE

This loads an application from the external MMC/SD or USB mass memory card to the non volatile memory.

This allows to load all or one of the QCL program, HMI program and retentive data.

The external MMC/SD or USB mass memory card must contain at least one of the following files:

  • applic.bin for the compiled QCL program generated by the Qview development environment
  • applic.dat for the data file generated by the “Save Data…” procedure of the Qview development environment or by the Downl system function. for retentive data to DEVICE;
  • appqtp.bin for the compiled HMI program generated by the Qpaint development environment; it is generated by the special function “Download the project to File…”.
MessageDescriptionPossible errors
Check DEVICE presenceChecking for the presence of the external mass storage card
On DEVICE appears MMC or USB, depending on what is selected
Device not present or unformatted
Mounting device…Mounting external mass storage cardDevice not present or unformatted

If the applic.bin is present:

MessageDescriptionPossible errors
Upload QCL applicationUploading the QCL programOpen/Exist/Create file error
Write file error
Read file error
Out of Memory Error
QMos Version Error
Checksum Error
Symbols checksum No Match
Configuration / Symbols Error

If the applic.bin file is not present, an application must already be loaded in the nonvolatile memory otherwise the “Application not present” message is given.

If the applic.dat file is present:

MessageDescriptionPossible errors
Upload retentive dataUploading retentive data to the nonvolatile data memoryOpen/Exist/Create file error
Write file error
Read file error
Out of Memory Error
QMos Version Error
Checksum Error
Symbols checksum No Match
Configuration / Symbols Error
QTP File format error

The procedure performs the following steps:

  • Check the presence of the MMC/SD or USB card.
    The “Check DEVICE presence” message is given.
    On DEVICE appears MMC or USB, depending on what is selected.
  • Mounting MMC/SD or USB card.\\The “Mounting device…” message is given.
  • Uploading the QCL program (applic.bin), if contained in the removable mass storage device
    The “Upload QCL application” message is given.
  • Uploading retentive data of the QCL program (applic.dat), if contained in the removable mass storage device
    The “Upload retentive data” message is given.
    NOTE: if the applic.dat file is not found, the data in the system is maintained so long as the Symbol and Configuration checksums have not been varied. If they are varied all data will be set to zero.
  • Uploading the HMI program (appqtp.bin), if contained in the removable mass storage device
    The “Upload HMI application” message is given.
  • The file is closed and the operation ends.
  • Last modified: 2019/08/29 17:01