an CIA402 Stepper/Servo as Spindle

More
20 Nov 2025 13:02 #338794 by Red_D85
an CIA402 Stepper/Servo as Spindle was created by Red_D85
Hallo at all

how can i get an CIA 402 Ethercat stepper work as spindle? I had 3axes (X Y Z) that works. Anybody can help?

Greetings

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
20 Nov 2025 16:48 #338804 by Hakan
Replied by Hakan on topic an CIA402 Stepper/Servo as Spindle
You can use this component instead of the standard cia402 component.
github.com/MetalMusings/cia402pv
The drive uses PV (Profile Velocity) mode which is more suitable
for a spindle motor as it has its own speed ramp up and down.
 

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

More
20 Nov 2025 16:59 #338807 by Red_D85
Replied by Red_D85 on topic an CIA402 Stepper/Servo as Spindle
Hi Hakan
thank you
What should the whole thing look like in the hall and ini? is there an sample?
 

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
20 Nov 2025 17:00 #338808 by Hakan
Replied by Hakan on topic an CIA402 Stepper/Servo as Spindle
Yes there is an example. Two normal stepper drives and one stepper motor spindle.
In the example directory.
 
The following user(s) said Thank You: Red_D85, COFHAL

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

More
24 Nov 2025 11:48 #339131 by Red_D85
Replied by Red_D85 on topic an CIA402 Stepper/Servo as Spindle
Hello Hakan

can i had 2 instances Cia402

Cia402dBraun for xyz and cia402pv for spindle? did you know that?

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
24 Nov 2025 13:24 - 24 Nov 2025 13:52 #339144 by Hakan
Replied by Hakan on topic an CIA402 Stepper/Servo as Spindle
Yes, that's what I have in the example.

It might work with the cia402pv instead of the standard cia402 also in csp mode.
But I'm not sure, the goal with that component was to add PV, and I may have
broken csp. Not that I meant to, but I didn't check thoroughly.
Also the pv-mode=true and csp-mode=true doesn't work well together,
there should really be a new logic like op-mode=3 (for csp-mode)
Last edit: 24 Nov 2025 13:52 by Hakan.
The following user(s) said Thank You: Red_D85, COFHAL

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

Time to create page: 0.096 seconds
Powered by Kunena Forum