|
APIs, concepts, guides, and more
|
NetworkStatus structure for EtherCAT network health monitoring. More...
Attributes | |
| uint32_t | ActiveNodeCount |
| Number of nodes actively responding on the network. Compare against expected node count to detect dropped nodes. | |
| uint32_t | AlStatus |
| Logical OR of AL Status registers (0x0130) from all nodes. A value of 8 indicates all nodes are Operational with no errors. This is a snapshot value primarily useful for detecting unexpected node state transitions (e.g., a node falling out of OP). May not reflect current state after network shutdown. Bits 0-3 indicate Device State Machine state: 1=Init, 2=PreOp, 3=Bootstrap, 4=SafeOp, 8=Operational. Bit 4 is the Error Flag. | |
| uint32_t | CyclicFramePeriodUs |
| Most recent cyclic frame period in microseconds. Should match the configured sample rate. | |
| uint64_t | EoeHostToNodeFrameCount |
| Cumulative count of EoE (Ethernet over EtherCAT) frames sent from the host toward nodes since network start, across the whole network. Counts every host-originated EoE frame, including broadcasts that target all nodes, so this is greater than or equal to the sum of the per-node NetworkNode::Status::EoeHostToNodeFrameCount. Use to confirm EoE traffic is flowing out to the drives. See EoE - Ethernet over EtherCAT. | |
| uint64_t | EoeNodeToHostFrameCount |
| Cumulative count of EoE (Ethernet over EtherCAT) frames received from nodes by the host since network start, across the whole network. Use to confirm EoE responses are returning from the drives. See EoE - Ethernet over EtherCAT. | |
| RSINetworkInterfaceType | InterfaceType |
| Host-side packet interface mechanism used for EtherCAT frame I/O (for example, INtime HPE2 or Linux AF_PACKET/AF_XDP). | |
| uint32_t | MissedCyclicFrameCount |
| Cumulative count of missed cyclic EtherCAT frames since network startup. Indicates communication reliability issues. | |
| int32_t | SynchronizationErrorNs |
| Distributed Clock synchronization error in nanoseconds. Updated approximately every 16 samples. Non-zero values indicate DC sync drift. | |
NetworkStatus structure for EtherCAT network health monitoring. Use this structure to monitor EtherCAT network health, detect communication failures, and diagnose timing issues. The values are updated cyclically by the EtherCAT master. Every dynamic field is also recordable via AddressGet with the matching RSIControllerAddressTypeNETWORK_STATUS_* entry (per-node values use ::RSINetworkNodeAddressType with RapidCodeNetworkNode::AddressGet).