Attempt fix
This commit is contained in:
@@ -43,19 +43,17 @@ static ec_domain_state_t domain1_state = {};
|
|||||||
// process data
|
// process data
|
||||||
static uint8_t *domain1_pd = NULL;
|
static uint8_t *domain1_pd = NULL;
|
||||||
|
|
||||||
#define BusCouplerPos 0, 0
|
#define BusCouplerPos 0, 1
|
||||||
#define DigOutSlavePos 0, 2
|
#define DigOutSlavePos 0, 2
|
||||||
#define AnaInSlavePos 0, 3
|
|
||||||
#define AnaOutSlavePos 0, 4
|
|
||||||
|
|
||||||
#define Beckhoff_EK1100 0x00000002, 0x044c2c52
|
#define Beckhoff_EK1100 0x00000002, 0x044c2c52
|
||||||
#define Beckhoff_EL2008 0x00000002, 0x07d43052
|
#define Beckhoff_EL2008 0x00000002, 0x07d83052
|
||||||
|
|
||||||
// offsets for PDO entries
|
// offsets for PDO entries
|
||||||
static unsigned int off_dig_out;
|
static unsigned int off_dig_out;
|
||||||
|
|
||||||
const static ec_pdo_entry_reg_t domain1_regs[] = {
|
const static ec_pdo_entry_reg_t domain1_regs[] = {
|
||||||
{DigOutSlavePos, Beckhoff_EL2008, 0x3001, 1, &off_dig_out},
|
{DigOutSlavePos, Beckhoff_EL2008, 0x7000, 1, &off_dig_out},
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user