Thread: PWM output on CNC BOB
Hybrid View
-
23-04-2021 #1
Thanks.
But I don't think I've explained my confusion.
Assume the bob has the 12v in. There will be a variable DC voltage on the PWM pin. That voltage is controlled by the frequency of a signal on one of the pins, generated by linuxcnc. I can use stepconf to assign the pin that produces the signal. But how does the bob know which pin to expect the on?
-
23-04-2021 #2
You have to tell Lcnc which pin to send it to.
Can you post the config
#### Spindle stuff ###
net spindle-cmd-rpm => pwmgen.0.value
net spindle-on <= spindle.0.on => pwmgen.0.enable
net spindle-pwm <= pwmgen.0.pwm
setp pwmgen.0.pwm-freq 100
setp pwmgen.0.scale 1000
setp pwmgen.0.offset 0.1
setp pwmgen.0.dither-pwm true
net spindle-cmd-rpm <= spindle.0.speed-out
net spindle-cmd-rpm-abs <= spindle.0.speed-out-abs
net spindle-cmd-rps <= spindle.0.speed-out-rps
net spindle-cmd-rps-abs <= spindle.0.speed-out-rps-abs
net spindle-at-speed => spindle.0.at-speed
net spindle-cw <= spindle.0.forward
### Parport Pins ###
setp parport.0.pin-01-out-invert 1
net spindle-pwm => parport.0.pin-01-out These are the pins on the bob
net spindle-cw => parport.0.pin-14-out
net spindle-on => parport.0.pin-17-outLast edited by Clive S; 23-04-2021 at 03:34 PM.
..Clive
The more you know, The better you know, How little you know
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Question on Servo power output.
By Zadig in forum General DiscussionReplies: 6Last Post: 24-08-2017, 01:13 PM -
Output voltage from mains driver?
By JW1977 in forum Motor Drivers & ControllersReplies: 8Last Post: 24-03-2017, 01:33 PM -
Output direct to machine
By picyman in forum VectricReplies: 4Last Post: 16-02-2014, 11:04 PM -
HPGL driver output
By 2006Nobull in forum Computer SoftwareReplies: 6Last Post: 07-10-2012, 08:49 PM -
2 Machines 1 Switch for the output - Connections
By Ian Hart in forum General ElectronicsReplies: 7Last Post: 02-04-2010, 02:33 PM
Bookmarks