Skip to content

template-app 1.2.0-ee870a1

Install from the command line:
Learn more about npm packages
$ npm install @simatic-ax/template-app@1.2.0-ee870a1
Install via package.json:
"@simatic-ax/template-app": "1.2.0-ee870a1"

About this version

Template for Application Examples

What is an application example

An application example ist a stand alone project, which demonstrates the usage of one ore more features or libraries. This template is optimized for a creation of application examples for PLC applications (executable on a PLCSIM Advanced or real PLC S7-1500).

Create a project from this template

Example: If you want to create an application example ae-motion-control then use this template by entering:

apax create @simatic-ax/app --registry https://npm.pkg.github.com ae-motion-control

Create an application example on GitHub

Example: An application example ae-motion-control should be created.

  1. Create a repository ae-motion-control on GitHub

    newrepo

    newrepo2

    If public or private depends is an internal decision

  2. Add the secrets to the repository (only in the case if it's private)

    secrets

    you don't know the secrets? Ask one of the owners or @sjuergen

  3. Create a repository template-ae-motion-control on GitHub which contains the apax package

    newrepo

    newrepo3

    If public or private depends is an internal decision

  4. If not done, login to the GitHub registry

    apax login --registry https://npm.pkg.github.com/ --password <your personal access token>

    More information you'll find here

  5. Create the application example from the template

    apax create @simatic-ax/app --registry https://npm.pkg.github.com ae-motion-control
  6. Add the remote repository to your local repository

    git remote add origin [email protected]:simatic-ax/ae-motion-control.git
    git push -u origin main
  7. Install dependencies

    apax install -L
  8. Optionally update dependencies

    apax update -a
  9. Now you can implement the application example

Release the application example

Before releasing

Before you release the application example, all checks have to be done:

  • [ ] OSS Clearing
  • [ ] Patent Clearing
  • [ ] ECC (Export control with the ecc wizzard)
  • [ ] License is up to date
  • [ ] The readme contains a description:
    • What is this application doing?
    • How to install the application example
    • How to start the application example
  • [ ] Application example has been reviewed

Release of the application example

release

Structure of this template

app
 |
 +- .github
 |      +- github-action-release-ae.yml
 |
 +- docs
 |    |
 |    +- app.md
 |
 +- src
 |   +- Configuration.st
 |   +- MainProgram.st
 |
 +- test
 |    +- dummy.st
 |
 +- watchlist
 |    +- default.mon
 |
 +- .gitignore
 +- apax.yml
 +- LICENSE.md
 +- README.md

Learn More

See the documentation on custom templates.

Details


Assets

  • template-app-1.2.0-ee870a1.tgz

Download activity

  • Total downloads 1
  • Last 30 days 0
  • Last week 0
  • Today 0