ec_master_state_t Struct Reference
[EtherCAT Application Interface]

Master state. More...


Data Fields

unsigned int slaves_responding
 Sum of responding slaves on all Ethernet devices.
unsigned int al_states: 4
 Application-layer states of all slaves.
unsigned int link_up: 1
 true, if at least one Ethernet link is up.


Detailed Description

Master state.

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

See also:
ecrt_master_state().

Definition at line 258 of file ecrt.h.


Field Documentation

Sum of responding slaves on all Ethernet devices.

Definition at line 259 of file ecrt.h.

Application-layer states of all slaves.

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 261 of file ecrt.h.

true, if at least one Ethernet link is up.

Definition at line 270 of file ecrt.h.


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