Skip to content

Commit

Permalink
Merge pull request #17 from simatic-ax/renovate/ax-ax2tia-9.x
Browse files Browse the repository at this point in the history
Renovate/ax ax2tia 9.x
  • Loading branch information
sjuergen authored Jul 17, 2024
2 parents 45a46fc + ce5f560 commit ded772b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,36 @@ apax create @simatic-ax/ae-motion-tiax --registry https://npm.pkg.github.com ae-
```

```sh
axcode ae-motion-tiax
cd ae-motion-tiax
```

At first time to use ax and install package dependencies
```sh
apax install
```

```sh
apax install -L
axcode .
```

AX Code starts with the content of the application example

Check the TIA Portal installation path in the apax.yml and adapt it when necessary

```yml
# set the path to your local TIA Portal installation
TIA_INSTALL_PATH: "C:\\Program Files\\Siemens\\Automation\\Portal V19"
```
Set a new version (e.g. 1.0.1) in the apax.yml
```yml
# General information
name: '@simatic-ax/ae-motion-tiax'
# Description will be displayed in the apax extension
description: An application example to demonstrate motion control in SIMATIC AX for use in TIA Portal
version: 1.0.1
```
Generate the TIA Portal global library by executing the creation script
```sh
Expand Down
8 changes: 4 additions & 4 deletions apax-lock.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "ae-motion-tiax",
"version": "0.0.0-placeholder",
"name": "@simatic-ax/ae-motion-tiax",
"version": "1.0.0",
"lockFileVersion": "2",
"installStrategy": "strict",
"root": {
"name": "ae-motion-tiax",
"version": "0.0.0-placeholder",
"name": "@simatic-ax/ae-motion-tiax",
"version": "1.0.0",
"dependencies": {
"@ax/simatic-1500-motioncontrol-native-v7": "6.0.11"
},
Expand Down
2 changes: 1 addition & 1 deletion apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ variables:
PATH_NAME: "./bin/handover-folder"
TIA_GLOBAL_LIB_PATH: "./TIA/apax-package-name-d7b4b031"
# set the path to your local TIA Portal installation
TIA_INSTALL_PATH: "C:\\Program Files\\Siemens\\Automation\\Portal V18"
TIA_INSTALL_PATH: "C:\\Program Files\\Siemens\\Automation\\Portal V19"
# remove, if you do not want to allow debugging of your code
APAX_BUILD_ARGS:
- "--debug"
Expand Down

0 comments on commit ded772b

Please sign in to comment.