Get-EcFrameStatistics

SYNOPSIS

Gets the EtherCAT Frame statistics from an EtherCAT master.

SYNTAX

NetIdPortList (Default)

Get-EcFrameStatistics [-Timeout <Int32>] [-Count <Int32>] [-Delay <Int32>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

Default

Get-EcFrameStatistics [-InputObject] <EcMaster> [-Timeout <Int32>] [-Count <Int32>] [-Delay <Int32>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Gets the EtherCAT Frame statistics from an ETherCAT master.

EXAMPLES

EXAMPLE 1

PS> $m = Get-EcMaster -NetId 5.62.192.46.1.1
PS> $m | Get-EcFrameStatistics -count 5 -delay 0

Frames(1/s)  Queued(1/s)  Lost(1/s)    QueuedLost   TotalFrames  TotalQueued  TotalLost    TotalQueued
                                        (1/s)
------------ ------------ ----------   ------------ -----------  -----------  ---------    -----------
100          30           0            0            1524222      572157       0            0
100          30           0            0            1524232      572160       0            0
101          40           0            0            1524242      572164       0            0
101          40           0            0            1524252      572168       0            0
99           39           0            0            1524262      572172       0            0

Getting the EtherCAT frame statistics of an EtherCAT Master.

This example calculates the statistics 5 times with a minimal delay (0).

PARAMETERS

-InputObject

The EtherCAT master.

Type: EcMaster
Parameter Sets: Default
Aliases:

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

-Timeout

ADS Communication timeout

Type: Int32
Parameter Sets: (All)
Aliases:

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

-Count

Specifies the number of statistic requests (Default is 1)

Type: Int32
Parameter Sets: (All)
Aliases:

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

-Delay

Delay in Seconds between requests in Seconds (Default is 1s)

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 1
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

EtherCAT.EcMaster

The EtherCAT master.

OUTPUTS

NOTES