diff --git a/source/ec_test.cpp b/source/ec_test.cpp index 7e51940..a0098ee 100644 --- a/source/ec_test.cpp +++ b/source/ec_test.cpp @@ -43,19 +43,17 @@ static ec_domain_state_t domain1_state = {}; // process data static uint8_t *domain1_pd = NULL; -#define BusCouplerPos 0, 0 +#define BusCouplerPos 0, 1 #define DigOutSlavePos 0, 2 -#define AnaInSlavePos 0, 3 -#define AnaOutSlavePos 0, 4 #define Beckhoff_EK1100 0x00000002, 0x044c2c52 -#define Beckhoff_EL2008 0x00000002, 0x07d43052 +#define Beckhoff_EL2008 0x00000002, 0x07d83052 // offsets for PDO entries static unsigned int off_dig_out; 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}, {} };