We will generate a downloadable app using the Apax package management tool, which can be obtained from the download site.
Open a command line. The commands to generate a downloadable file are:
apax create app ax-download-example
cd ax-download-example
apax install
apax build
The lines above do the following:
- Create a SIMATIC AX project from a template. This template contains an SDK that includes all the necessary tools.
- Change the directory to the newly created apax application project.
- Install all dependencies from the apax.yml file. This will download the tools (like the
sld) to the local drive. - Compile (build) the code in the project. This results in an *.app file that can be downloaded.
Performing these commands produces the ./bin/1500 folder, which contains a downloadable file called 'ax-download-example.app'. The program created in this example can be downloaded but will not do anything.