.

SynqNet.RecoveryMode

The fault recovery mode of the SynqNet network. Networks with ring topologies can be configured to recover from a fault condition. A fault condition occurs when a packet error rate counter exceeds its packet error rate fault limit. If fault recovery is enabled and a fault occurs, the node hardware and/or controller will detect the location of the fault and switch the direction of network traffic for nodes downstream from the faulted connection. During fault recovery, SynqNet.State is SynqNetStateSynqRecovering. After the upstream and downstream packet error rate counters decrement to zero, the recovery is completed, and the network state returns to SynqNetStateSynq.

When fault recovery occurs, the controller will generate an event of type EventTypeSynqNetRecovery. An application should notify the user about the fault and fix the broken cable/hardware as soon as possible. An application can determine the location of the fault by reading SynqNet.IdleCable. A network with a ring topology has one idle cable, which has no data traffic. The operation of the idle cable can be tested by reading SynqNet.IdleCableStatus.

WARNING: If the idle cable is broken and a second fault occurs, then fault recovery will not be able to fully recover from the fault. SynqNet will try to recover, but some nodes will be stranded. Presently, SynqNet does not support an event to notify the application if an idle cable fails. In the meantime, an application can periodically poll SynqNet.IdleCableStatus to test the cable.

Version History

Introduced in MPX 2.0.

Type

SynqNetRecoveryMode

Visual Basic

Syntax

Property State As SynqNetState

Sample Code

 

Controller.SynqNet(0).RecoveryMode = SynqNetRecoveryModeAutoArm


Sample Application

 

C#

Syntax

 

 

Sample Code

 

See Also

IdleCable
IdleCableStatus
State

SynqNetState
EventType

SynqNet Overview

 

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