{"id":42679685,"url":"https://github.com/simatic-ax/ae-tiax","last_synced_at":"2026-01-29T11:49:40.135Z","repository":{"id":116554844,"uuid":"572629540","full_name":"simatic-ax/ae-tiax","owner":"simatic-ax","description":"Application Example for the TIAX workflow","archived":false,"fork":false,"pushed_at":"2025-11-19T09:08:42.000Z","size":422,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-19T10:21:20.842Z","etag":null,"topics":["application-example","iec-st","siemens","simatic-ax","tiax"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simatic-ax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-11-30T17:24:51.000Z","updated_at":"2025-11-19T09:06:44.000Z","dependencies_parsed_at":"2024-06-10T22:02:46.979Z","dependency_job_id":"3c67d26b-68f5-451b-8893-e55bdb9b3b7c","html_url":"https://github.com/simatic-ax/ae-tiax","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/simatic-ax/ae-tiax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simatic-ax%2Fae-tiax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simatic-ax%2Fae-tiax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simatic-ax%2Fae-tiax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simatic-ax%2Fae-tiax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simatic-ax","download_url":"https://codeload.github.com/simatic-ax/ae-tiax/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simatic-ax%2Fae-tiax/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28876845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["application-example","iec-st","siemens","simatic-ax","tiax"],"created_at":"2026-01-29T11:49:39.250Z","updated_at":"2026-01-29T11:49:40.121Z","avatar_url":"https://github.com/simatic-ax.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collection of application examples for TIAX use cases\n\n## TIAX use case\n\nThe TIAX use case is a workflow, which converts a library written in ST and SIMATIC AX to TIA Portal global library for TIA Portal \u003e V18\n\n## Which examples can you find in ths application example\n\nThis application example shows two different use cases. To read the description of the use cases, just follow the link below.\n\n1. [Traffic light](./docs/TrafficLight.md) : A traffic light which is realized with the [statemachine](https://github.com/simatic-ax/statemachine) library.\n1. [Parking Counter](docs/ParkingCounter.md) : A simple parking counter simulation\n1. JSON serializer (in work) : A JSON structure created with the usage of the [JSON](https://github.com/simatic-ax/json) library can be filled with parameters and serialized to an ARRAY OF CHAR.\n1. Further ideas? Just create an [issue](https://github.com/simatic-ax/ae-tiax/issues/new?assignees=\u0026labels=\u0026template=feature_request.md\u0026title=) or even better a `pull request`.\n\n## How to install the application example on your local PC?\n\nRun the following commands in a CLI\n\n```sh\napax create @simatic-ax/ae-tiax --registry https://npm.pkg.github.com ae-tiax\n```\n\n```sh\naxcode ae-tiax\n```\n\nBefore you can use the application example, you've to install all the dpendencies with:\n\n```sh\napax install\n```\n\nAX Code starts with the content of the application example\n\n## How to generate a TIA Portal global library\n\nSetup:\n\nBefore we can create the TIA Portal global library, please check, if the `TIA_PORTAL_INSTALL_PATH` in the `.env` file points to your TIA Portal installation.\n\nDefault value of `TIA_PORTAL_INSTALL_PATH`:\n\n```md\nTIA_PORTAL_INSTALL_PATH=\"C:\\Program Files\\Siemens\\Automation\\Portal V18\\Bin\"\n```\n\n### Steps to create a TIA Portal global library\n\n1. Compile the ST code with `apax build`\n1. Export the compiled library into HandoverFiles with `ax2tia...`\n1. Import the HandoverFiles with the TIA Portal `Importer.exe`\n\nThat can be done manually step by step. Or you can use the predefined scripts in the apax.yml\n\n1. The scripts in the apax.yml\n\n    To make the creation of the library easier, in the apax yml are some scripts predefined:\n\n    ```yml\n    scripts:\n      export-tialib: ax2tia -i bin/1500/*.lib -o \"bin/$LIBRARY_DOCUMENTS_FOLDER\"\n      import-tialib: '\"$TIA_PORTAL_INSTALL_PATH/Siemens.Simatic.Lang.Library.Importer.exe\"\n        -i \"./bin/HandoverLibraryDocuments\" -o \"./$GLOBAL_LIBRARY_PATH\" -u'\n      create-tialib:\n        - apax build\n        - apax export-tialib\n        - apax import-tialib\n    ```\n\n    - `export-tialib` : generates the HandoverFiles\n    - `import-tialib` : Import the HandoverFiles and creates the TIA Portal global library\n    - `create-tialib` : Executes the steps: build, export, import\n\n1. Set the library version\n\n    Adapt the version of the TIA Portal global library in the file `apax.yml`\n\n    ```yml\n    name: \"@simatic-ax/ae-tiax\"\n    version: 0.0.1\n    type: lib\n    ```\n\n    \u003e for the first run, it can be kept at 0.0.1. If you create it a second time, please mind, that the same version must not exist in the gloabal library.\n\n    - via user interface\n\n1. Create the TIA Portal global library\n\n    \u003cdetails\u003e\n    \u003csummary\u003e\u003cb\u003eVia command line\u003c/b\u003e\u003c/summary\u003e\n\n    1. just call the apax script `create-tialib` via command line\n\n        ```bash\n        apax create-tialib\n        ```\n\n    1. wait until the import process is finished\n\n        ![finished](docs/images/import%20finished.gif)\n\n    \u003c/details\u003e\n\n    \u003cdetails\u003e\n    \u003csummary\u003e\u003cb\u003eVia user interface\u003c/b\u003e\u003c/summary\u003e\n\n    1. click on\n\n        ![run script](docs/images/runscript.gif)\n\n    1. select\n\n        ![select](docs/images/select_tialib.gif)\n\n    1. wait until the import process is finished\n\n    \u003c/details\u003e\n\n1. Find the imported TIA Portal Global Library\n\n    The generated global library you'll find in the following folder:\n\n    ![output](docs/images/globallib.gif)\n\n    \u003e If you want to adapt the name of the library (and output directory), you can modify the apax.yml\n    \u003e\n    \u003e```yml\n    \u003evariables:\n    \u003e  GLOBAL_LIBRARY_PATH: \"TIAPortalGlobalLibrary\"\n    \u003e```\n\n    This library can now opened in TIA Portal \u003e= V18\n\n## Generated Wrapper\n\nThe following Wrapper Function Blocks will be generated into the library. They can be used in TIA Portal.\n\n- TrafficlightWrapper\n- JsonStructure\n- ParkingCounterWrapper\n\n## Contribution\n\nThanks for your interest in contributing. Anybody is free to report bugs, unclear documentation, and other problems regarding this repository in the Issues section or, even better, is free to propose any changes to this repository using Merge Requests.\n\n### Markdownlint-cli\n\nThis workspace will be checked by the [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) (there is also documented ho to install the tool) tool in the CI workflow automatically.  \nTo avoid, that the CI workflow fails because of the markdown linter, you can check all markdown files locally by running the markdownlint with:\n\n```sh\nmarkdownlint **/*.md --fix\n```\n\n## License and Legal information\n\nPlease read the [Legal information](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimatic-ax%2Fae-tiax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimatic-ax%2Fae-tiax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimatic-ax%2Fae-tiax/lists"}