585,733 active members*
4,948 visitors online*
Register for free
Login
Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2009
    Posts
    60

    Rotational axis

    Hi guys

    I built a CNC quilting machine for the wife and I'd like to replace the sewing machine motor with a stepper motor. The reason for this is I can control the speed better and run it at a lot lower speed.
    My break out board is 4 axis and I only use 2, X & Y. I know how to wire it up etc but not sure about gcode. If I issue a command to the Z axis which will be my motor, all other commands wait till this has been executed, right. So I should use the A axis? f so what would the code lines be to turn it on at the start of the cycle and off once all other commands have been completed?

    Thanks

  2. #2
    Join Date
    Mar 2003
    Posts
    35538

    Re: Rotational axis

    Wouldn't using it as a spindle work the best?
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Apr 2009
    Posts
    60

    Re: Rotational axis

    Quote Originally Posted by ger21 View Post
    Wouldn't using it as a spindle work the best?
    Thanks Gerry

    Not sure how to configure this as a spindle..... So would we just use any of the spare axis drives as per normal then do we just issue a different type of code to drive it?
    Never tried using a stepper this way, just read about turning it a set number of degree's.

    Could you please expand on how to configure this extra drive for rotation.

    Cheers, appreciate your help.

    Dave

  4. #4
    Join Date
    Mar 2003
    Posts
    35538

    Re: Rotational axis

    What control are you using?
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  5. #5
    Join Date
    Apr 2009
    Posts
    60

    Re: Rotational axis

    Quote Originally Posted by ger21 View Post
    What control are you using?
    Mach3 with a cheap Chinese USB breakout board.

  6. #6
    Join Date
    Mar 2003
    Posts
    35538

    Re: Rotational axis

    Then you just configure the axis as a step/direction spindle.
    You then can start and stop it with M3/M5, and use the S word to control the speed.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  7. #7
    Join Date
    Apr 2009
    Posts
    60

    Re: Rotational axis

    Cool, sound easy. I'll give it a try when I return home from work next week.

    Thanks

  8. #8
    Join Date
    Sep 2006
    Posts
    6463

    Re: Rotational axis

    Hi Ger....I pondered this question and correct me if I'm wrong...…..as he is only using the X and Y stepper drivers wouldn't it be simpler to use one of the other drivers....the Z axis one.....to control the speed of the motor by giving it a G1 and feed rate command in G code?.....calculating the feed rate to get an equivalent rotational speed shouldn't be too hard.
    Ian.

  9. #9
    Join Date
    Apr 2009
    Posts
    60

    Re: Rotational axis

    Hi Ian

    I thought about this but doesn't that line of gcode that controls the Z axis have to complete before the next line can start?

Similar Threads

  1. Axis Parameters for Rotational Axis in KMotionCNC
    By HLKTech in forum Dynomotion/Kflop/Kanalog
    Replies: 2
    Last Post: 03-21-2016, 02:00 AM
  2. rotational A axis with grinder
    By khaledahameed in forum DIY CNC Router Table Machines
    Replies: 0
    Last Post: 10-18-2015, 12:00 PM
  3. Rotational axis (a) feedrates REALLY SLOW!
    By rcsimpson in forum BobCad-Cam
    Replies: 7
    Last Post: 12-02-2011, 06:27 AM
  4. 4 axis rotational cutting problem
    By kilrabit in forum MadCAM
    Replies: 2
    Last Post: 11-30-2010, 02:26 AM
  5. home switch for rotational axis
    By xyz100 in forum DIY CNC Router Table Machines
    Replies: 1
    Last Post: 07-31-2006, 07:14 PM

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
  •