Lichuan 4 axis stepper need help-

More
8 months 3 weeks ago #342455 by NWE
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 to join the conversation.

More
8 months 3 weeks ago #342456 by Hakan
Nope, design a machine instead.

Please Log in to join the conversation.

More
8 months 3 weeks ago #342457 by rodw
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.
 

Please Log in to join the conversation.

More
8 months 3 weeks ago #342458 by Hakan
Are the settings only possible through their software?
There are no SDOs for setting such things? Like Rtelligent has?

Please Log in to join the conversation.

More
8 months 3 weeks ago #342459 by rodw

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 to join the conversation.

More
8 months 3 weeks ago #342468 by rodw
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 to join the conversation.

More
8 months 3 weeks ago #342469 by Hakan
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.

Please Log in to join the conversation.

More
8 months 3 weeks ago #342470 by rodw

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 to join the conversation.

More
8 months 3 weeks ago #342488 by Hakan
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 to join the conversation.

More
8 months 3 weeks ago #342508 by rodw

Its definitely a performance parameter for this drive. Maybe it isn't on their matched motors. NWE can confirm on his mother's eventually.
But you have given me a thought. If I changed parameters that I expected to get max velocity from 2000 m/m to 20000 mm/min and only got 8500 mm/min, I should be able to increase the step count from 1000 now without loosing performance.

Another thought I had which we can't do on this drive is on those machines with a torque reduction pdo, we could replicate what my step boost component does which is to reduce the torque (well curent in that case) when the motor is not accellerating to allow the motor to cool when not working hard. I used 50% current reduction but the maths indicates you can go a lot lower perhaps as low as 10-15%) This gives a massive performance improvement

Please Log in to join the conversation.

Time to create page: 0.131 seconds
Powered by Kunena Forum