Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Readme.md #32

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading