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…”.
Message | Description | Possible errors |
---|---|---|
Check DEVICE presence | Checking 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 card | Device not present or unformatted |
If the applic.bin is present:
Message | Description | Possible errors |
---|---|---|
Upload QCL application | Uploading the QCL program | Open/Exist/Create file 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:
Message | Description | Possible errors |
---|---|---|
Upload retentive data | Uploading retentive data to the nonvolatile data memory | Open/Exist/Create file 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.