. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #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?

  2. #2
    Quote Originally Posted by jolyonjenkins View Post
    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?
    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-out
    Last 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

  1. Question on Servo power output.
    By Zadig in forum General Discussion
    Replies: 6
    Last Post: 24-08-2017, 01:13 PM
  2. Output voltage from mains driver?
    By JW1977 in forum Motor Drivers & Controllers
    Replies: 8
    Last Post: 24-03-2017, 01:33 PM
  3. Output direct to machine
    By picyman in forum Vectric
    Replies: 4
    Last Post: 16-02-2014, 11:04 PM
  4. HPGL driver output
    By 2006Nobull in forum Computer Software
    Replies: 6
    Last Post: 07-10-2012, 08:49 PM
  5. 2 Machines 1 Switch for the output - Connections
    By Ian Hart in forum General Electronics
    Replies: 7
    Last Post: 02-04-2010, 02:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •