Hello Guest it is March 28, 2024, 09:27:50 AM

Author Topic: Can't get the spindle/pulley calibration figured out  (Read 16520 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Can't get the spindle/pulley calibration figured out
« Reply #20 on: January 01, 2011, 05:26:08 PM »
The shuttle seems to be hard coded into Mach for some reason so even disabling in the plugins config has no affect as you have found out ;)

If you command the max speed that you have set in the spindle pulleys page do you get 10v out?
Hood

« Last Edit: January 01, 2011, 05:27:52 PM by Hood »

Offline Vogavt

*
  •  260 260
    • View Profile
Re: Can't get the spindle/pulley calibration figured out
« Reply #21 on: January 01, 2011, 05:58:26 PM »
Didn't know it was hard coded. Will rename per your advice.

I see you're bound and determined to break my gears! LOL!

Okay, I have the Pulley Number 1 selected which has min 500 and max 1800, ratio 1.

When I start off with M3S500 the spindle moves, go to S60 (5v), go to S1200 still okay (10v) , go to S1500, spindle shuts down.

The odd thing is I can input on the Motor tuning for the spindle anything <= 1500.  If I put a value higher than that it just reverts to 1500 as stated earlier.

Do I need to set this value to 1200 since that's what producing 10v?

I guess what I'm saying is that the max speed of the motor is what it is at 10v. Now all I have to do is equate that to the spindle speed. (I think)  But back to square one, how do I tell Mach what that speed is if it isn't through the pulley ratio.

« Last Edit: January 01, 2011, 06:01:20 PM by Vogavt »

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Can't get the spindle/pulley calibration figured out
« Reply #22 on: January 01, 2011, 06:12:08 PM »
Ok you need to output 25KHz for you to get  10v  according to the C11 manual so if using a kernel of 25KHz then you need to slide the Velocity to its max so that when commanding the max spindle speed it will be 25KHz. As mentioned earlier the max Velocity at 25KHz kernel with 1000 steps per unit will be 1500units per minute so you will never get higher than that unless you alter the kernel but I dont think you need to.
I think what you need to do is unhook your motor controller from the C11 and then connect a voltmeter instead then command full speed and then adjust the pot on the C11 so that it puts out 10v, you can then command half speed and confirm it only outputs 5v.
The manual however isnt very clear so another way would be to alter the steps per unit to get your max velocity in Motor tuning and that may work.
For example if your max spindle speed is 6000 rpm then that is 6000 units per min. At a kernel of 25KHz and a max velocity of 6000 then the steps per unit required would be (25,000/6,000) x 60 = 250

Hood

« Last Edit: January 01, 2011, 06:15:58 PM by Hood »

Offline Vogavt

*
  •  260 260
    • View Profile
Re: Can't get the spindle/pulley calibration figured out
« Reply #23 on: January 01, 2011, 06:44:50 PM »
Disconnected the controller board and here's what I measured:

S500 = 4v
S1200 = 10v
S1300 = 11v
S1500 = 13v

I stopped at S1500 until further instruction as I'm not sure how much voltage I need to output before something blows.

Are you saying that I should set it to S1500 and back the volts down to 10v at that commanded speed?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Can't get the spindle/pulley calibration figured out
« Reply #24 on: January 01, 2011, 06:55:29 PM »
OK what I think I would try is set the steps per to 250 and then you should get the velocity to 6000 (think you said that was the max) then command a S6000 and alter the pots on the C10 so you are getting 10v at that commanded speed.
Hood
« Last Edit: January 01, 2011, 06:57:40 PM by Hood »

Offline Vogavt

*
  •  260 260
    • View Profile
Re: Can't get the spindle/pulley calibration figured out
« Reply #25 on: January 01, 2011, 07:20:18 PM »
Once I set the step per to 250, I could then change the Velocity to 6000.

Now to be clear, do you want me to do the tweaking with the controller board connected and under a load or do it without the controller board connected?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Can't get the spindle/pulley calibration figured out
« Reply #26 on: January 01, 2011, 07:26:42 PM »
I would just concentrate with getting 10v out when commanding S6000 and 5v When commanding S3000 etc. Then once you have that set correctly you can hook up the controller and adjust that if there is adjustment.

Hood

Offline Vogavt

*
  •  260 260
    • View Profile
Re: Can't get the spindle/pulley calibration figured out
« Reply #27 on: January 01, 2011, 07:58:53 PM »
Well I had to back the pot all the way down to where it wouldn't go any lower before I could get the 10v at 6000.

In the meantime, I now can't get the X-Axis to move. The Y & Z are fine. I can see the LED light up on the C11G board, but the motor's not even attempting to move. I didn't touch any of its wiring. I first noticed it would move right after disconnecting the controller board wires from the C11. I didn't say anything, just thought it would possibly pick up again on the power cycling, but no joy.

I'm going to reload my saved copy of xml and start again from there.

Also, I set my pot back to where it was before all this.

I'm about ready to call it a night. Been a long day.

Thanks again for your trouble of hanging in there with me,

Regards,
Vogavt

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Can't get the spindle/pulley calibration figured out
« Reply #28 on: January 01, 2011, 08:02:56 PM »
Ok well the manual seems to say set to max velocity with a step per at 1000 but it doesnt explain much more from what I could see, so might be best going back to that.

I think Mach should output whatever you have in the spindle pulley as a max but from your earlier tests it didnt seem to do that.
Might be best contacting Arturo to see if he can advise how to set up his board.
Hood

Offline Vogavt

*
  •  260 260
    • View Profile
Re: Can't get the spindle/pulley calibration figured out
« Reply #29 on: January 01, 2011, 08:12:53 PM »
Loaded the saved xml........ X-axis working again, whew!!! ;D ;D ;D

Will give Arturo a shout later.

Happy New Year!!!