Problems with Lichuan Ethercat servo drive

More
12 Feb 2025 00:20 - 13 Feb 2025 12:47 #321301 by LCR
Actually we are using 7.3 Periodic synchronous position mode (CSP mode)
 
Last edit: 13 Feb 2025 12:47 by LCR.

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

More
13 Feb 2025 14:12 #321437 by LCR
It looks like even in CSP mode, there is an option for Velocity Feed Forward. This is one of the biggest improvements a control loop can have. Has anyone tried this? 
60B1h 00 Speed offset

 
Attachments:

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

More
15 Feb 2025 14:04 - 15 Feb 2025 14:10 #321638 by LCR
 Please note this is not in anyway final. I just wanted to show how I am running and homing a gantry.
I would like to use the actual captured value of the index pulse, not just let LinuxCNC know that it's been hit, but at slow speeds it doesn't matter in my case.

File Attachment:

File Name: cia402_2025-02-15.hal
File Size:19 KB
 

File Attachment:

File Name: cia402_202...-15.comp
File Size:10 KB
 

File Attachment:

File Name: cia402_2025-02-15.ini
File Size:6 KB

 

File Attachment:

File Name: spindle_to_pyvcp.hal
File Size:1 KB
 

File Attachment:

File Name: ethercat-c...2-15.xml
File Size:7 KB
 

File Attachment:

File Name: spindle.xml
File Size:4 KB
Attachments:
Last edit: 15 Feb 2025 14:10 by LCR.
The following user(s) said Thank You: COFHAL

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

More
15 Feb 2025 14:12 - 15 Feb 2025 14:14 #321640 by LCR
more files

File Attachment:

File Name: vfd-CUMARK...file.ini
File Size:1 KB

File Attachment:

File Name: arduino-connector.py
File Size:17 KB

File Attachment:

File Name: vfdcumark.comp
File Size:1 KB

 
Attachments:
Last edit: 15 Feb 2025 14:14 by LCR.
The following user(s) said Thank You: COFHAL

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

More
18 Feb 2025 21:46 #321944 by LCR
Copying the velocity FF command from the comp file to the XML file significantly reduces following error to a ramp. I haven't really tuned the drive yet. If anyone has found an auto-tune button, please let me know.

.comp
  drv_target_velocity = (int32_t) (velocity_cmd * velo_scale);

.xml
<pdoEntry idx="60B1" subIdx="00" bitLen="32" halPin="target-velocity" halType="s32"/>

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

Time to create page: 0.081 seconds
Powered by Kunena Forum