-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapax.yml
41 lines (37 loc) · 1.12 KB
/
apax.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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.0
type: lib
# Build targets
targets:
- "1500"
- "llvm"
# Install Setting
installStrategy: strict
apaxVersion: 3.2.1
# Dependencies
devDependencies:
"@ax/sdk": 2405.0.0
"@ax/ax2tia": 9.0.26
dependencies:
"@ax/simatic-1500-motioncontrol-native-v7": 6.0.11
files:
- bin
# Project variables
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 V19"
# remove, if you do not want to allow debugging of your code
APAX_BUILD_ARGS:
- "--debug"
scripts:
export-tialib: ax2tia -i ./bin/1500/*.lib -o "$PATH_NAME"
import-tialib: '"$TIA_INSTALL_PATH\\bin\\Siemens.Simatic.Lang.Library.Importer.exe" -i "$PATH_NAME" -o "$TIA_GLOBAL_LIB_PATH"'
create-tialib:
- apax build
- apax export-tialib
- apax import-tialib