Skip to content

Commit

Permalink
Merge pull request #32 from simatic-ax/sjuergen-patch-1
Browse files Browse the repository at this point in the history
Update Readme.md
  • Loading branch information
sjuergen authored Jul 16, 2024
2 parents 79b1390 + 0f899f4 commit 3432e79
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,37 @@ This application example shows how to use the state framework of the package `@s

## Execute the Application Example (AX Code local)

1. Open a command line interface (CLI) and switch to the target folder like:
1. Open a command line interface (CLI) and switch to the target folder. Example, if the traget folder is D:\temp

```sh
D:
cd \Git
cd \temp
```

1. Install the application example on your local PC

Run the following commands in a CLI

if you use apax `V1.2.0`

```sh
apax create @simatic-ax/ae-trafficlight --registry https://npm.pkg.github.com ae-trafficlight
```

if you use apax `V1.3.0`
Open `AxCode` with

```sh
apax create @simatic-ax/template-ae-trafficlight --registry https://npm.pkg.github.com ae-trafficlight
cd ae-trafficlight
```

Open `AxCode` with
install the dependencies with:

```sh
axcode ae-trafficlight
apax install
```

and install the dependencies with:

and open AxCode
```sh
apax install
axcode .
```

1. If not open, open a terminal (`CTRL+SHIFT+ö`)
Expand All @@ -49,12 +47,6 @@ This application example shows how to use the state framework of the package `@s
1. If not done, download a valid hardware configuration (FW >= 2.9 and IP address 192.168.0.1) to the PLCSIM Advanced Instance. The recommend way is using TIA Portal.
1. Install dependencies
```cli
apax install
```
1. Build in download the project to the PLC
```cli
Expand Down

0 comments on commit 3432e79

Please sign in to comment.