|
APIs, concepts, guides, and more
|
Status of a single EtherCAT sync group. More...
Attributes | |
| uint32_t | ActualWkc |
| Most recent actual Working Counter. Less than ExpectedWkc while a group node is out of OP. | |
| bool | DataValid |
| true when the group's cyclic data is trustworthy (WKC matches). The master clears this on a tolerated WKC mismatch and sets it when the WKC matches again. | |
| uint32_t | ExpectedWkc |
| Expected Working Counter for this group's cyclic datagram. | |
| uint32_t | Id |
| Sync group id (0 = default group). | |
| uint32_t | NodeCount |
| Number of nodes assigned to this group. | |
| uint64_t | NonOperationalNodeMask |
| Bitmask (by node index, up to 64 nodes) of this group's member nodes NOT in OP. Bit i set means node index i is down. 0 when the group is healthy. Use to identify exactly which servo dropped in a multi-node group. Refreshed about once per second while degraded. | |
| uint32_t | OperationalNodeCount |
| Number of this group's member nodes currently in the OP state. Equals NodeCount when healthy; drops below it while a member node is down. Refreshed about once per second while degraded. | |
| RSINetworkSyncGroupState | State |
| Current group state – see RSINetworkSyncGroupState for the meaning of each value. | |
| uint32_t | ToleratedWkcCount |
| Cumulative count of WKC mismatches tolerated for this group since network start. Increments while a WKC-tolerant datagram of this group is mismatching; mismatches that escalate to a fatal network error are not counted. | |
A sync group is a set of nodes (assigned via RapidCodeNetworkNode::ConfigSet with a non-zero SyncGroup) that get their own cyclic datagram and expected Working Counter (WKC), so their process-data health is evaluated independently of the rest of the network. Group 0 is the mandatory default group: it is never degraded or recovered, and its failures remain fatal to the network. The master updates these fields cyclically. See Sync Groups for the full concept (configuration workflow, monitoring, and recovery).