beckhoff TE1000 — Table of contents

Table of contents Table of contents 1 Foreword.................................................................................................................................................... 7 1.1 Notes on the documentation ............................................................................................................. 7 1.2 For your safety .................................................................................................................................. 8 1.3 Notes on information security............................................................................................................

9 2 Overview .................................................................................................................................................. 10 3 Requirements .......................................................................................................................................... 11 4 Installation and Activation...................................................................................................................... 12 4.1 Installation by PackageManager (PowerShell Gallery, Internet access necessary) .......................

12 4.2 Manual Installation without Internet access .................................................................................... 13 4.3 Check succeeded installation.......................................................................................................... 14 5 How To ..................................................................................................................................................... 15 5.1 Getting Help ....................................................................................................................................

15 5.2 Argument Completers ..................................................................................................................... 15 5.3 Getting registered Routes and Broadcast Search........................................................................... 16 5.4 Adding / Removing Routes ............................................................................................................. 16 5.5 Setting Device AmsNetId ................................................................................................................ 19 5.6 Configure Device Realtime Settings ...............................................................................................

19 5.7 (Re)Starting and Stopping TwinCAT............................................................................................... 19 5.8 Starting and Stopping the PLC and other ADS Servers.................................................................. 21 5.9 Reading / Writing Data .................................................................................................................... 21 5.9.1 Connect to a target device / ADS Server ......................................................................... 21 5.9.2 Symbolic / Handle / IndexGroup IndexOffset Access ......................................................

22 5.9.3 Read Write Values ........................................................................................................... 24 5.9.4 Calling RpcMethods and accessing PLC Properties........................................................ 27 5.10 TwinCAT / Device Diagnosis........................................................................................................... 28 5.10.1 Testing Device Availability and Latencies........................................................................ 28 5.10.2 Get the local AmsNetId or Route .....................................................................................

29 5.10.3 Get information about a TwinCAT device ........................................................................ 29 5.10.4 Accessing Symbolic Information ...................................................................................... 30 5.10.5 Getting Realtime Performance Information...................................................................... 31 6 TcXaeMgmt Version 7.X ......................................................................................................................... 33 6.1 about_AdsFileProvider....................................................................................................................

33 6.2 about_AdsSymbolProvider.............................................................................................................. 37 6.3 about_TcXaeMgmt.......................................................................................................................... 39 6.4 Get-AmsNetId ................................................................................................................................. 48 6.5 Restart-TwinCAT.............................................................................................................................

49 6.6 Set-AmsNetId.................................................................................................................................. 55 6.7 Set-RTimeCpuSettings ................................................................................................................... 58 6.8 Start-AdsProcess ............................................................................................................................ 62 6.9 Get-TComObject .............................................................................................................................

66 6.10 Get-TcSymbolStatistics................................................................................................................... 68 6.11 Set-AdsRouteProperty .................................................................................................................... 71 6.12 Copy-AdsRemoteItem..................................................................................................................... 74 TE1000 3 Version: 1.5.0