asd-a2-e ... lcec driver?

More
26 Dec 2025 13:42 #340522 by Beovoxo
Replied by Beovoxo on topic asd-a2-e ... lcec driver?
I have thought of it but i havent the skills yet to build a new driver ..
the drive is
cdn.delta-emea.com/cs/download/file/4641...2_UM_EN_20201209.pdf

Ok is CSP mode only motor encoder ? i am not sure at all now..

when i started the build i planned to use
6.2.1 Position Command in PT Mode
Becurse of the feedback from the scale :)

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

More
26 Dec 2025 16:40 - 26 Dec 2025 16:41 #340525 by Hakan
Replied by Hakan on topic asd-a2-e ... lcec driver?
Best you make sure that your drive is indeed an Ethercat drive first of all.

If so, I think you can try this small example.
github.com/dbraun1981/hal-cia402/tree/main/example
I wouldn't be surprised if it works.
Some drives need some additional settings, if you are lucky yours will run directly.
Anyway, this little example shows the structure of how to connect an Ethercat servo drive to LinuxCNC.

The encoder position is used internally in the drive for feedback.
The encoder position is feed back to linuxcnc also, see the example hal file.
After you get it going, you should tune the drive's PID parameters,
just like is needed for every servo drive.



 
Last edit: 26 Dec 2025 16:41 by Hakan.

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

More
29 Dec 2025 10:53 - 30 Dec 2025 13:55 #340646 by cncfreak
Replied by cncfreak on topic asd-a2-e ... lcec driver?

Hi.
I set up my machine and everything worked for me, but there is a small problem: The direction of movement of the X-Axis is not up to standard.
Please tell me how to change the direction of movement of an axis on a machine? How to swap + and - places? The machine is assembled on an ASD-A2 EtherCat. System LinuxCNC 2.9.2.
I tried to configure the change using scale using the following code:net x-vel-cmd    =>  scale.3.in
setp scale.3.gain -1
net x-vel-cmd-DAC  scale.3.out  =>  lcec.0.X.srv-vel-cmdand changing the .iniENCODER_SCALE = -1but the machine goes crazy and does not work normally.

Its the servo parameter P1-01 = 0x010C or 0x000C
Last edit: 30 Dec 2025 13:55 by cncfreak.

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

More
29 Dec 2025 14:40 - 30 Dec 2025 13:55 #340660 by cncfreak
Replied by cncfreak on topic asd-a2-e ... lcec driver?

Hi.
I set up my machine and everything worked for me, but there is a small problem: The direction of movement of the X-Axis is not up to standard.
Please tell me how to change the direction of movement of an axis on a machine? How to swap + and - places? The machine is assembled on an ASD-A2 EtherCat. System LinuxCNC 2.9.2.
I tried to configure the change using scale using the following code:net x-vel-cmd    =>  scale.3.in
setp scale.3.gain -1
net x-vel-cmd-DAC  scale.3.out  =>  lcec.0.X.srv-vel-cmdand changing the .iniENCODER_SCALE = -1but the machine goes crazy and does not work normally.

try the P1-01 servo parameter.
Last edit: 30 Dec 2025 13:55 by cncfreak.

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

More
21 Jan 2026 09:49 #341634 by Mr. Mass
Replied by Mr. Mass on topic asd-a2-e ... lcec driver?
I'm trying to figure out how to configure delta a2-e. I did as described in this thread, and the ethercat slave command returns:
0   0:0   PREOP        ASDA-A2-E
But I still get an error and don't understand what to do. Any help would be appreciated.

File Attachment:

File Name: ethercat-conf.xml
File Size:0 KB

File Attachment:

File Name: linuxcnc_report.txt
File Size:6 KB
Attachments:

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

More
21 Jan 2026 10:03 #341635 by cncfreak
Replied by cncfreak on topic asd-a2-e ... lcec driver?
The *.xml file is not attached. Has 0Kb file size.

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

More
21 Jan 2026 16:31 #341653 by jjdege
Replied by jjdege on topic asd-a2-e ... lcec driver?
HI
the .xml file should look like this, I think
  

File Attachment:

File Name: ethercat-c...1-21.xml
File Size:0 KB
Attachments:

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

More
21 Jan 2026 18:06 #341661 by Mr. Mass
Replied by Mr. Mass on topic asd-a2-e ... lcec driver?
The file opens for me, 0kb seems to be a display error. Here's what's in this file:

<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1000">
<!-- Joint 0 -->
<slave idx="1" type="DeASDA" name="x-axis">
<modParam name="opmode" value="CSV"/>
</slave>
</master>
</masters>

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

More
21 Jan 2026 19:21 #341666 by cncfreak
Replied by cncfreak on topic asd-a2-e ... lcec driver?
Try this xml file.  

File Attachment:

File Name: ASDA_A2E.xml
File Size:2 KB
 

File Attachment:

File Name: ASDA_A2E.xml
File Size:2 KB
Attachments:

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

More
22 Jan 2026 12:18 #341695 by Mr. Mass
Replied by Mr. Mass on topic asd-a2-e ... lcec driver?
It worked, thank you.

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

Time to create page: 0.141 seconds
Powered by Kunena Forum