586,115 active members*
3,435 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2007
    Posts
    44

    can I output square waves for step signal?

    I have some old stepper drives that i am trying to retrofit to PC control, and i need square waves as a step pulse. the "on" and "off" time should be approximately equal. Can EMC do this?

    As an alternate, pulsewidths of 50-100 microseconds seem to work acceptably, using TurboCNC, but i'd really like to use EMC2. I can't figure out how to adjust the pulsewidth.

    The EMC2 documentation loosely says it turns the step pulse on when it needs to, and turns it back off during the next base period.

    Obviously i can't run high speeds with this setup, but i don't need to either. The max speed my these drives and motors can support is about 2000hz

    So, can i output square waves, or just longer pulses?

  2. #2
    Join Date
    May 2007
    Posts
    781
    You could put a harware pulse stretcher in the circuit.

    http://www.electronics-lab.com/artic.../555basics.htm

  3. #3
    Join Date
    Jan 2007
    Posts
    44
    That's currently the direction i'm heading, however I was trying to avoid that.....i'm only mediocre with electronics. Doing it with software would make my interface less complicated, and given my own history with electronics, more likely to actually work......

  4. #4
    Join Date
    Feb 2006
    Posts
    45
    because you have a very slow speed limit, "The max speed my these drives and motors can support is about 2000hz" would you not just set the base period to something real slow? If you turn off the "pulse doubler", it is new and I am not sure where to do this, maybe just don't turn it on????, then the step pulses are turned on in one period and turned off in the next.

  5. #5
    Join Date
    Jan 2006
    Posts
    2985
    you have a PM



    Matt

  6. #6
    Join Date
    Jul 2003
    Posts
    1754
    if you look under parameters here http://linuxcnc.org/docs/2.2/html/ma...stepgen.9.html

    you will see there is steplen and stepspace... I think this is what you want to use to do what you want.

    This is a step and direction drive - correct? (not quadrature?)

    sam

Similar Threads

  1. Parallel port: How to check Step signal?
    By satanicoo in forum CNC Machine Related Electronics
    Replies: 6
    Last Post: 07-08-2010, 10:00 PM
  2. No Output Signal
    By tz1238 in forum Machines running Mach Software
    Replies: 1
    Last Post: 01-27-2008, 09:57 PM
  3. Diag: Output Signal: Enable 1 help...
    By Flatline's Up! in forum Syil Products
    Replies: 11
    Last Post: 04-06-2007, 08:11 AM
  4. Step signal generater
    By andrewbishop66 in forum CNC Machine Related Electronics
    Replies: 13
    Last Post: 02-20-2007, 09:41 AM
  5. Erratic step signal?
    By Tim Montzka in forum DNC Problems and Solutions
    Replies: 0
    Last Post: 07-31-2006, 10:02 PM

Posting Permissions

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