.

MEISynqNetStatus

Definition

 
typedef struct MEISynqNetStatus {
    MEISynqNetState             state;
    MPI_BOOL                    topologySaved;  /* TRUE/FALSE */
    MEISynqNetStatusCrcError    crcError;
    MPIEventMask                eventMask;
    MEISynqNetFailedNodeMask    failedNodeMask;
    MEISynqNetShutdownNodeMask  shutdownNodeMask;
} MEISynqNetStatus;

 
Change History: Modified in the 03.04.00. Modified in the 03.03.00.

Description

MEISynqNetStatus contains network state information, CRC counters, eventMask, and the failedNodeMask for a SynqNet network. The network status can be read with the meiSynqNetStatus(...) method.

 
state

Present operation mode for the network.

topologySaved

Contains the status of the network topology.

FALSE means the topology is dynamically discovered at initialization.

TRUE means that the topology is verified against an expected topology at initialization.

See Saving Current Topology To Flash for more information.

crcError

CRC error counters for the controller's network ports. The CRC value increments when received data is corrupt. Range is from 0 to 255. Counter saturates at 255.

eventMask

An array that defines the status for the event mask bits. The array is defined as:

typedef MPIEventMaskELEMENT_TYPE
        MPIEventMask[MPIEventMaskELEMENTS]

The bits are defined by the MPI/MEIEventType enumerations.

failedNodeMask

Array that defines the failed node mask bits. Each bit represents a failed node (0x1 = node 0, 0x2 = node 2, 0x4 = node 3, etc.). The array is defined as:

#define MEISynqNetNodeMaskELEMENTS (1)
typedef long MEISynqNetFailedNodeMask
    [MEISynqNetNodeMaskELEMENTS];

 

shutdownNodeMask

Bit mask representing the nodes that have been shutdown by the user.

See Also

meiSynqNetStatus | meiSqNodeStatus | MEISqNodeStatus | meiSynqNetNodeShutdown | meiSynqNetNodeShutdownNodeMask

 

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