Ethercat - Failed to register PDO entry: No such file or directory

More
27 Oct 2023 21:31 - 27 Oct 2023 21:33 #283924 by jjdege
sorry I understand if the problem is the EL7.... device what?
or communicate with arduino
Last edit: 27 Oct 2023 21:33 by jjdege.

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

More
27 Oct 2023 23:40 #283926 by eduard
Sorry for the poor explanation. The problem is with the EasyCAT. I can not make it to receive and send signals.

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

More
28 Oct 2023 06:40 - 28 Oct 2023 06:47 #283935 by jjdege
The xml you posted is for EasyI/O,
for EasyCAT it is this
<slave idx="2" type="generic" vid="0000079A" pid="ABE00001" configPdos="true" name="EasyCAT"> 
try it if you see, I used it for an MPG pendant and it works
Last edit: 28 Oct 2023 06:47 by jjdege.

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

More
28 Oct 2023 20:28 #283990 by eduard
Unfortunately not working yet.
I see all the pins in halshow, I can trigger them but on the hw side (EtherCAT arduino hat) nothing happens.

Here is the modified xml
Attachments:

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

More
28 Oct 2023 20:37 #283991 by eduard
Could you share your xml?

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

More
30 Oct 2023 10:02 #284110 by a.bausano
The correct configurtion for the standard 32+32 bytes configuration of the EasyCAT boards is this:

<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
<!--EasyCAT board-->
<slave idx="0" type="generic" vid="0000079A" pid="00DEFEDE" configPdos="true">
<syncManager idx="0" dir="out">
<pdo idx="1600">
<pdoEntry idx="5" subIdx="01" bitLen="8" halPin="Byte0" halType="u32"/>
<pdoEntry idx="5" subIdx="02" bitLen="8" halPin="Byte1" halType="u32"/>
<pdoEntry idx="5" subIdx="03" bitLen="8" halPin="Byte2" halType="u32"/>
<pdoEntry idx="5" subIdx="04" bitLen="8" halPin="Byte3" halType="u32"/>
<pdoEntry idx="5" subIdx="05" bitLen="8" halPin="Byte4" halType="u32"/>
<pdoEntry idx="5" subIdx="06" bitLen="8" halPin="Byte5" halType="u32"/>
<pdoEntry idx="5" subIdx="07" bitLen="8" halPin="Byte6" halType="u32"/>
<pdoEntry idx="5" subIdx="08" bitLen="8" halPin="Byte7" halType="u32"/>
<pdoEntry idx="5" subIdx="09" bitLen="8" halPin="Byte8" halType="u32"/>
<pdoEntry idx="5" subIdx="10" bitLen="8" halPin="Byte9" halType="u32"/>
<pdoEntry idx="5" subIdx="11" bitLen="8" halPin="Byte10" halType="u32"/>
<pdoEntry idx="5" subIdx="12" bitLen="8" halPin="Byte11" halType="u32"/>
<pdoEntry idx="5" subIdx="13" bitLen="8" halPin="Byte12" halType="u32"/>
<pdoEntry idx="5" subIdx="14" bitLen="8" halPin="Byte13" halType="u32"/>
<pdoEntry idx="5" subIdx="15" bitLen="8" halPin="Byte14" halType="u32"/>
<pdoEntry idx="5" subIdx="16" bitLen="8" halPin="Byte15" halType="u32"/>
<pdoEntry idx="5" subIdx="17" bitLen="8" halPin="Byte16" halType="u32"/>
<pdoEntry idx="5" subIdx="18" bitLen="8" halPin="Byte17" halType="u32"/>
<pdoEntry idx="5" subIdx="19" bitLen="8" halPin="Byte18" halType="u32"/>
<pdoEntry idx="5" subIdx="20" bitLen="8" halPin="Byte19" halType="u32"/>
<pdoEntry idx="5" subIdx="21" bitLen="8" halPin="Byte20" halType="u32"/>
<pdoEntry idx="5" subIdx="22" bitLen="8" halPin="Byte21" halType="u32"/>
<pdoEntry idx="5" subIdx="23" bitLen="8" halPin="Byte22" halType="u32"/>
<pdoEntry idx="5" subIdx="24" bitLen="8" halPin="Byte23" halType="u32"/>
<pdoEntry idx="5" subIdx="25" bitLen="8" halPin="Byte24" halType="u32"/>
<pdoEntry idx="5" subIdx="26" bitLen="8" halPin="Byte25" halType="u32"/>
<pdoEntry idx="5" subIdx="27" bitLen="8" halPin="Byte26" halType="u32"/>
<pdoEntry idx="5" subIdx="28" bitLen="8" halPin="Byte27" halType="u32"/>
<pdoEntry idx="5" subIdx="29" bitLen="8" halPin="Byte28" halType="u32"/>
<pdoEntry idx="5" subIdx="30" bitLen="8" halPin="Byte29" halType="u32"/>
<pdoEntry idx="5" subIdx="31" bitLen="8" halPin="Byte30" halType="u32"/>
<pdoEntry idx="5" subIdx="32" bitLen="8" halPin="Byte31" halType="u32"/>
</pdo>
</syncManager>
<syncManager idx="1" dir="in">
<pdo idx="1a00">
<pdoEntry idx="5" subIdx="01" bitLen="8" halPin="Byte0" halType="u32"/>
<pdoEntry idx="5" subIdx="02" bitLen="8" halPin="Byte1" halType="u32"/>
<pdoEntry idx="5" subIdx="03" bitLen="8" halPin="Byte2" halType="u32"/>
<pdoEntry idx="5" subIdx="04" bitLen="8" halPin="Byte3" halType="u32"/>
<pdoEntry idx="5" subIdx="05" bitLen="8" halPin="Byte4" halType="u32"/>
<pdoEntry idx="5" subIdx="06" bitLen="8" halPin="Byte5" halType="u32"/>
<pdoEntry idx="5" subIdx="07" bitLen="8" halPin="Byte6" halType="u32"/>
<pdoEntry idx="5" subIdx="08" bitLen="8" halPin="Byte7" halType="u32"/>
<pdoEntry idx="5" subIdx="09" bitLen="8" halPin="Byte8" halType="u32"/>
<pdoEntry idx="5" subIdx="10" bitLen="8" halPin="Byte9" halType="u32"/>
<pdoEntry idx="5" subIdx="11" bitLen="8" halPin="Byte10" halType="u32"/>
<pdoEntry idx="5" subIdx="12" bitLen="8" halPin="Byte11" halType="u32"/>
<pdoEntry idx="5" subIdx="13" bitLen="8" halPin="Byte12" halType="u32"/>
<pdoEntry idx="5" subIdx="14" bitLen="8" halPin="Byte13" halType="u32"/>
<pdoEntry idx="5" subIdx="15" bitLen="8" halPin="Byte14" halType="u32"/>
<pdoEntry idx="5" subIdx="16" bitLen="8" halPin="Byte15" halType="u32"/>
<pdoEntry idx="5" subIdx="17" bitLen="8" halPin="Byte16" halType="u32"/>
<pdoEntry idx="5" subIdx="18" bitLen="8" halPin="Byte17" halType="u32"/>
<pdoEntry idx="5" subIdx="19" bitLen="8" halPin="Byte18" halType="u32"/>
<pdoEntry idx="5" subIdx="20" bitLen="8" halPin="Byte19" halType="u32"/>
<pdoEntry idx="5" subIdx="21" bitLen="8" halPin="Byte20" halType="u32"/>
<pdoEntry idx="5" subIdx="22" bitLen="8" halPin="Byte21" halType="u32"/>
<pdoEntry idx="5" subIdx="23" bitLen="8" halPin="Byte22" halType="u32"/>
<pdoEntry idx="5" subIdx="24" bitLen="8" halPin="Byte23" halType="u32"/>
<pdoEntry idx="5" subIdx="25" bitLen="8" halPin="Byte24" halType="u32"/>
<pdoEntry idx="5" subIdx="26" bitLen="8" halPin="Byte25" halType="u32"/>
<pdoEntry idx="5" subIdx="27" bitLen="8" halPin="Byte26" halType="u32"/>
<pdoEntry idx="5" subIdx="28" bitLen="8" halPin="Byte27" halType="u32"/>
<pdoEntry idx="5" subIdx="29" bitLen="8" halPin="Byte28" halType="u32"/>
<pdoEntry idx="5" subIdx="30" bitLen="8" halPin="Byte29" halType="u32"/>
<pdoEntry idx="5" subIdx="31" bitLen="8" halPin="Byte30" halType="u32"/>
<pdoEntry idx="5" subIdx="32" bitLen="8" halPin="Byte31" halType="u32"/>
</pdo>
</syncManager>
</slave>
</master>
</masters>
The following user(s) said Thank You: 0x2102, eduard

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

More
31 Oct 2023 09:59 #284165 by eduard
Thanks, I've been trying for a while to use this arduino hat, with moderate success.

LCNC crashes while I put the exact code in the xml, then I changed to this, and it starts:
<pdoEntry idx="5" subIdx="01" bitLen="8" halPin="out-0" halType="u32"/>
<pdoEntry idx="5" subIdx="02" bitLen="8" halPin="out-1" halType="u32"/>
<pdoEntry idx="5" subIdx="03" bitLen="8" halPin="out-2" halType="u32"/>
....

My question is:
When I set the out-0 to 1 it changes the in-0 (old name Byte0) to 1 and lits up the OUT0 LED on the test board. But, when I set the out-1 to 1, still changing the in-1 to 1, but nothing happens on OUT1 LED.

How exactly can I use the board?
And how can I reach the analog ports? On the test board there is 2 analog inputs ANA0 and ANA1.

Thanks.

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

More
16 Nov 2023 12:59 #285616 by akg1904
Hey please make sure you are calling ecrt_slave_config_pdos with sync manager.

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

More
12 Jan 2024 15:15 #290505 by eduard
I still haven't been able to use the EasyCAT board. Could you please share the XML you use for it? Also, do the inputs work for you and the analog one?

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

Time to create page: 0.100 seconds
Powered by Kunena Forum