lcec-Error by starting LinuxCNC

  • CADdy
  • CADdy's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
13 Feb 2025 14:03 #321436 by CADdy
lcec-Error by starting LinuxCNC was created by CADdy
Hi all,
I have received a Beckhoff KM1002 terminal and entered it in the ethercat-conf.xml. It is a 16x digital input:

<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="5">
<slave idx="0" type="EK1100" name="EK1100"></slave>
<slave idx="1" type="EL1012" name="EL1012-In"></slave>
<slave idx="2" type="EL2032" name="EL2032-Out"></slave>
<slave idx="3" type="EL2809" name="EL2809-Out"></slave>
<slave idx="4" type="KM1002" name="KM1002-In"></slave>
</master>
</masters>

Unfortunately, this does not work and LinuxCNC aborts the start process with the following error message:

lcec_conf: ERROR: Cannot find slave type KM1002, verify type in XML file
lcec_conf: ERROR: Parse error at line 7: parsing aborted
./minimal_xyz_cmds.hal:32: waitpid failed lcec_conf lcec_conf
./minimal_xyz_cmds.hal:32: lcec_conf exited without becoming ready
14846
Stopping realtime threads
Unloading hal components

Can someone explain to me how to get rid of this error? What do I have to enter in the .xml?

Thanks a lot
Peter

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

More
13 Feb 2025 14:39 #321440 by GuiHue
Replied by GuiHue on topic lcec-Error by starting LinuxCNC
The device type, when directly named, must be supported by the driver. List here:
github.com/linuxcnc-ethercat/linuxcnc-et...mentation/DEVICES.md

Specicically the KM1002 will not work in any case, as it is not an EtherCat Module but rather a regular "Busklemme" which uses the old Beckhoff K Bus. You could try to use a BK series EtherCat KBus coupler:
www.beckhoff.com/de-de/produkte/i-o/ethe...x0-ethercat-koppler/

However, you will have to create your config with the generic driver and it is going to be cumbersome at best (search BK1120 in this board - I tried and got help). Honest opinion: Don't. Sell the Module, buy an EL series module.

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

  • CADdy
  • CADdy's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
13 Feb 2025 15:13 #321442 by CADdy
Replied by CADdy on topic lcec-Error by starting LinuxCNC
Hi Guido,

so it makes sense to buy an EL1809 or EL1819, for example. I will do that.

Thanks a lot for your info.

Peter
The following user(s) said Thank You: GuiHue

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

Time to create page: 0.234 seconds
Powered by Kunena Forum