IgH EtherCAT Master  1.6.13
ec_slave_info_t Struct Reference

Slave information. More...

#include <ecrt.h>

Data Structures

struct  [struct].ports

Data Fields

uint16_t position
 Offset of the slave in the ring.
uint32_t vendor_id
 Vendor-ID stored on the slave.
uint32_t product_code
 Product-Code stored on the slave.
uint32_t revision_number
 Revision-Number stored on the slave.
uint32_t serial_number
 Serial-Number stored on the slave.
uint16_t alias
 The slaves alias if not equal to 0.
int16_t current_on_ebus
 Used current in mA.
struct  ports [EC_MAX_PORTS]
 Port information.
uint8_t al_state
 Current state of the slave.
uint8_t error_flag
 Error flag for that slave.
uint8_t sync_count
 Number of sync managers.
uint16_t sdo_count
 Number of SDOs.
char name [EC_MAX_STRING_LENGTH]
 Name of the slave.

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.

◆ 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.