Trying to configure Linuxcnc for a Syil SX3 mill

More
21 Oct 2012 20:48 #25571 by BigJohnT
Is the charge pump putting out a fast enough frequency to enable the board? Is there any indication of the board being enabled like a led?

Are the steppers energized ie. you can't turn them by hand when the power is applied?

What is the BASE_PERIOD in the ini file? Try setting that much lower like 100000 and see if the charge pump comes to life.

Do you have a link to the specs of the board?

John

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

More
22 Oct 2012 00:16 - 22 Oct 2012 00:17 #25576 by MetalByter
YIPPEE! It"s alive, thank you John and everybody else that helped.
I set the BASE_PERIOD to 43000 it was at 39370. It works from 40000 to 46000 so its now at 43000
All the axis move but only at about .25 in/ in and the charge pump drops out when the axis is moving fast.
I will have to set up the inputs next and then the spindle.
Thank you all,
Mark
Last edit: 22 Oct 2012 00:17 by MetalByter. Reason: error correction

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

More
22 Oct 2012 07:09 #25581 by Rick G
Great,
Sounds like progress.

All the axis move but only at about .25 in/ in

Sounds like you need to adjust your SCALE, I would start there.

Rick G

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

More
22 Oct 2012 11:02 #25589 by andypugh
MetalByter wrote:

I set the BASE_PERIOD to 43000 it was at 39370. It works from 40000 to 46000 so its now at 43000

Do you know if that is because of a finicky charge-pump, or is it a step-timing issue?
20-25kHz seems like a rather narrow band for a charge pump.

All the axis move but only at about .25 in/ inp/quote]
That's just a microstepping number error, I would guess.

and the charge pump drops out when the axis is moving fast.

It sounds like something still isn't quite right.
The LinuxCNC charge pump output ought to be rock-solid. (making pulses regardless of CPU load is one thing LinuCNC is good at)

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

More
22 Oct 2012 11:31 - 22 Oct 2012 11:31 #25590 by Rick G
What were the results of your latency test?


Rick G
Last edit: 22 Oct 2012 11:31 by Rick G.

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

More
23 Oct 2012 05:18 #25658 by MetalByter
The step size is correct, that was m error. the latency test showed 10000 and i set it to 15000.
All the axis move but if I hold down the shift key and an arrow key to rapid it moves for abut an inch and stops as if it is triggering an E-stop. The X axis also homes in the wrong direction and only the X and Z axis move to home. Still some work to do.
Mark

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

More
23 Oct 2012 08:40 - 23 Oct 2012 10:45 #25661 by Rick G

the latency test showed 10000 and i set it to 15000.


If your latency test showed 10,000 try using a base period of 2.5 to 3 times the result.
Were you able to disable the charge pump circuit and test the movement?

Have you run Stepconf to test the steppers? You can enter the results of the latency test and it will calculate the base thread and allow you to test the steppers one at a time. You can enter the info from John's conversion to test.

If a axis homes in the wrong direction try changing the sign of the homing velocity, such as.

HOME_SEARCH_VEL = -.25
HOME_LATCH_VEL = -.15

Rick G
Last edit: 23 Oct 2012 10:45 by Rick G.

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

More
25 Oct 2012 19:59 #25800 by MetalByter
Still more progress,
all the axis are now moving and homing correctly. Slower than I would like but not bad.
I could not disable the charge pump but it works if the base period is set to 43000
any thing else and it drops out. Right now my machine is set for 25 micro steps I will try it at 8
that should help the speed. I cant test the steppers 1 at a time because I have to manually set the base thread.
My home and limit switches are the same and I had to set them up as just home because when homing they would put it into an e stop on the X axis.
I will deal with the PWM spindle on pins 1 and 2 later.
I may end up buying a Messa board to take care of some of these problems but would like it running well enough to give LinuxCNC a good try first.

Mark

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

More
25 Oct 2012 20:36 #25801 by BigJohnT
When using the same switch for limit and homing you have to set the home offset so the home position is not sitting on the switch. In the Stepconf Wizard they call it Home Switch location:, If your search velocity is positive make the offset a negative number IIRC.

John

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

More
25 Oct 2012 23:17 #25817 by andypugh

My home and limit switches are the same and I had to set them up as just home because when homing they would put it into an e stop on the X axis.


There are INI file settings for that. Specifically HOME_IGNORE_LIMITS and HOME_IS_SHARED
www.linuxcnc.org/docs/html/config/ini_ho...homing-configuration
But you do need to have a home position which is back off the switch.

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

Time to create page: 0.111 seconds
Powered by Kunena Forum