XML Settings for EC1-57E

More
02 Sep 2026 14:34 - 02 Sep 2026 14:36 #349220 by cgrobi
XML Settings for EC1-57E was created by cgrobi
Hi,

currently I am buildung a new CNC machine. I set up a PC with LinuxCNC (new to the software) and Ethercat. I have 3 StepperOnline Servos connected and they work well with my basic configuration. For a 4th axis, i need a smaller stepper motor and I bought an EC1-57E Ethercat stepper driver like this one
de.aliexpress.com/item/1005012395271889.html 
With the command "ethercat slaves -v", I get some information about the device. I'm trying to insert the slave into my ethercat-conf.xml file, but I can't get it to work. Is there someone using the same stepper driver who can please send me an example XML file to use it? I'm trying hard to get it to work, but had no luck so far.
It would be really nice if you can help me somehow.
Thank you so much

Christian
Last edit: 02 Sep 2026 14:36 by cgrobi.

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

More
02 Sep 2026 18:04 - 02 Sep 2026 18:05 #349224 by mediocre_chloride
Replied by mediocre_chloride on topic XML Settings for EC1-57E
HiI have a cheap stepper from Aliexpress EO42-EC. its open loop (can be selected wit dipswitch open/closed loop) for nema 42 steppers, maybe you need to tweak some things but they look quite similar. I attached the config here 

File Attachment:

File Name: cheapecste...0309.zip
File Size:5 KB
 
Attachments:
Last edit: 02 Sep 2026 18:05 by mediocre_chloride.
The following user(s) said Thank You: cgrobi

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

More
03 Sep 2026 03:15 #349259 by rodw
Replied by rodw on topic XML Settings for EC1-57E
try creating a config using lcec_configgen
The following user(s) said Thank You: cgrobi

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

More
04 Sep 2026 09:42 #349308 by cgrobi
Replied by cgrobi on topic XML Settings for EC1-57E
Thank you, guys, for your help! I appreciate that. 

I tried Rod's advice and got an xml part with the needed registers. This seems like a bit of progress. I took the needed parts from the auto-config.xml file and copied them to my own ethercat-conf.xml (slave ID 3). However, I tried adapting my hal file for the A axis (for which the driver is for) similar to the servo drives I already integrated, but was not able to get any reaction of the stepper motor that was connected on the stepper driver. It's a closed loop motor, but to exclude possible errors, I switched the driver to open loop mode for now. I tried reading some registers back with the ethercat read_register command and the values seem to be valid so far. The driver is in OP mode. But I assume, I've done something wrong in my hal file. If I try to move the A axis, the motor doesn't turn in any way. After some (theoretical) distance after pressing the A+/A- button in LinuxCNC, I get a joint following error. I'm not sure, if the PC really is talking to the stepper driver. If I try to move the axis, I would assume the target position register is updated somehow. But if I read the register value using the ethercat read_register command, I always get the same number.
Could you please do me a favor and have a look at my files I attached? Is there a possibility to guess the problem? I'm quite confident, that I may get everything I need for my machine to work. The A axis is the only missing piece. I don't want to integrate another controller like the PoKeys57CNC I have laying around. Ethercat is a really nice solution.
Thank you very much.

Christian
Attachments:
The following user(s) said Thank You: rodw

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

More
04 Sep 2026 10:06 #349312 by cgrobi
Replied by cgrobi on topic XML Settings for EC1-57E
Addendum:
I took a deeper look (again) into the datasheet of the motor driver. There is a green LED that flashes at a rate of about 2s. According to the datasheet, this means, that the motor power is still off. When the power is on, this LED should light up constantly without flashing.
Reading the statusword of the driver shows a value of 0xb094. According to the cia402 specification, Bits 3, 5 and 7 are 1. This means OP is enabled, quick stop is active and there seems to be a warning. Maybe this is helpful.
Greetings 

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

More
04 Sep 2026 11:09 #349316 by mediocre_chloride
Replied by mediocre_chloride on topic XML Settings for EC1-57E
Have you checked the digital inputs? 
there is origin and pos/negative limit set as default functions for the digital input. If the limits are setup for NC wiring and nothing is connected, it might become an issue

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

More
05 Sep 2026 07:37 #349343 by jjdege
Replied by jjdege on topic XML Settings for EC1-57E
Hi,
in the XML file you posted, the vendor ID (VID) is 0x00400000, while the EC1-57E manual says 0xAB5 or 00000AB5.
That could be the problem.
Hi

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

More
05 Sep 2026 09:16 #349344 by rodw
Replied by rodw on topic XML Settings for EC1-57E

Hi,
in the XML file you posted, the vendor ID (VID) is 0x00400000, while the EC1-57E manual says 0xAB5 or 00000AB5.
That could be the problem.
Hi

Use the values reported by ethercat slaves -v
The following user(s) said Thank You: jjdege

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

Time to create page: 0.107 seconds
Powered by Kunena Forum