PWM to Pul/Step Signal.

Results 1 to 8 of 8

Thread: PWM to Pul/Step Signal.

  1. #1
    Member tantemay's Avatar
    Join Date
    Nov 2015
    Location
    Warendorf
    Posts
    260
    Downloads
    0
    Uploads
    0

    Default PWM to Pul/Step Signal.

    Hello. Is it possible to connect the PWM output signal directly to a stepper motor driver. So to the Pul / Step input of the driver.

    It works. But do I have to switch something in between? I don't want to destroy the board.

    Similar Threads:


  2. #2
    Member
    Join Date
    Nov 2008
    Location
    USA
    Posts
    644
    Downloads
    0
    Uploads
    0

    Default Re: PWM to Pul/Step Signal.

    No


    Sent from my iPhone using Tapatalk



  3. #3
    Member CitizenOfDreams's Avatar
    Join Date
    Nov 2012
    Location
    USA
    Posts
    1267
    Downloads
    4
    Uploads
    0

    Default Re: PWM to Pul/Step Signal.

    A stepper pulse generator board would convert PWM to Step/Dir, if you can find one in the frequency range you need. Connecting PWM directly do the Step input will not give you any meaningful results.

    https://www.aliexpress.com/item/1005002988610764.html



  4. #4
    Member tantemay's Avatar
    Join Date
    Nov 2015
    Location
    Warendorf
    Posts
    260
    Downloads
    0
    Uploads
    0

    Default Re: PWM to Pul/Step Signal.

    That doesn't get me anywhere. I want to use the PWM signal of the MK3 / 9 controller.



  5. #5
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    5717
    Downloads
    0
    Uploads
    0

    Default Re: PWM to Pul/Step Signal.

    As long as the controller is outputting a 5V PWM signal it should not damage anything, but I'm not sure how much control you will have over the stepper motor. Normally the PWM signal is fixed frequency with a variable duty cycle, where the normal step output is a variable frequency with a fixed 50% duty cycle.

    Jim Dawson
    Sandy, Oregon, USA


  6. #6
    Member tantemay's Avatar
    Join Date
    Nov 2015
    Location
    Warendorf
    Posts
    260
    Downloads
    0
    Uploads
    0

    Default Re: PWM to Pul/Step Signal.

    If I control it via MDI, it works.
    so:
    M63 P1 Q106

    Then the motor turns once per minute. Because the steps on the driver are set to 6400

    M63 P1 Q6400 would be 1x per second


    I would just like to put a menu in the toolbar where I can then select different frequencies.
    Unfortunately, I don't know the exact syntax for this.

    Last edited by tantemay; 08-30-2021 at 04:52 PM.


  7. #7
    Member tantemay's Avatar
    Join Date
    Nov 2015
    Location
    Warendorf
    Posts
    260
    Downloads
    0
    Uploads
    0

    Default Re: PWM to Pul/Step Signal.

    Code:
    cmd: "Machine.Output_PWM" image="BtnBottom/laser-beam.svg" imagechange="true" stroke=1.1 type=menu val="[0;0]@PWM1 0%|[0;25]@PWM1 25%|[0;75]@PWM1 75%|[0;100]@PWM1 100%"
    Unfortunately that does not work

    Because I think the E value is given and not the Q. But unfortunately I don't know.



  8. #8
    Member tantemay's Avatar
    Join Date
    Nov 2015
    Location
    Warendorf
    Posts
    260
    Downloads
    0
    Uploads
    0

    Default Re: PWM to Pul/Step Signal.



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

PWM to Pul/Step Signal.

PWM to Pul/Step Signal.