Time to setup my lathe with 7i76e

More
25 Feb 2018 21:48 - 25 Feb 2018 21:48 #106516 by rodw
Cool, one more step. Are you using 2.7 or master. Your code looks a bit different to mine so I suspect its 2.7.
Last edit: 25 Feb 2018 21:48 by rodw.

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

More
26 Feb 2018 07:53 #106526 by tecno
Still on 2.7

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

More
26 Feb 2018 08:37 #106529 by rodw

Still on 2.7


Thats what I thought. No wonder my suggestions did not work. All I've ever used is master

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

More
01 Mar 2018 16:09 #106813 by andypugh
Too late to the party but:

One way to select a jog increment from an analogue input would be with lincurve.
linuxcnc.org/docs/2.7/html/man/man9/lincurve.9.html
Quite a simple way to convert a continuous input into discrete outputs.

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

More
22 Mar 2018 20:06 #107734 by tecno
Been playing around with Backlash and I have some *issues* that I can not resolve.

MDI
Commanding z axis to move -10 and back to 0, F50 and all is well (within a couple 1/1000mm) but with F500 I get overshoot with a few 1/100 of a mm on both directions.

What parameters should I change?


How do I implement ILOWPASS to following HAL for MPG?

File Attachment:

File Name: CNC3000_20...3-22.hal
File Size:13 KB


Thankful for your advice
Cheers
Bengt
Attachments:

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

More
22 Mar 2018 20:48 #107735 by PCW
Overshoot is likely if you dont have enough acceleration headroom for the stepgen
when backlash compensation is enabled (basically the motion planner needs double
normal motions acceleration value when doing backlash compensation)

Typically you will need to set the stepgen maxaccel value to 2.5X the affected axis maximum
acceleration value to avoid issues.

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

More
22 Mar 2018 20:55 #107736 by tecno
Thanks for the explanation Peter, will have a go with higher values tomorrow.

I think my values are as below so 1200 should be 1800-2000, will try that.

MAX_VELOCITY = 300
MAX_ACCELERATION = 600
# The values below should be 25% larger than MAX_VELOCITY and MAX_ACCELERATION
# If using BACKLASH compensation STEPGEN_MAXACCEL should be 100% larger.
STEPGEN_MAXVEL = 400
STEPGEN_MAXACCEL = 1200

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

More
24 Mar 2018 18:44 #107782 by tecno
forum.linuxcnc.org/39-pncconf/33451-time...76e?start=200#107734

How do I implement ILOWPASS for my MPG for X/Z axis?

Been trying to solve the puzzle but no go. Above HAL works but I would like to have smoother movement.

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

More
24 Mar 2018 23:23 #107790 by rodw
There is an example in hte docs linuxcnc.org/docs/html/examples/mpg.html

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

More
25 Mar 2018 06:29 #107797 by tecno
It sure does but it is only with one MPG and I have two = one for each axis.

Have been trying but I cannot get it running.

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

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