Skip to content

Commit

Permalink
README: reorder inside prepare target section
Browse files Browse the repository at this point in the history
It seems more readable to have the different possibilities to add an AMS
route directly follow the enumeration, so we have the AMS route example
last.

Signed-off-by: Patrick Bruenn <[email protected]>
  • Loading branch information
pbruenn committed Mar 9, 2023
1 parent ece6ef3 commit 3824918
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,20 @@ Prepare your target to run the example
======================================
- Download your PLC project to your target e.g. "PLC-TestProject" of our GitHub repository.
- Authorise your ADS client for the TwinCAT target by adding an AMS route.
- TwinCAT Engineering:
Go to the tree item SYSTEM/Routes and add a static route.

- TwinCAT Systray:
Open the context menue by right click the TwinCAT systray icon. (not available on Windows CE devices)

- TC2:
Go to Properties/AMS Router/Remote Computers and restart TwinCAT
- TC3:
Go to Router/Edit routes.
- TcAmsRemoteMgr:
Windows CE devices can be configured locally (TC2 requires a TwinCAT restart). Tool location: `/Hard Disk/System/TcAmsRemoteMgr.exe`
- IPC Diagnose:
Beckhoff IPC’s provide a web interface for diagnose and configuration. Further information: http://infosys.beckhoff.de/content/1033/devicemanager/index.html?id=286

Sample AMS route:
```
Expand All @@ -46,18 +60,6 @@ Sample AMS route:
Secure ADS: false
```

Routes can be configured by several possibilities
```
TwinCAT Engineering: Go to the tree item SYSTEM/Routes and add a static route.
TwinCAT Systray: Open the context menue by right click the TwinCAT systray icon. (not available on Windows CE devices)
TC2*: Go to Properties/AMS Router/Remote Computers
TC3: Go to Router/Edit routes.
TcAmsRemoteMgr: Windows CE devices can be configured locally (TC2*/TC3). Tool location: /Hard Disk/System/TcAmsRemoteMgr.exe
IPC Diagnose: Beckhoff IPC’s provide a web interface for diagnose and configuration. Further information: http://infosys.beckhoff.de/content/1033/devicemanager/index.html?id=286
```

*Requires a TwinCAT restart.

Prepare your client to run the example/example.cpp
==================================================
- set "remoteNetId" to the AMS NetId of your TwinCAT target (this is the AMS NetId found in the "About TwinCAT System window" e.g. "192.168.0.2.1.1").
Expand Down

0 comments on commit 3824918

Please sign in to comment.