Jetter AG
Programming | 8
User Manual – JCM-501-E01
51 / 65
8.8 Saving and loading an application program
The user determines the program that is to be executed. When uploading the ap-
plication program to the controller, this program is stored as a file to the internal
flash disk. The device enters the path and file name into the
\App\start.ini
file.
Path and file name
By default, JetSym creates in the
/app
directory a subdirectory and assigns the
project name to it. Then, JetSym stores the application program to this subdirec-
tory assigning the extension
*.es3
to it. Path and file names are always converted
into lower case letters.
\App\start.ini -
Structure
This file is a text file with one section holding 2 entries:
Element
Description
[Startup]
Section name
Project
Path to the application program file. This path is rela-
tive to
\ app
.
Program
Name of the application program file
Example
[Startup]
Project = test_program
Program = test_program.es3
The application program is loaded from the file
\App\test_program\test_pro-
gram.es3
.
Loading the
application
program
When the application program is restarted via JetSym or after booting the
JCM-501-E01, the application program is loaded via the file system and exe-
cuted.
The application program is loaded by the OS of the JCM-501-E01 as follows:
Step
Description
1
The operating system reads the file
\App\start.ini
from the internal
flash disk.
2
The OS evaluates the
Project
entry. It contains the path leading to
the application program file.
3
The OS evaluates the
Program
entry. This entry contains the pro-
gram name.
4
The OS loads the application program from the file
<Project>/
<Program>
.