beckhoff TE1000 — 6.24 Get-AdsState

TcXaeMgmt Version 7.X | Get-AdsState Example 2 PS> Get-AdsState Name State OK Time (ms) Address ---- ----- -- --------- ------- WORK01 Config True 0 1.2.3.4.5.6 Gets the actual AdsState from the Local system. Example 3 PS> Get-AdsState 1.2.3.4,CX_0130C7 Gets the AdsState of target system with IPAddress 1.2.3.4 and Route name 'CX_0130C7'. Example 4 PS> get-route | get-adsState Name State OK Time (ms) Address ---- ----- -- --------- ------- WORK01 Config True 0 1.2.3.4.5.6 CX_0130C7 Config True 0 5.1.48.199.1.1 Get the current target state from all registered routes.

Example 5 PS> get-adsroute | get-adsstate -port 10000 -stateOnly Invalid Config Gets the AdsState information from all actual routes. Example 6 PS> get-adsroute | get-adsstate -port 10000 -quiet false true Gets availability information from all actual routes. PARAMETERS -NetId The Addresses of the target systems, where to get the AdsState. Tab completion: Completes AmsNetId values from currently reachable routes on the local TwinCAT system. The NetId. Null is not a valid value for the NetId parameter! Type: AmsNetId[] Parameter Sets: NetIdPort Aliases: Required: False Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters:

False -Port The AmsPort of the target system. Tab completion: Completes well-known ADS port numbers and names (e.g., 851/Plc1, 10000/SystemService). The port. Type: Int32 Parameter Sets: (All) Aliases: TE1000 124 Version: 1.5.0