- Posts: 129
- Thank you received: 0
Ethercat - Failed to register PDO entry: No such file or directory
3 years 3 days ago #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
Please Log in to join the conversation.
3 years 3 days ago #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 to join the conversation.
3 years 3 days ago #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 this
try it if you see, I used it for an MPG pendant and it works
for EasyCAT it is this
Code:
<slave idx="2" type="generic" vid="0000079A" pid="ABE00001" configPdos="true" name="EasyCAT">
Please Log in to join the conversation.
3 years 2 days ago #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 to join the conversation.
3 years 2 days ago #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 to join the conversation.
3 years 1 day ago #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>
Please Log in to join the conversation.
3 years 3 hours ago #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 to join the conversation.
2 years 11 months ago #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 to join the conversation.
2 years 9 months ago #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 to join the conversation.
Time to create page: 0.070 seconds
