- Posts: 34
- Thank you received: 0
Ethercat panel configuration
- Soccer Kid
- Topic Author
- Offline
- Junior Member
-
Less
More
1 year 7 months ago #324948
by Soccer Kid
Ethercat panel configuration was created by Soccer Kid
Hi everyone, I’d like to share a long-standing issue I encountered and the solution I found. The problem began when I tried to connect an EtherCAT panel to LinuxCNC. During the configuration process, the slave device remained stuck in the PREOP state and failed to enter OP (Operational state). This was caused by manually configuring certain PDO files, which led to unrecognized settings. The fix was to set configPdos="false" in the configuration. Apologies for my poor English—the original text was translated using software. For reference, I’ve also attached an image showing the LED activation (see attached image). Hope this helps anyone facing a similar issue!
Please Log in to join the conversation.
- Soccer Kid
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 0
1 year 7 months ago #324949
by Soccer Kid
Replied by Soccer Kid on topic Ethercat panel configuration
Role of configPdos
Function:
configPdos="true": Enables automatic PDO mapping from the slave’s ESI file.
configPdos="false": Requires manual PDO configuration in XML.
Function:
configPdos="true": Enables automatic PDO mapping from the slave’s ESI file.
configPdos="false": Requires manual PDO configuration in XML.
Please Log in to join the conversation.
1 year 7 months ago #324954
by 0x2102
Replied by 0x2102 on topic Ethercat panel configuration
Thanks for posting your solution.
Could you share your EtherCAT configuration for this control panel?
Could you share your EtherCAT configuration for this control panel?
Please Log in to join the conversation.
- Soccer Kid
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 0
1 year 7 months ago #325019
by Soccer Kid
Replied by Soccer Kid on topic Ethercat panel configuration
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="3">
<!-- panel -->
<slave idx="0" type="generic" vid="00000890" pid="101407" configPdos="false">
<syncManager idx="2" dir="out">
<pdo idx="1600">
<pdoEntry idx="7000" subIdx="01" bitLen="1" halPin="out-1" halType="bit"/>
</pdo>
<pdo idx="1602">
<pdoEntry idx="7020" subIdx="01" bitLen="1" halPin="out-2" halType="bit"/>
</pdo>
<pdo idx="1603">
<pdoEntry idx="7030" subIdx="01" bitLen="1" halPin="out-3" halType="bit"/>
</pdo>
</syncManager>
<syncManager idx="3" dir="in">
<pdo idx="1a00">
<pdoEntry idx="6000" subIdx="01" bitLen="1" halPin="in-1" halType="bit"/>
</pdo>
<pdo idx="1a01">
<pdoEntry idx="6010" subIdx="01" bitLen="1" halPin="in-2" halType="bit"/>
</pdo>
<pdo idx="1a02">
<pdoEntry idx="6020" subIdx="01" bitLen="1" halPin="in-3" halType="bit"/>
</pdo>
<pdo idx="1a03">
<pdoEntry idx="6030" subIdx="01" bitLen="1" halPin="in-4" halType="bit"/>
<pdoEntry idx="6030" subIdx="11" bitLen="16" halPin="value" halType="u32"/>
</pdo>
</syncManager>
</slave>
</master>
</masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="3">
<!-- panel -->
<slave idx="0" type="generic" vid="00000890" pid="101407" configPdos="false">
<syncManager idx="2" dir="out">
<pdo idx="1600">
<pdoEntry idx="7000" subIdx="01" bitLen="1" halPin="out-1" halType="bit"/>
</pdo>
<pdo idx="1602">
<pdoEntry idx="7020" subIdx="01" bitLen="1" halPin="out-2" halType="bit"/>
</pdo>
<pdo idx="1603">
<pdoEntry idx="7030" subIdx="01" bitLen="1" halPin="out-3" halType="bit"/>
</pdo>
</syncManager>
<syncManager idx="3" dir="in">
<pdo idx="1a00">
<pdoEntry idx="6000" subIdx="01" bitLen="1" halPin="in-1" halType="bit"/>
</pdo>
<pdo idx="1a01">
<pdoEntry idx="6010" subIdx="01" bitLen="1" halPin="in-2" halType="bit"/>
</pdo>
<pdo idx="1a02">
<pdoEntry idx="6020" subIdx="01" bitLen="1" halPin="in-3" halType="bit"/>
</pdo>
<pdo idx="1a03">
<pdoEntry idx="6030" subIdx="01" bitLen="1" halPin="in-4" halType="bit"/>
<pdoEntry idx="6030" subIdx="11" bitLen="16" halPin="value" halType="u32"/>
</pdo>
</syncManager>
</slave>
</master>
</masters>
Please Log in to join the conversation.
- Soccer Kid
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 0
1 year 7 months ago #325020
by Soccer Kid
Replied by Soccer Kid on topic Ethercat panel configuration
Sure, but that's just one example. Because I haven't done all the configuration yet, in the XML below, I show some outputs and inputs, where value is used to read the MPG signal.
Please Log in to join the conversation.
1 year 7 months ago #325036
by Hakan
Replied by Hakan on topic Ethercat panel configuration
Interesting, that grouping of pdoentries into individual PDOs reminds me of the software I use. But it isn't uncommon I have understood.
Anyway, the ethercat server writes diagnostic messages you can view with the "dmesg" command. Maybe you found something there?
Anyway, the ethercat server writes diagnostic messages you can view with the "dmesg" command. Maybe you found something there?
Please Log in to join the conversation.
- Soccer Kid
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 34
- Thank you received: 0
1 year 7 months ago #325134
by Soccer Kid
Replied by Soccer Kid on topic Ethercat panel configuration
I've forgotten the exact debugmsg at that time. I obtained the information for this issue from the diagnostic LED provided by the manufacturer. The specific content is: Invalid parameters were written.
Please Log in to join the conversation.
- harindugamlath
- Offline
- Senior Member
-
Less
More
- Posts: 78
- Thank you received: 0
8 months 3 weeks ago #342750
by harindugamlath
Replied by harindugamlath on topic Ethercat panel configuration
Can you kindly share more info about this ethercat panel?
Where did you get it and model? And a few more photos?
Where did you get it and model? And a few more photos?
Please Log in to join the conversation.
8 months 3 weeks ago #342751
by NWE
Replied by NWE on topic Ethercat panel configuration
For what it's worth, searching aliexpress for panel21190e finds some similar items.
I notice one of the pictures shown at www.aliexpress.us/item/3256808758453292.html appears identical to Soccer Kid's panel.
I notice one of the pictures shown at www.aliexpress.us/item/3256808758453292.html appears identical to Soccer Kid's panel.
Please Log in to join the conversation.
Time to create page: 0.094 seconds
