.

SqNode.PacketErrorCount

The packet error counter 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 counters are used to monitor long-term data integrity. These counters do not trigger any fault or fail actions.

The packet error counter is incremented once for each missing or invalid packet. Typically, an application will periodically read the packet error counters and store the values in a log file.

 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 that is being used for reporting packet errors. Using NetworkDirectionAll will report the total packet errors for a node. NetworkDirectionAll

Units

Seconds

Type

UInt32 (read only)

Index

 
Index Type Description
Mpx.NetworkDirection  

Visual Basic

Syntax

Property PacketErrorCount As UInt32(index As Mpx.NetworkDirection)

Sample Code

 

x = Controller.SqNode(0).PacketErrorCount


Sample Application

 

C#

Syntax

uint[Mpx.NetworkDirection] PacketErrorCount;

Sample Code

 

See Also

PacketErrorRate

SynqNet Overview
Packet Error Counter

 

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