IgH EtherCAT Master  1.6.2
ec_master_link_state_t Struct Reference

Redundant link state. More...

Data Fields

unsigned int slaves_responding
 Sum of responding slaves on the given link. More...
 
unsigned int al_states: 4
 Application-layer states of the slaves on the given link. More...
 
unsigned int link_up: 1
 true, if the given Ethernet link is up.
 

Detailed Description

Redundant link state.

This is used for the output parameter of ecrt_master_link_state().

See also
ecrt_master_link_state().

Definition at line 352 of file ecrt.h.

Field Documentation

◆ slaves_responding

unsigned int ec_master_link_state_t::slaves_responding

Sum of responding slaves on the given link.

Definition at line 353 of file ecrt.h.

◆ al_states

unsigned int ec_master_link_state_t::al_states

Application-layer states of the slaves on the given link.

The states are coded in the lower 4 bits. If a bit is set, it means that at least one slave in the network is in the corresponding state:

  • Bit 0: INIT
  • Bit 1: PREOP
  • Bit 2: SAFEOP
  • Bit 3: OP

Definition at line 355 of file ecrt.h.