IgH EtherCAT Master  1.5.2
ec_slave_config_state_t Struct Reference

Slave configuration state. More...

Data Fields

unsigned int online: 1
 The slave is online. More...
 
unsigned int operational: 1
 The slave was brought into OP state using the specified configuration. More...
 
unsigned int al_state: 4
 The application-layer state of the slave. More...
 
unsigned int error_flag: 1
 The slave has an unrecoverable error. More...
 
unsigned int ready: 1
 The slave is ready for external requests. More...
 
uint16_t position
 Offset of the slave in the ring. More...
 

Detailed Description

Slave configuration state.

This is used as an output parameter of ecrt_slave_config_state().

See also
ecrt_slave_config_state().

Definition at line 318 of file ecrt.h.

Field Documentation

◆ online

unsigned int ec_slave_config_state_t::online

The slave is online.

Definition at line 319 of file ecrt.h.

◆ operational

unsigned int ec_slave_config_state_t::operational

The slave was brought into OP state using the specified configuration.

Definition at line 320 of file ecrt.h.

◆ al_state

unsigned int ec_slave_config_state_t::al_state

The application-layer state of the slave.

  • 1: INIT
  • 2: PREOP
  • 4: SAFEOP
  • 8: OP

Note that each state is coded in a different bit!

Definition at line 322 of file ecrt.h.

◆ error_flag

unsigned int ec_slave_config_state_t::error_flag

The slave has an unrecoverable error.

Definition at line 330 of file ecrt.h.

◆ ready

unsigned int ec_slave_config_state_t::ready

The slave is ready for external requests.

Definition at line 331 of file ecrt.h.

◆ position

uint16_t ec_slave_config_state_t::position

Offset of the slave in the ring.

Definition at line 332 of file ecrt.h.