ec_slave_info_t Struct Reference
[EtherCAT Application Interface]

Slave information. More...


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 {
   ec_slave_port_desc_t   desc
 Physical port type.
   ec_slave_port_link_t   link
 Port link state.
   uint32_t   receive_time
 Receive time on DC transmission delay measurement.
   uint16_t   next_slave
 Ring position of next DC slave on that port.
   uint32_t   delay_to_next_dc
 Delay [ns] to next DC slave.
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 364 of file ecrt.h.


Field Documentation

Offset of the slave in the ring.

Definition at line 365 of file ecrt.h.

Vendor-ID stored on the slave.

Definition at line 366 of file ecrt.h.

Product-Code stored on the slave.

Definition at line 367 of file ecrt.h.

Revision-Number stored on the slave.

Definition at line 368 of file ecrt.h.

Serial-Number stored on the slave.

Definition at line 369 of file ecrt.h.

The slaves alias if not equal to 0.

Definition at line 370 of file ecrt.h.

Used current in mA.

Definition at line 371 of file ecrt.h.

Physical port type.

Definition at line 373 of file ecrt.h.

Port link state.

Definition at line 374 of file ecrt.h.

Receive time on DC transmission delay measurement.

Definition at line 375 of file ecrt.h.

Ring position of next DC slave on that port.

Definition at line 377 of file ecrt.h.

Delay [ns] to next DC slave.

Definition at line 379 of file ecrt.h.

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

Port information.

Current state of the slave.

Definition at line 381 of file ecrt.h.

Error flag for that slave.

Definition at line 382 of file ecrt.h.

Number of sync managers.

Definition at line 383 of file ecrt.h.

Number of SDOs.

Definition at line 384 of file ecrt.h.

char ec_slave_info_t::name[EC_MAX_STRING_LENGTH]

Name of the slave.

Definition at line 385 of file ecrt.h.


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