Trying to configure Linuxcnc for a Syil SX3 mill
- BigJohnT
- Offline
- Administrator
- Posts: 7000
- Thank you received: 1172
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.
- MetalByter
- Offline
- Junior Member
- Posts: 26
- Thank you received: 0
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
Please Log in or Create an account to join the conversation.
- Rick G
- Offline
- Junior Member
- Posts: 26
- Thank you received: 155
Sounds like progress.
Sounds like you need to adjust your SCALE, I would start there.All the axis move but only at about .25 in/ in
Rick G
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
- Posts: 23178
- Thank you received: 4860
Do you know if that is because of a finicky charge-pump, or is it a step-timing issue?I set the BASE_PERIOD to 43000 it was at 39370. It works from 40000 to 46000 so its now at 43000
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.It sounds like something still isn't quite right.and the charge pump drops out when the axis is moving fast.
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.
- Rick G
- Offline
- Junior Member
- Posts: 26
- Thank you received: 155
Rick G
Please Log in or Create an account to join the conversation.
- MetalByter
- Offline
- Junior Member
- Posts: 26
- Thank you received: 0
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.
- Rick G
- Offline
- Junior Member
- Posts: 26
- Thank you received: 155
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
Please Log in or Create an account to join the conversation.
- MetalByter
- Offline
- Junior Member
- Posts: 26
- Thank you received: 0
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.
- BigJohnT
- Offline
- Administrator
- Posts: 7000
- Thank you received: 1172
John
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
- Posts: 23178
- Thank you received: 4860
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.