thank you, the halname did the trick, i changed:
setp hal_pru_generic.pwmgen.00.out.00.pin 915 setp hal_pru_generic.pwmgen.00.out.00.enable 1 setp hal_pru_generic.pwmgen.00.out.00.value 0.0 net spindle-speed-cmd motion.spindle-speed-out-abs => hal_pru_generic .pwmgen.00.out.00.value net spindle-on motion.spindle-on => hal_pru_generic.pwmgen.00.out.00.enable to: setp hpg.pwmgen.00.out.00.pin 915 setp hpg.pwmgen.00.out.00.enable 1 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 => hpg.pwmgen.00.out.00.enable but somehow the motor, as i turn the machine on, starts to rotate like it vibrates (turns on and off like 20-30hz) and when i press the spindle cw button at 100%, the motor turns smooth but if i use spindle override it vibrates, but also spins, more, the more i go to 0% (even at 0% the motor vibrates at a low frequency) m3 and m5 commands as well as spindle speed commands are ignored = no change i have connected 5v to the extruder power input (P402) but no GND connected on the terminal because i am using the extruder 0 output for PWM (i know it is for 12-24v but the motor controller works with 5v) Am Donnerstag, 22. September 2016 16:14:28 UTC+2 schrieb Charles Steinkuehler: > > On 9/22/2016 8:51 AM, Sag ich Dir nich wrote: > > by "pin XXXX" 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 > > setp hal_pru_generic.pwmgen.00.out.00.enable 1 > > setp hal_pru_generic.pwmgen.00.out.00.value 0.0 > > net spindle-speed-cmd motion.spindle-speed-out-abs => > > hal_pru_generic.pwmgen.00.out.00.value > > net spindle-on motion.spindle-on => > hal_pru_generic.pwmgen.00.out.00.enable > > > > and the error: > > > > CRAMPS.hal:33: parameter or pin ´hal_pru_generic.pwmgen.00.out.00.pin´ > not found > > 5607 > > > > i have uploaded the linuxcnc log file > > The log file helps, but you should have also provided your HAL file, > particularly since the error is telling you the problem is on line 33. > > I suspect you are either loading the hal_pru_generic driver with the > default halname (in which case it will likely fail to load because > some pin names are too long) or you are loading it with halname=hpg > and the pin name on line 33 of your HAL file should be > "hpg.pwmgen.00.out.oo.pin" > > -- > Charles Steinkuehler > [email protected] <javascript:> > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
CRAMPS.ini
Description: Binary data
CRAMPS.hal
Description: Binary data
