Skip to content

Commit

Permalink
Merge pull request #35 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 e708f31 + 534ecba commit 60ab767
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,39 @@ This application example consists of two parts.
1. Showing the usage of the library in a PLC Program, which can be downloaded to a 1500 PLC or PLCSIM Advanced
1. Many examples as UnitTest in the `test` folder

## Install the application example and open it locally
## 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 \Examples
cd \temp
```

1. Install the application example `AX Code`
1. Install the application example on your local PC

Run the following commands in a CLI

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

Switch to the project directory

```sh
cd ae-json-library
```

install the dependencies with:

```sh
apax install
```

and open AxCode

```sh
axcode .
```

### Description of the PLC program
Expand Down

0 comments on commit 60ab767

Please sign in to comment.