beckhoff TE1000 — 5.4 Adding / Removing Routes

How To | Adding / Removing Routes Search for Systems that start with the name "TC3*", then asks the user for Credentials and adds the Route as 'temporary' (with TC2 compatible security, clear text password). Afterwards, the connection is checked via 'Test-AdsRoute'. The route is specified by its name (ComputerName). To find out the address of the route an under the hood broadcast search is necessary what means that the target system must be online available in the network. Add a route to the local system (Single Sided) PS> Add-AdsRoute -name Test -NetId 1.2.3.4.1.1 -IPOrHostName 1.2.3.4 Adds a Route named 'Test' to the local routes with the specified NetId and IPAddress.

Because NetId and IPOrHostName are defined AND no credentials are set, this route is added locally only. Be aware that to get the route functional, the target system must define the backroute. Add a single sided temporary route Add-AdsRoute -name "TestRoute" -NetId 1.2.3.4.1.1 -IPOrHostName 1.2.3.4 -Temporary - RemotePersistance None Adding a route 'TestRoute' single sided and temporary only to the local system. The remote device doesn't need to be online.

Add a self-signed route PS> Get-AdsRoute -All -name "Tc3*" Name NetId Address Sub TcVersion RTSystem ---- ----- ------- --- --------- -------- TC3TestA1-CP67x 192.168.0.105.1.1 192.168.0.105 3.1.4021 Win7 TC3Test13-C6650 172.17.60.239.1.1 192.168.0.156 2.11.2246 Win7 PS> $cred = Get-Credential -Message "Get Credentials" -UserName "UserName" PS> Add-AdsRoute -Credential $cred -name "TC3TestA1-CP67x" -selfSigned -passthru Name NetId Address Sub TcVersion RTSystem ---- ----- ------- --- --------- -------- TC3TestA1-CP67x 192.168.0.105.1.1 192.168.0.105 3.1.4021 Win7 PS> Get-AdsRoute -name "TC3TestA1-CP67x" | Test-AdsRoute Search for Systems that start with the name "TC3*", then asks the user for Credentials and adds the Route with 'SelfSigned' AdsSecure settings.

Afterwards, the connection is checked via 'Test-AdsRoute'. The route is specified by its name (ComputerName). To find out the address of the route an under the hood broadcast search is necessary what means that the target system must be online available in the network. Add a route with (S)hared (C)ertification (A)Authority (SCA) PS> Add-AdsRoute -Address 192.168.0.105 -sca -paththru Name NetId Address Sub TcVersion RTSystem ---- ----- ------- --- --------- -------- TC3TestA1-CP67x 192.168.0.105.1.1 192.168.0.105 3.1.4021 Win7 Searches for the system with the specified IPAddress, and add the Route with Shared Certification Authority settings without password.

The precondition is, that valid certificates are already established on both (engineering and remote) systems, within their StaticRoutes.xml files. The route is specified by its Address only. TE1000 17 Version: 1.5.0