Get-TcSymbolStatistics

SYNOPSIS

Get the Symbol statistics from a TwinCAT target system / Device.

SYNTAX

NetIdPort (Default)

Get-TcSymbolStatistics [-NetId <AmsNetId>] [-Port <Int32>] [-Force] [-Reset]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

Route

Get-TcSymbolStatistics -Route <IRoute> [-Port <Int32>] [-Force] [-Reset] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

AddressStr

Get-TcSymbolStatistics -Address <String> [-Port <Int32>] [-Force] [-Reset] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

Session

Get-TcSymbolStatistics -Session <ISession> [-Force] [-Reset] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

SessionId

Get-TcSymbolStatistics -SessionId <Int32> [-Force] [-Reset] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

DESCRIPTION

This Cmdlet gets the Symbol statistics from a target system if symbolic information is provided by the device (Symbol Server available).

The Statistic information include information about the amount of available Symbols and Datatypes, how they are configured and the actual caching information.

EXAMPLES

EXAMPLE 1


          

Get the data types from the local system (Port 851):

PARAMETERS

-NetId

The NetID address of the target system where get the statistic information.

Type: AmsNetId
Parameter Sets: NetIdPort
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Route

The Route target where the the statistic information to load (RouteTarget.Local by default).

Type: IRoute
Parameter Sets: Route
Aliases: Destination

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Address

The address where to load the statistic information.

This can be the RouteName, NetId, the HostName or the IPAddress.

Wildcards are permitted.

Type: String
Parameter Sets: AddressStr
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Port

The Port where to load the datatype descriptions (Default Port 851)

Type: Int32
Parameter Sets: NetIdPort, Route, AddressStr
Aliases:

Required: False
Position: Named
Default value: 851
Accept pipeline input: False
Accept wildcard characters: False

-Session

The session object to use for the statistic information upload.

Type: ISession
Parameter Sets: Session
Aliases: InputObject

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-SessionId

The unique session Identifier that represents the session to use for statistic information upload.

Type: Int32
Parameter Sets: SessionId
Aliases: Id

Required: True
Position: Named
Default value: -1
Accept pipeline input: False
Accept wildcard characters: False

-Force

Forces to load the statistic information.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Reset

Resets and reloads all cached symbolic information.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

TwinCAT.ISession

The session object to use for the statistic information upload.

OUTPUTS

NOTES