[etherlab-dev] Failed to register PDO entry: No such file or directory -- PDO entry 0x7030:01 is not mapped
Royal Qing
royalqing at 163.com
Wed Dec 5 06:01:52 CET 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20121205/d285fbf0/attachment.htm>
More information about the etherlab-dev
mailing list