IgH EtherCAT Master  1.6.2
ec_slave_info_t Struct Reference

Slave information. More...

Data Fields

uint16_t position
 Offset of the slave in the ring. More...
 
uint32_t vendor_id
 Vendor-ID stored on the slave. More...
 
uint32_t product_code
 Product-Code stored on the slave. More...
 
uint32_t revision_number
 Revision-Number stored on the slave. More...
 
uint32_t serial_number
 Serial-Number stored on the slave. More...
 
uint16_t alias
 The slaves alias if not equal to 0. More...
 
int16_t current_on_ebus
 Used current in mA. More...
 
struct {
   ec_slave_port_desc_t   desc
 Physical port type. More...
 
   ec_slave_port_link_t   link
 Port link state. More...
 
   uint32_t   receive_time
 Receive time on DC transmission delay measurement. More...
 
   uint16_t   next_slave
 Ring position of next DC slave on that port. More...
 
   uint32_t   delay_to_next_dc
 Delay [ns] to next DC slave. More...
 
ports [EC_MAX_PORTS]
 Port information. More...
 
uint8_t al_state
 Current state of the slave. More...
 
uint8_t error_flag
 Error flag for that slave. More...
 
uint8_t sync_count
 Number of sync managers. More...
 
uint16_t sdo_count
 Number of SDOs. More...
 
char name [EC_MAX_STRING_LENGTH]
 Name of the slave. More...
 

Detailed Description

Slave information.

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

See also
ecrt_master_get_slave().

Definition at line 451 of file ecrt.h.

Field Documentation

◆ position

uint16_t ec_slave_info_t::position

Offset of the slave in the ring.

Definition at line 452 of file ecrt.h.

◆ vendor_id

uint32_t ec_slave_info_t::vendor_id

Vendor-ID stored on the slave.

Definition at line 453 of file ecrt.h.

◆ product_code

uint32_t ec_slave_info_t::product_code

Product-Code stored on the slave.

Definition at line 454 of file ecrt.h.

◆ revision_number

uint32_t ec_slave_info_t::revision_number

Revision-Number stored on the slave.

Definition at line 455 of file ecrt.h.

◆ serial_number

uint32_t ec_slave_info_t::serial_number

Serial-Number stored on the slave.

Definition at line 456 of file ecrt.h.

◆ alias

uint16_t ec_slave_info_t::alias

The slaves alias if not equal to 0.

Definition at line 457 of file ecrt.h.

◆ current_on_ebus

int16_t ec_slave_info_t::current_on_ebus

Used current in mA.

Definition at line 458 of file ecrt.h.

◆ desc

ec_slave_port_desc_t ec_slave_info_t::desc

Physical port type.

Definition at line 460 of file ecrt.h.

◆ link

ec_slave_port_link_t ec_slave_info_t::link

Port link state.

Definition at line 461 of file ecrt.h.

◆ receive_time

uint32_t ec_slave_info_t::receive_time

Receive time on DC transmission delay measurement.

Definition at line 462 of file ecrt.h.

◆ next_slave

uint16_t ec_slave_info_t::next_slave

Ring position of next DC slave on that port.

Definition at line 464 of file ecrt.h.

◆ delay_to_next_dc

uint32_t ec_slave_info_t::delay_to_next_dc

Delay [ns] to next DC slave.

Definition at line 466 of file ecrt.h.

◆ ports

struct { ... } ec_slave_info_t::ports[EC_MAX_PORTS]

Port information.

◆ al_state

uint8_t ec_slave_info_t::al_state

Current state of the slave.

Definition at line 468 of file ecrt.h.

◆ error_flag

uint8_t ec_slave_info_t::error_flag

Error flag for that slave.

Definition at line 469 of file ecrt.h.

◆ sync_count

uint8_t ec_slave_info_t::sync_count

Number of sync managers.

Definition at line 470 of file ecrt.h.

◆ sdo_count

uint16_t ec_slave_info_t::sdo_count

Number of SDOs.

Definition at line 471 of file ecrt.h.

◆ name

char ec_slave_info_t::name[EC_MAX_STRING_LENGTH]

Name of the slave.

Definition at line 472 of file ecrt.h.