Hi Matthys,
I came across the same problem before.
The reason is that the entries of EL2004 are registered incorrectly. Please
modify your configuration according to the following codes:
const static ec_pdo_entry_reg_t domain1_regs[] = {
{Slave2004Pos, Beckhoff_EL2004, 0x3001, 1, &off_dig_out1},//note: entry's
offset of EL2004 is 0x3001 not 0x7000.
{}
};
static ec_pdo_entry_info_t slave_1_pdo_entries= {
{0x3001, 1, 1}, // Value 1
{0x3001, 2, 1}, // Value 2
{0x3001, 3, 1}, // Value 3
{0x3001, 4, 1} // Value 4
};
Please reference the device description file(XML) of EL2004.
BR!
Royal Qing
_______________________________________________
etherlab-dev mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-dev