Standalone stepper control - Page 2


Page 2 of 2 FirstFirst 12
Results 13 to 21 of 21

Thread: Standalone stepper control

  1. #13
    Gold Member Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    1595
    Downloads
    0
    Uploads
    0

    Default Re: Standalone stepper control

    OK, I wired it up. Works perfectly!

    I wired A to Pulse + (PUL+) and /B to Direction + (DIR+) and no switches required for FOR/REV The motor follows the direction of the handwheel. I set the drive at 400 pulse per rev (1/2 step)

    I used a 5V wall wart for 5V encoder power.



  2. #14
    Registered
    Join Date
    Mar 2004
    Location
    Wisconsin
    Posts
    312
    Downloads
    17
    Uploads
    0

    Default Re: Standalone stepper control

    Quote Originally Posted by Jim Dawson View Post
    OK, I wired it up. Works perfectly!
    Neat ! Thanks for actually trying it. I was wondering about the Dir change, but sounds like that worked too.

    So, no issue with dropped steps because of pulse width ? Or, is it possible one can drop steps based on turning speed, but it wouldn't really matter if it did because of the particular use ?

    Maybe I have just seen too many really fussy drivers in need of defined perams... (Polarity, pulse width, time between steps, direction-step setup delay time and direction lag, etc.)

    The reason I am curious is simply what stops one from paralleling into any driver input along side of a control software signal ? Sure, the software would not have a clue and fail if you tried using it in the middle of a job, but there are times where I would just love to jog a machine somewhere without care of what the control thinks location is... times when I don't need.the control per say... sort of use three to create "digital hand wheels" ? (probably put diodes in the MPG lines so a control can not send pulses to the MPG, or relay the control wires to only work if the control is not enabled)

    Sounds like I have another project to try out........

    Chris L


  3. #15
    Gold Member Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    1595
    Downloads
    0
    Uploads
    0

    Default Re: Standalone stepper control

    You are correct, in this application dropped steps would not matter. Besides, I don't think you could turn the handwheel fast enough to lose steps. The encoder outputs a nice clean 50/50 square wave, just what the driver wants to see.

    What you propose with putting the MPG in parallel with the controller may not work well. I think it would depend on the last state of the square wave from either the controller or the MPG. If the state was high, there would be no way to pull it low with the opposing device. The drive wants to see a state change to define a pulse. I think you would have to install a DPDT switch the PUL and DIR lines to choose between the devices.



  4. #16
    Registered KH0UJ's Avatar
    Join Date
    Jul 2016
    Location
    Philippines
    Posts
    458
    Downloads
    0
    Uploads
    0

    Default Re: Standalone stepper control

    Quote Originally Posted by datac View Post
    Neat ! Thanks for actually trying it. I was wondering about the Dir change, but sounds like that worked too.

    So, no issue with dropped steps because of pulse width ? Or, is it possible one can drop steps based on turning speed, but it wouldn't really matter if it did because of the particular use ?

    Maybe I have just seen too many really fussy drivers in need of defined perams... (Polarity, pulse width, time between steps, direction-step setup delay time and direction lag, etc.)

    The reason I am curious is simply what stops one from paralleling into any driver input along side of a control software signal ? Sure, the software would not have a clue and fail if you tried using it in the middle of a job, but there are times where I would just love to jog a machine somewhere without care of what the control thinks location is... times when I don't need.the control per say... sort of use three to create "digital hand wheels" ? (probably put diodes in the MPG lines so a control can not send pulses to the MPG, or relay the control wires to only work if the control is not enabled)

    Sounds like I have another project to try out........
    If you just want to control the spindle remotely away from your PC keyboard, might as well use a USB joystick, or the wireless one on XBOX units, use a keyboard to gamepad software to set the cursors, on my unit I used it all the time, used a 2 flute bit on plaining wooden materials to make it really flat before machining any work or design.

    http://www.cnczone.com/forums/attach...d=355992&stc=1

    Attached Thumbnails Attached Thumbnails Standalone stepper control-2-jpg  


  5. #17
    Registered
    Join Date
    Mar 2004
    Location
    Wisconsin
    Posts
    312
    Downloads
    17
    Uploads
    0

    Default Re: Standalone stepper control

    [QUOTE=KH0UJ;2021764]If you just want to control the spindle remotely away from your PC keyboard, might as well use a USB joystick......./QUOTE]

    Yes, indeed, this works well. I do use a wireless game controller on my plasma table because of the freedom of it. I use JoytoKey to map my buttons, and am able to jog, set program zero, start and feed hold from it as well as a few other options.

    On rare occasion.. usually, if I have not used the machine for a while, I seem to wrestle with keeping either JoytoKey or the oe software recognizing that the game controller is in existence, but really, when it is connected, it is pretty much fault free and really inexpensive considering any other wireless options or even wired options.

    I had been thinking I wanted to try some other options where a device can perform keyboard emulation like that of Pokeys or Arduino on a lathe I have where having a wireless device to pick up each time makes no sense. But now that you bring this up, I may as well just rigid mount a game controller or re-purpose ones guts instead. It does work reliably, and again, really, really cheap.

    Sorry for the thread hijack, but I was curious about the straight up mpg option as a possible parallel.

    Chris L


  6. #18
    Registered
    Join Date
    Oct 2010
    Location
    Scotland
    Posts
    71
    Downloads
    0
    Uploads
    0

    Default Re: Standalone stepper control

    Jim,
    thanks very much for testing this out. I will give it a go at the weekend.



  7. #19
    Gold Member Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    1595
    Downloads
    0
    Uploads
    0

    Default Re: Standalone stepper control

    Quote Originally Posted by Web Goblin View Post
    Jim,
    thanks very much for testing this out. I will give it a go at the weekend.
    My pleasure. Happy to help out



  8. #20
    Registered
    Join Date
    Oct 2010
    Location
    Scotland
    Posts
    71
    Downloads
    0
    Uploads
    0

    Default Re: Standalone stepper control

    Jim,
    tested this out tonight on my bench power supply and it works perfectly.
    Many thanks for your help.

    Ian



  9. #21
    Gold Member Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    1595
    Downloads
    0
    Uploads
    0

    Default Re: Standalone stepper control

    I'm happy to hear it worked for you.



Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Standalone stepper control
Standalone stepper control