Thanks Thanks:  0
Likes Likes:  0
Needs Pictures Needs Pictures:  0
Picture(s) thanks Picture(s) thanks:  0
Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Join Date
    Mar 2007
    Location
    Melbourne - Mexico
    Posts
    655

    Default Dual driving x axis setup

    Can someone point me to the best way to drive my dual screw setup within Mach3 and my G540?

    I suspect I would need to connect the "x axis" and "a axis" output to each motor. Does the a axis slave to the x axis some how in Mach and what do I need to consider in the motor settings?

    I suspect I have to match on the following at least.

    1. Ramp accel/decel
    2. Steps
    3. Polarity for rotation

    Have I missed something?

    On another note, has anyone tried the free screen set from calypso ventures. I read about this a while back and liked how he changed the screens to suit a better work flow. I have downloaded the latest version, but need to upgrade my Mach 3 version first so I haven't used it for producing anything. This is the STDmill screen, not the new turning screen, however I'll need this for my next project which is to get the cnc lathe I have up and running.

  2. # ADS
    Google Adsense Advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many





     
  3. #2
    Join Date
    May 2003
    Location
    Perth WA
    Posts
    3,784

    Default

    Hi Mike
    Go Config Menu then Slave Axis.
    Screen attached shows X axis slaved to A.
    I set the same motor setting to each axis but Mach should be good enough to work it out if they vary.
    Cheers,
    Rod

  4. #3
    Join Date
    May 2003
    Location
    Perth WA
    Posts
    3,784

    Default

    Hi Mike,
    You most likely will have to run the A motor backwards so first time you jog do it gently so the gantry doesn't do the splits.
    Cheers,
    Rod

  5. #4
    Join Date
    Mar 2007
    Location
    Melbourne - Mexico
    Posts
    655

    Default

    thanks Rod,

    I thought i could connect one side up and float the other side (ie not connect the block to the gantry side) for the first run. This would allow me to check the direction of travel of the connection block from the linear nut.

    I was just looking at your Tubot photos online and noticed that you had an adjustment link from the screw nut plate to the gantry side. Did you need this fine adjustment to provide proper alignment between both sides of the gantry? I have noticed on my unit (still slightly out of square) that the left side hits just before the right side. I can try to take most of this out when i go over the unit and start to square it all up 100%, but should I incorporate some fine adjustment into the system just in case?

  6. #5
    Join Date
    May 2003
    Location
    Perth WA
    Posts
    3,784

    Default

    Quote Originally Posted by seafurymike View Post
    I thought i could connect one side up and float the other side (ie not connect the block to the gantry side) for the first run. This would allow me to check the direction of travel of the connection block from the linear nut.

    Good thinking


    I was just looking at your Tubot photos online and noticed that you had an adjustment link from the screw nut plate to the gantry side. Did you need this fine adjustment to provide proper alignment between both sides of the gantry? I have noticed on my unit (still slightly out of square) that the left side hits just before the right side. I can try to take most of this out when i go over the unit and start to square it all up 100%, but should I incorporate some fine adjustment into the system just in case?

    The brackets are there for fine tuning allignment of the screw to the gantry sides so the screw doesn't bind.
    To allign the gantry sides if you are using ballscrews you can turn one screw slightly. If you are using belts then loosen a pulley, allign, then tighten the pulley back up.

    .
    Cheers,
    Rod

  7. #6
    Join Date
    Mar 2007
    Location
    Melbourne - Mexico
    Posts
    655

    Default

    Ok, so i should look at adding the fine adjustment in so i can do the fine tuning too. I have added a couple of pictures showing the current setup. The screw will be covered up by a plate all the way along which i hope will keep all the crud off of it.

    One photo shows the steel adaptor plates I made up, which now need to have a thread added in the side for the adjustment screw. I can use a lock nut and put a fixed block on the gantry to give me the fixing position for the bolt. More maching, yipee. Been having lots of fun lately making those adapter blocks.

  8. #7
    Join Date
    May 2003
    Location
    Perth WA
    Posts
    3,784

    Default

    Hi Mike,
    Nice work.
    Square rails and extrusion should make it a strong machine. I enjoy the machining side of a build too.
    Cheers,
    Rod

  9. #8
    Join Date
    May 2005
    Location
    Cockatoo Vic
    Posts
    996

    Default

    During normal operation the slave just follows the master and the steps per, velocity and acceleration of the master is used. The tuning settings for the slave are ignored.

    The gotcha is, when you home with dual home switches, Mach decouples the slaved axis and then uses the slaves tuning settings for that side.

    This is when you will suddenly come unstuck if settings differ.

    Greg

  10. #9
    Join Date
    Mar 2007
    Location
    Melbourne - Mexico
    Posts
    655

    Default

    So is it typical to run dual home switches for the X Axis? I would have thought that at some stage I would "slam the gantry" against the end stop to ensure alignment. From here on cant i just home to one switch and assume both sides are aligned?

    I think i'm trying to get my head around how I would run/operate the machine over a period of time

    /M

  11. #10
    Join Date
    Feb 2004
    Location
    Oxley, Brisbane
    Age
    79
    Posts
    3,041

    Default

    Quote Originally Posted by Greolt View Post
    During normal operation the slave just follows the master and the steps per, velocity and acceleration of the master is used. The tuning settings for the slave are ignored.

    The gotcha is, when you home with dual home switches, Mach decouples the slaved axis and then uses the slaves tuning settings for that side.

    This is when you will suddenly come unstuck if settings differ.

    Greg
    I have dual axis on my machine with both axis having the same tunings, but i have yet to see Mach do this individual setting of the A and X axis. It just seems to do the A axis and forgets all about X.
    Bob Willson
    The term 'grammar nazi' was invented to make people, who don't know their grammar, feel OK about being uneducated.

  12. #11
    Join Date
    May 2003
    Location
    Perth WA
    Posts
    3,784

    Default

    Hi Bob,
    If you have a smoothstepper I am not surprised. I have not been able to get a repeatable homing on X/A with the smoothstepper.
    Just a check have you set general config to "Home slave with master" - see attached.
    Cheers,
    Rod

  13. #12
    Join Date
    Feb 2004
    Location
    Oxley, Brisbane
    Age
    79
    Posts
    3,041

    Default

    Hi Rod

    No smoothstepper yet. Not enough money yet.

    Yes, I do have a tick to home them together. I just went downstairs and then unticked the box; turned off the power to the steppers and then purposely misaligned them; tried to get Mach to home both axis. This still failed, so I reticked the box and tried again - still no Mach realignment of both axis.

    In the end, I had to turn the A and X axis back of, hand align them and then let Mach do its own thing - but it still only does the one axis.
    Bob Willson
    The term 'grammar nazi' was invented to make people, who don't know their grammar, feel OK about being uneducated.

  14. #13
    Join Date
    Feb 2004
    Location
    Oxley, Brisbane
    Age
    79
    Posts
    3,041

    Default

    Quote Originally Posted by seafurymike View Post
    So is it typical to run dual home switches for the X Axis? I would have thought that at some stage I would "slam the gantry" against the end stop to ensure alignment. From here on cant i just home to one switch and assume both sides are aligned?
    Hi Mike

    This is Rod's way of making sure that both axis are aligned to the end of their travel. (See his previous posts)

    Yes, you cam make that assumption, but is it warranted? How do you KNOW that you haven't lost steps in one of the axis?
    Bob Willson
    The term 'grammar nazi' was invented to make people, who don't know their grammar, feel OK about being uneducated.

  15. #14
    Join Date
    May 2003
    Location
    Perth WA
    Posts
    3,784

    Default

    Mike/Bob
    Yeah slamming the gantry is fun.

    I think some of the readers took me seriously when I said this so to make it perfectly clear I really don't recommend doing this.
    Cheers,
    Rod

  16. #15
    Join Date
    May 2005
    Location
    Cockatoo Vic
    Posts
    996

    Default

    Lets call it "Auto Gantry Squaring" for want of a better name.

    For this to work you need separate home switches on each side of the gantry, each with their own input pin.

    Lets say we have B axis slaved to X axis. (keep A for your rotary axis)

    When we issue a "DoOEMButton (1022)" command (ref X), as we do when referencing, this is what happens;

    X and B move simultaneously toward the home switch. Hits X axis home switch and moves off the switch.

    Then X remains still while B moves towards its home switch and then moves off the switch. This movement should be no more than a mm or so, depending on your switch setup.

    That's how mine works. I find it reassuring to see that little dance.

    Alternatively, we can use the "RefCombination(17)" command (ref X and B)

    This will home both sides of the axis simultaneously. No little dance but still "Squares the Gantry". Still needs separate home switches.

    Setting "Home Slave with Master Axis" disables "Auto Gantry Squaring" altogether and homes the axis as if it only had one home switch.

    Note that all of the above is when using the LPT.

    SmoothStepper does homing internally. And it seems every new firmware version has the homing method changed. This is why I don't use a SS on my router.

    Greg

Page 1 of 2 12 LastLast

Similar Threads

  1. Idiots Guide to Z axis setup in mach3
    By pkowal in forum CNC Machines
    Replies: 6
    Last Post: 19th September 2011, 07:51 PM
  2. Z axis
    By Ch4iS in forum CNC Machines
    Replies: 1
    Last Post: 20th August 2008, 12:43 PM
  3. Driving
    By munruben in forum WOODIES JOKES
    Replies: 2
    Last Post: 21st July 2007, 10:55 PM
  4. I was out driving the other day
    By simon c in forum WOODIES JOKES
    Replies: 10
    Last Post: 21st April 2005, 10:27 PM
  5. driving
    By ken yates in forum WOODIES JOKES
    Replies: 0
    Last Post: 12th February 2002, 02:58 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
  •