ec_master_link_state_t Struct Reference
[EtherCAT Application Interface]

Redundant link state. More...


Data Fields

unsigned int slaves_responding
 Sum of responding slaves on the given link.
unsigned int al_states: 4
 Application-layer states of the slaves on the given link.
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 282 of file ecrt.h.


Field Documentation

Sum of responding slaves on the given link.

Definition at line 283 of file ecrt.h.

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 bus is in the corresponding state:

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

Definition at line 285 of file ecrt.h.


Generated on Mon Jun 20 09:31:31 2016 for IgH EtherCAT Master by  doxygen 1.5.6