Re: [Machinekit] Re: CRAMPS PWM Spindle control

2016-09-22 Thread Sag ich Dir nich
with Halscope i wasnt able to get any information but halmeter i was, when spindle stop it said "0", when i pressed the "+" on the right side of stop button i get "1", when i press it again i get "101" and so on in 100 increment steps. i may ask the manufacturer about this problem Am

Re: [Machinekit] Re: CRAMPS PWM Spindle control

2016-09-22 Thread Charles Steinkuehler
On 9/22/2016 12:21 PM, Sag ich Dir nich wrote: > so now i added a scale (which is maximum rpm) and i can command various > speeds > but still the motor vibrates. somehow it sounds like it ramps up and down a > bit > when commanding for example 2000rpm. Noise could probably be, i may change >

Re: [Machinekit] Re: CRAMPS PWM Spindle control

2016-09-22 Thread Sag ich Dir nich
so now i added a scale (which is maximum rpm) and i can command various speeds but still the motor vibrates. somehow it sounds like it ramps up and down a bit when commanding for example 2000rpm. Noise could probably be, i may change the output to another port (had some coordinate moves with

Re: [Machinekit] Re: CRAMPS PWM Spindle control

2016-09-22 Thread Charles Steinkuehler
On 9/22/2016 10:02 AM, Sag ich Dir nich wrote: > > setp hpg.pwmgen.00.out.00.pin 915 > setp hpg.pwmgen.00.out.00.enable1 > setp hpg.pwmgen.00.out.00.value 0.0 > net spindle-speed-cmd motion.spindle-speed-out-abs => > hpg.pwmgen.00.out.00.value > net spindle-on motion.spindle-on =>

Re: [Machinekit] Stepper motor configuration

2016-09-22 Thread Charles Steinkuehler
On 9/22/2016 9:46 AM, euerka wrote: > > May I guess in this comment 320,000 KHz should be 320KHZ, is it? Yes, sorry. The speed required by your configuration was 320 KHz or 320,000 Hz. My goof on the extra zeros. > If PRU maximum pulse speed is 50KHZ, the max speed is 500? Because scale 100*

Re: [Machinekit] Stepper motor configuration

2016-09-22 Thread euerka
Dear Charles,Schooner, Bas de Bruijin, Due to time lag and working, sorry for late reply. could it be that instead of 4 rev/mm you have a reduction of 4 mm/rev ? > that would mean 100 full steps/mm and might make more sense. > First of all, I make mistake that is should be 4 rev/mm. So I

Re: [Machinekit] Re: CRAMPS PWM Spindle control

2016-09-22 Thread Charles Steinkuehler
On 9/22/2016 8:51 AM, Sag ich Dir nich wrote: > by "pin " i mean multiple pin names i tried for example "pin > bb_gpio.p9.out-15 does not exist". > > now i tried PRU PWM generation but also get an error, here is the > configuration: > > setp hal_pru_generic.pwmgen.00.out.00.pin 915 >