Lichuan 4 axis stepper need help-

More
05 Feb 2026 07:53 #342455 by NWE
Replied by NWE on topic Lichuan 4 axis stepper need help-
It moved!
I only tried the second motor yet with my finger on the shaft
halcmd: setp lcec.0.0.1-target-position 0
halcmd: setp lcec.0.0.1-target-position 20
halcmd: setp lcec.0.0.1-target-position 0
halcmd: setp lcec.0.0.1-target-position 20
halcmd: setp lcec.0.0.1-target-position 0
halcmd: setp lcec.0.0.1-target-position 20

each time I felt a twitch

Now I better grab some sleep

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
05 Feb 2026 07:55 #342456 by Hakan
Replied by Hakan on topic Lichuan 4 axis stepper need help-
Nope, design a machine instead.
The following user(s) said Thank You: NWE

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
05 Feb 2026 08:14 #342457 by rodw
Replied by rodw on topic Lichuan 4 axis stepper need help-
found it! I hope. More in a minute!
@hakan Yes, I experimented until I got a max velocity of 2000 mm/min which was roughly 400 rpm! So no fb when homing is not fixed. That I want to sort out. I'll stay on this config until I work this drive out

@NWE In the windows config program Plug it into the USB on the drive. It is safe to leave plugged into Linuxcnc (check thw com port in Device manager) before ruunning the software.

There was a setting  #25 PA_055 "The percentage unit of current of the lock machine" was set to 40%. Changed it back to 100%
I had previously set the current #21 PA_051 to 2 amps (2000 mA) so it did not have much) So now I will play with max velocities now to confirm its what I think it is.
 
The following user(s) said Thank You: NWE

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
05 Feb 2026 08:43 #342458 by Hakan
Replied by Hakan on topic Lichuan 4 axis stepper need help-
Are the settings only possible through their software?
There are no SDOs for setting such things? Like Rtelligent has?

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
05 Feb 2026 09:09 #342459 by rodw
Replied by rodw on topic Lichuan 4 axis stepper need help-

Are the settings only possible through their software?
There are no SDOs for setting such things? Like Rtelligent has?

Yes there is. I will load the sdo docs on my NAS later, Seems like the app gives you access to all the SDOs and you can save them to a text file for later reimport so if you had a few of these drives it would be easy. The sdo docs sometimes have a better description.  You could make these settings from the command line using the ethercat app without putting in your XML. They show as bring Read/Write so hopefully they can be accessed when homing.eg reduce motor power when homing

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
05 Feb 2026 12:22 #342468 by rodw
Replied by rodw on topic Lichuan 4 axis stepper need help-
So I had this theory that at default 10000 steps/rev it was running out of bandwidth when it got to 2000 mm/min (400 rpm). S0 I changed the steps to 1000 steps/rev which I assumed might get me to 10 x 2000 = 20000 mm/min
This let me get up to 8500 mm/min maximum velocity. But It did not get me to the expected 20000 mm/min (10 x 2000)
So definitely reduce the steps/rev if top end speed is important to you. I think you'll need to tweak the steps/rev to suit your design parameters.

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
05 Feb 2026 12:31 - 05 Feb 2026 12:32 #342469 by Hakan
Replied by Hakan on topic Lichuan 4 axis stepper need help-
If the drive is reducing the speed by itself you will get following errors.
Otherwise it's the settings in the ini file that are throttling the speed.
Last edit: 05 Feb 2026 12:32 by Hakan.

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

  • rodw
  • rodw's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
05 Feb 2026 12:52 #342470 by rodw
Replied by rodw on topic Lichuan 4 axis stepper need help-

If the drive is reducing the speed by itself you will get following errors.
Otherwise it's the settings in the ini file that are throttling the speed.

Yeh, that's what I have been playing with to determine where to set max velocity. I remembered from when I set up my plasma on a Mesa card to see how much of its 10 Mhz bandwidth I could use that there was a physical limit to how fast you could step in the real world. That's why I cut back the settings here. The design target was 10240mm/min so it fell a bit short, But the RPM is still quite respectable. I've had enough for one night.

I also might try increasing the amps a bit too

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

  • Hakan
  • Away
  • Platinum Member
  • Platinum Member
More
05 Feb 2026 18:16 #342488 by Hakan
Replied by Hakan on topic Lichuan 4 axis stepper need help-
I doubt it uses step/dir internally. With a built in driver it most likely
skips that and energizes the coils more directly.
At last that's what I would do.
And then it keeps the count just as a way to determine position,
but not connected to a performance parameter.

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

Time to create page: 0.118 seconds
Powered by Kunena Forum