Mesa 5i25/7i76 + driver leadshine DM2282 digital

More
9 years 9 months ago #85645 by echesortux
Hello Squan09 unfortunatly we couldn't solve the problem completly. what we do was make a downgrade from linuxcnc 2.7 to 2.6 that solve the problem a bit but we are not able to set the step space less than 3500. at 2500 the motors doesn't move. tomorrow i will post my configuration maybe it can be useful for you.

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

More
9 years 9 months ago #85646 by squan09
Thanks. Do you know roughly how fast you are able to move the motors in RPM? Is it the servo period that will limit the max speeds or are there other parameters that I can change to maximize RPMs?

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

More
9 years 9 months ago #85648 by PCW
Can you post your hal and ini files?

The servo period does not affect the maximum velocity

I have a test config that runs 120000 ipm =~ 90 MPH (10 MHz step rate) with a 1 KHz
servo thread

The step space really cannot affect whether the drive moves or not
(at least until you get to the high speeds)

Many chinese drives will not work at advertised timings

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

More
9 years 9 months ago #85664 by squan09
Here are the .ini and .hal files I am using. I am currently focused on the X axis so the others can be ignored. I am using the drive setup with 8x microstepping and it is not attached to any lead screws for testing. For now I would like to tune it to get performance similar to when I use the auto tune program supplied by Leadshine.

I am also using the drive in the common anode cofiguration (image attached), with PUL+ and DIR+ connected to +5Vp on pin 6 on the 7i76 nad PUL- and DIR- connected to STEP0- and DIR0- on the 7i76.

Please let me know if there is any other info I can provide and thanks for the help.

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

More
9 years 9 months ago - 9 years 9 months ago #85666 by PCW
A couple of observations:
I looks like you have only fixed the max_error and PID values for the X axis

also the X axis has some odd settings (max velocity of 50 IPS but max output of 6.25 IPS)
I would fix the max _error/PID values for all axis and remove all the max_output statements as a start

EDIT: in fact with the max_output setting of 6.25 and a step scale of 1600 and 1/8 ustep ratio (1" per turn)
I would expect to throw a following error at 375 RPM
Last edit: 9 years 9 months ago by PCW.
The following user(s) said Thank You: squan09

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

More
9 years 9 months ago #85667 by squan09
Thank you. Changing MAX_OUTPUT was exactly what I needed. I was not able to remove it though. I got an error that the variable was not found, so I just changed it to be equal to STEPGEN_MAXVEL. I've attached my updated .hal and .ini for reference.

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

Moderators: cmorley
Time to create page: 0.135 seconds
Powered by Kunena Forum