IgH EtherCAT Master  1.6.2
ec_pdo_entry_reg_t Struct Reference

List record type for PDO entry mass-registration. More...

Data Fields

uint16_t alias
 Slave alias address. More...
 
uint16_t position
 Slave position. More...
 
uint32_t vendor_id
 Slave vendor ID. More...
 
uint32_t product_code
 Slave product code. More...
 
uint16_t index
 PDO entry index. More...
 
uint8_t subindex
 PDO entry subindex. More...
 
unsigned int * offset
 Pointer to a variable to store the PDO entry's (byte-)offset in the process data. More...
 
unsigned int * bit_position
 Pointer to a variable to store a bit position (0-7) within the offset. More...
 

Detailed Description

List record type for PDO entry mass-registration.

This type is used for the array parameter of the ecrt_domain_reg_pdo_entry_list()

Definition at line 582 of file ecrt.h.

Field Documentation

◆ alias

uint16_t ec_pdo_entry_reg_t::alias

Slave alias address.

Definition at line 583 of file ecrt.h.

◆ position

uint16_t ec_pdo_entry_reg_t::position

Slave position.

Definition at line 584 of file ecrt.h.

◆ vendor_id

uint32_t ec_pdo_entry_reg_t::vendor_id

Slave vendor ID.

Definition at line 585 of file ecrt.h.

◆ product_code

uint32_t ec_pdo_entry_reg_t::product_code

Slave product code.

Definition at line 586 of file ecrt.h.

◆ index

uint16_t ec_pdo_entry_reg_t::index

PDO entry index.

Definition at line 587 of file ecrt.h.

◆ subindex

uint8_t ec_pdo_entry_reg_t::subindex

PDO entry subindex.

Definition at line 588 of file ecrt.h.

◆ offset

unsigned int* ec_pdo_entry_reg_t::offset

Pointer to a variable to store the PDO entry's (byte-)offset in the process data.

Definition at line 589 of file ecrt.h.

◆ bit_position

unsigned int* ec_pdo_entry_reg_t::bit_position

Pointer to a variable to store a bit position (0-7) within the offset.

Can be NULL, in which case an error is raised if the PDO entry does not byte-align.

Definition at line 591 of file ecrt.h.