.

MEISynqNetRecoveryMode

Definition

typedef enum MEISynqNetRecoveryMode {
    MEISynqNetRecoveryModeDISABLED,
    MEISynqNetRecoveryModeSINGLE_SHOT,
    MEISynqNetRecoveryModeAUTO_ARM,
} MEISynqNetRecoveryMode;

Description

MEISynqNetRecoveryMode is an enumeration of a network's fault recovery mode. 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, the network state is MEISynqNetStateSYNQ_RECOVERING. After the upstream and downstream packet error rate counters decrement to zero, the recovery is completed, and the network state returns to MEISynqNetStateSYNQ.

When fault recovery occurs, the controller will generate a MEIEventTypeSYNQNET_RECOVERY status/event. 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 using meiSynqNetIdleCableListGet(...). A network with a ring topology has one idle cable, which has no data traffic. The operation of the idle cable can be tested with meiSynqNetIdleCableStatus(...).

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 the idle cable with meiSynqNetIdleCableStatus(...) to test the cable.

 
MEISynqNetRecoveryModeDISABLED

The network will not attempt to recover from a fault condition. This is the default mode for string topologies.

MEISynqNetRecoveryModeSINGLE_SHOT

The network will only attempt to recover from a fault condition one time. A second fault will be ignored.

MEISynqNetRecoveryModeAUTO_ARM

The network will attempt to recover from a fault condition. After the fault recovery is complete, the network will automatically be re-armed to respond to another fault condition. This is the default mode for ring topologies.

See Also

meiSynqNetConfigGet | meiSynqNetConfigSet | meiSynqNetStatus | meiSynqNetInfo | meiSynqNetIdleCableListGet | meiSynqNetIdleCableStatus

 

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