Hi Endian, first of all, thanks for replying.
Your comments make a lot of sense, although I think you're mixing up issues, haha. In the GitHub discussion, I was talking with Grandiximo about the EL7342 module and wanting to use it in velocity mode to use the internal PID to control speed and close position in Linux CNC. I've tested this, and it works quite well, I should add. On the other hand, I mentioned that after testing it on the machine, it's too small for my needs because my motor consumes too much power, hence the need to migrate to an AM8131 servo motor with an EL7221-9014 driver.
The envelope and card analogy was a good one. I'm not an Ethercat expert; my knowledge is more intermediate/basic. I've only tried a few things that have worked quite well so far, so I need to read your GitHub reply very carefully, hehe.
You asked me about my main problem. In my previous post, I asked a few questions, and from four to what I need, I'd now reduce them to three:
1- Is the EL7221-9014 module actually compatible with the lcec_el7211.c driver?
2- Would I have to use the driver, configuring the ethercat_conf.xml file for the EL7201-9014 module, even though the actual module is the EL7221-9014?
3- Does anyone have experience with an EL7221-9014 module who could offer some help?
To further describe the architecture I want to use, I'd like the module to handle the speed loop and close the position loop in Linux CNC. From what I've read, I believe the lcec_el7211.c driver practically works this way; I see that the command pins are for speed and provide speed and position feedback.
From your response on GitHub, I gather it would be best to close both loops in LinuxCNC. I'd have to test it, however, my experience with this architecture and the modifications made to the EL7342 module worked quite well. I plan to perform the homing using LinuxCNC.
I saw that in a previous post on this forum you mentioned wanting to try an EL7221 module. I'd like to know:
-- Which driver did you use, lcec_el7211.c?
-- Do you have the same hardware, EL7221-9014?
I always greatly appreciate the help I've received from this forum, so thank you very much in advance. Best regards.