[etherlab-dev] "Failed to read number of assigned PDOs for SM2" error occurs.
tykwon
tykwon at m2i.co.kr
Thu Jun 1 04:34:55 CEST 2017
I listened to you and made the following corrections.
<Mailbox DataLinkLayer="true">
<FoE/>
</Mailbox>
So "EtherCAT ERROR 0-0: Received mailbox protocol 0x08 as response." The error is gone!
[ 54.128206 at 1] EtherCAT: Master driver 1.5.2 unknown
[ 54.128482 at 1] EtherCAT: 1 master waiting for devices.
[ 54.143837 at 0] ec_generic: EtherCAT master generic Ethernet device module 1.5.2 unknown
[ 54.146156 at 0] EtherCAT: Accepting 00:1E:06:C2:B1:B6 as main device for master 0.
[ 54.153610 at 0] ec_generic: Binding socket to interface 2 (eth0).
[ 54.236637 at 0] EtherCAT 0: Starting EtherCAT-IDLE thread.
[ 54.236761 at 0] EtherCAT 0: Link state of ecm0 changed to UP.
[ 54.246617 at 1] EtherCAT 0: 1 slave(s) responding on main device.
[ 54.248103 at 1] EtherCAT 0: Slave states on main device: INIT.
[ 54.253576 at 1] EtherCAT 0: Scanning bus.
[ 54.308988 at 1] EtherCAT 0: Bus scanning completed in 60 ms.
[ 54.309026 at 1] EtherCAT 0: Using slave 0 as DC reference clock.
[ 54.336653 at 0] EtherCAT 0: Slave states on main device: PREOP.
The attachment coe_delete.txt is the entire EtherLab log executed with the modified xml.
It is still not changed to OP state.
EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR).
EtherCAT ERROR 0-0: AL status message 0x001D: "Invalid output configuration".
I think it seems to be a new problem with my existing one.
I see http://lists.etherlab.org/pipermail/etherlab-users/attachments/20120413/b83b76d4/attachment.c
Do I need this extra programming to change to the OP state?
Best regards,
Kwon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20170601/384c9769/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: coe_delete.txt
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20170601/384c9769/attachment-0003.txt>
More information about the Etherlab-dev
mailing list