"gaps" with 0x000 x00

More
29 May 2022 14:56 #244130 by ftree
"gaps" with 0x000 x00 was created by ftree
Hi!

Can you help me solve this error? The etherlab driver does not like PDO gaps with x0000 x00 ? What are my options?

[ 6938.151342] EtherCAT ERROR 0-0: SDO upload 0x0000:00 aborted.
[ 6938.151357] EtherCAT ERROR 0-0: SDO abort message 0x06020000: "This object does not exist in the object directory".
[ 6938.151362] EtherCAT ERROR 0-0: Failed to read number of mapped PDO entries.
[ 6938.151365] EtherCAT ERROR 0-0: Failed to read mapped PDO entries for PDO 0x0000.
[ 6938.156310] EtherCAT ERROR 0-0: SDO upload 0x0000:00 aborted.
[ 6938.156325] EtherCAT ERROR 0-0: SDO abort message 0x06020000: "This object does not exist in the object directory".
[ 6938.156331] EtherCAT ERROR 0-0: Failed to read number of mapped PDO entries.
[ 6938.156334] EtherCAT ERROR 0-0: Failed to read mapped PDO entries for PDO 0x0000.


static ec_pdo_entry_info_t lcec_meca500_pdo_entries[] = {
	
    {0x7200, 0x01, 1}, /* Deactivate */
    {0x7200, 0x02, 1}, /* Activate */
    {0x7200, 0x03, 1}, /* Home */
    {0x7200, 0x04, 1}, /* Reset Error */
    {0x7200, 0x05, 1}, /* Sim Mode */
    {0x0000, 0x00, 27}, /* Gap */
    
    {0x7310, 0x01, 16}, /* Move ID */
    {0x7310, 0x02, 1}, /* SetPoint */
    {0x7310, 0x03, 1}, /* Pause */
    {0x7310, 0x04, 1}, /* Clear Move */
    {0x7310, 0x05, 1}, /* Reset PStop */
    {0x0000, 0x00, 12}, /* Gap */
    
    {0x7305, 0x00, 32}, /* Move Command */
    {0x7306, 0x01, 32}, /* SubIndex 001 */
    {0x7306, 0x02, 32}, /* SubIndex 002 */
    {0x7306, 0x03, 32}, /* SubIndex 003 */
    {0x7306, 0x04, 32}, /* SubIndex 004 */
    {0x7306, 0x05, 32}, /* SubIndex 005 */
    {0x7306, 0x06, 32}, /* SubIndex 006 */
    
    {0x6010, 0x02, 1}, /* Busy */
    {0x6010, 0x03, 1}, /* Activated */
    {0x6010, 0x04, 1}, /* Homed */
    {0x6010, 0x05, 1}, /* SimActivated */
    {0x0000, 0x00, 12}, /* Gap */
    {0x6010, 0x01, 16}, /* Error */

Please Log in or Create an account to join the conversation.

More
29 May 2022 18:19 #244140 by tommylight
Replied by tommylight on topic "gaps" with 0x000 x00
Double post?

Please Log in or Create an account to join the conversation.

More
29 May 2022 18:24 #244142 by ftree
Replied by ftree on topic "gaps" with 0x000 x00
I tried searching for a simialr problem on here in vein. I hope that a new thread with the exact problem would be better than than conversation buried deep in another thread.

Please Log in or Create an account to join the conversation.

More
29 May 2022 18:27 - 29 May 2022 18:28 #244143 by ftree
Replied by ftree on topic "gaps" with 0x000 x00
I see "gap" 0x0000 x00 in several of the other "linuxcnc-ethercat" drivers so it does not appear to be a problem....

Maybe it is the version of "etherlab" i am using that is more strict.
Last edit: 29 May 2022 18:28 by ftree.

Please Log in or Create an account to join the conversation.

More
29 May 2022 20:58 #244147 by db1981
Replied by db1981 on topic "gaps" with 0x000 x00
how did you install the etherlabmaster? Are Sittners patches and the Gavin Lambert patchset applied?

Please Log in or Create an account to join the conversation.

More
29 May 2022 21:01 - 29 May 2022 21:02 #244148 by ftree
Replied by ftree on topic "gaps" with 0x000 x00
I'm using this linuxcnc master
github.com/sittner/linuxcnc-ethercat

and this Debian_11 repo
download.opensuse.org/repositories/home:.../EtherLab/Debian_11/

*** Sittners patches and the Gavin Lambert patchset  - ???
Last edit: 29 May 2022 21:02 by ftree.

Please Log in or Create an account to join the conversation.

More
29 May 2022 21:21 #244153 by db1981
Replied by db1981 on topic "gaps" with 0x000 x00
if you install etherlab with ec-debianize, there will be applied some patches from sittner and an bigger patchset from gavin lambert.

But ec-debianize is a bit outdated. I have not installed debian 11 yet, so i did not need to create an ethercat deb11 way for me yet.....

I have to check if one of the patches includes something that is related to pdo configuration, but i am on tour at the moment. Time is critical....

As for Saschas and my lcec drivers/components gaps have ever worked.

Please Log in or Create an account to join the conversation.

More
30 May 2022 03:18 #244179 by rodw
Replied by rodw on topic "gaps" with 0x000 x00

if you install etherlab with ec-debianize, there will be applied some patches from sittner and an bigger patchset from gavin lambert.

But ec-debianize is a bit outdated. I have not installed debian 11 yet, so i did not need to create an ethercat deb11 way for me yet.....

I have to check if one of the patches includes something that is related to pdo configuration, but i am on tour at the moment. Time is critical....

As for Saschas and my lcec drivers/components gaps have ever worked.

I think the build process for etherlabmaster is obsolete and needs to be ignored. It certainly does not work with Debian 11 and on. It follows the old etherlabmaster repository before they transitioned from mercurial to gitlab. How can it be safe to use?

It is no longer necessary to do the etherlabmaster build process if you use the repository for etherlabmaster and install as I described here:
forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step

I thought I read somewhere that the patches are no longer necessary as they have been rolled up into linuxcnc master branch or into etherlabmaster itself.

I have certainly not found it necessary to install the patches with the method in the sticky I linked to here.

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum