.

SqNode.PacketErrorRate

The packet error rate for the SynqNet node associated with the SqNode object.

Each SynqNet node has a packet error counter and a packet error rate counter. Packets addressed to a node are checked for integrity.

The packet error rate counters are used to trigger fault recovery and/or failure shutdown. The packet error rate counter is incremented for each missing or invalid packet and is decremented for 16 consecutive valid packets. Packet Error rates for a single network direction saturate at 255. The packet error rate counters can detect large errors over short periods of time or small errors over long periods of time.

 This property cannot be saved to flash memory.

Version History

Introduced in MPX 2.0.

Arguments

 
Argument Type Description Default Value
direction NetworkDirection The network direction for which to report packet errors rates. Using Mpx.NetworkDirection.All will report the total packet error rate for a node. NetworkDirectionAll

Units

Seconds

Type

Int32 (read only)

Index

 
Index Type Description
Mpx.NetworkDirection  

Visual Basic

Syntax

Property PacketErrorRate As Int32(index As Mpx.NetworkDirection)

Sample Code

 

x = Controller.SqNode(0).PacketErrorRate


Sample Application

 

C#

Syntax

int[Mpx.NetworkDirection] PacketErrorRate;

Sample Code

 

See Also

FailtLimit
FaultLimit
PacketErrorCount

SynqNet Overview
Packet Error Rate Counter

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering