[etherlab-users] Registering certain PDO Entries to a domain
Oliver.Haala at semikron.com
Oliver.Haala at semikron.com
Thu Nov 4 12:51:23 CET 2010
Hello,
I am trying to register these two PDO entries to a domain:
SDO 0x7000, "KL2xx2"
0x7000:00, r-r-r-, uint8, 8 bit, "KL2xx2"
0x7000:01, r-r-r-, bool, 1 bit, "Channel 1 "
0x7000:02, r-r-r-, bool, 1 bit, "Channel 2 "
(derived from $ ethercat sdos)
I am using the Beckhoff Buscoupler BK1120.
So the bus terminals are mapped inside the coupler
and I've tried to register them as shown below:
const static ec_pdo_entry_reg_t domain1_regs[] ={
{0x0000, 0x0000, 0x00000002, 0x04602c22, 0x7000 , 0x01,
&offset[0], &bit_position[0]},
{0x0000, 0x0000, 0x00000002, 0x04602c22, 0x7000 , 0x02,
&offset[1], &bit_position[1]},
{}};
...
// master was requested, domain created and slave configuration
// was obtained
if (ecrt_domain_reg_pdo_entry_list(domain1, domain1_regs))
return -1;
But running the application causes the following error:
"Failed to register PDO entry: No such file or directory"
Why is it not possible register those entrys?
Regards
Oliver
IMPORTANT NOTICE - The contents of this email and attachments are confidential. If you are not the intended recipient you must not use, copy, distribute or rely on this email and should please return it immediately or notify us by telephone. While we take every reasonable precaution to screen out computer viruses from emails, attachments to this email may contain such viruses. We cannot accept liability for loss or damage resulting from such viruses. The integrity of email across the Internet cannot be guaranteed and SEMIKRON will not accept liability for any claims arising as a result of the use of this medium for transmissions by or to SEMIKRON.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ethercat
Type: application/octet-stream
Size: 1009 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20101104/74f5ecbe/attachment-0003.obj>
More information about the Etherlab-users
mailing list