- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Ethercat - Failed to register PDO entry: No such file or directory
Ethercat - Failed to register PDO entry: No such file or directory
- jjdege
- Offline
- Premium Member
Less
More
- Posts: 91
- Thank you received: 30
27 Oct 2023 21:31 - 27 Oct 2023 21:33 #283924
by jjdege
Replied by jjdege on topic Ethercat - Failed to register PDO entry: No such file or directory
sorry I understand if the problem is the EL7.... device what?
or communicate with arduino
or communicate with arduino
Last edit: 27 Oct 2023 21:33 by jjdege.
Please Log in or Create an account to join the conversation.
- eduard
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 12
27 Oct 2023 23:40 #283926
by eduard
Replied by eduard on topic Ethercat - Failed to register PDO entry: No such file or directory
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.
- jjdege
- Offline
- Premium Member
Less
More
- Posts: 91
- Thank you received: 30
28 Oct 2023 06:40 - 28 Oct 2023 06:47 #283935
by jjdege
Replied by jjdege on topic Ethercat - Failed to register PDO entry: No such file or directory
The xml you posted is for EasyI/O,
for EasyCAT it is thistry it if you see, I used it for an MPG pendant and it works
for EasyCAT it is this
<slave idx="2" type="generic" vid="0000079A" pid="ABE00001" configPdos="true" name="EasyCAT">
Last edit: 28 Oct 2023 06:47 by jjdege.
Please Log in or Create an account to join the conversation.
- eduard
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 12
28 Oct 2023 20:28 #283990
by eduard
Replied by eduard on topic Ethercat - Failed to register PDO entry: No such file or directory
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
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
Please Log in or Create an account to join the conversation.
- eduard
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 12
28 Oct 2023 20:37 #283991
by eduard
Replied by eduard on topic Ethercat - Failed to register PDO entry: No such file or directory
Could you share your xml?
Please Log in or Create an account to join the conversation.
- a.bausano
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 2
30 Oct 2023 10:02 #284110
by a.bausano
Replied by a.bausano on topic Ethercat - Failed to register PDO entry: No such file or directory
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>
<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.
- eduard
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 12
31 Oct 2023 09:59 #284165
by eduard
Replied by eduard on topic Ethercat - Failed to register PDO entry: No such file or directory
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.
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.
- akg1904
- Offline
- Premium Member
Less
More
- Posts: 98
- Thank you received: 3
16 Nov 2023 12:59 #285616
by akg1904
Replied by akg1904 on topic Ethercat - Failed to register PDO entry: No such file or directory
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.
- eduard
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 12
12 Jan 2024 15:15 #290505
by eduard
Replied by eduard on topic Ethercat - Failed to register PDO entry: No such file or directory
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.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- Ethercat - Failed to register PDO entry: No such file or directory
Time to create page: 0.111 seconds