586,105 active members*
3,261 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Mach Software (ArtSoft software) > Drives work opposite eachother (one goes wrong way) when referencing X
Page 1 of 2 12
Results 1 to 20 of 21
  1. #1
    Join Date
    Mar 2010
    Posts
    162

    Drives work opposite eachother (one goes wrong way) when referencing X

    Hi,
    I have an FLA200 (a bolt together kit from Fine Line Automation), which I'm trying to get going here. I've got it up and running, and it can jog left right, up down, forward, back, and two days ago I had it run the roadrunner cutout G Code (with the router off and no bit in place), and it worked fine. So then I wire up some limit switches, NC, and hook them up to my control box (control box built by Dan Mausch, and all I had to do to hook up the limit switches was run my wires to pins in a 4 pin molex connector , and then plug it in to its female counterpart. The COMs all went to one pin, and then the NC running from XYZ all went to their own pins.) After playing around in the diagnostics and tripping switches, I got them to light M1, M2, M3 Home on pins 10, 11, 12, respectively. So then I went up to the upper left corner of the diagnostic page and clicked Reference X, and the danged X and A axis motors (driving X) tried to go in opposite directions. I tried going to Homing/Limits and reversing one and then the other, but they insist on going in opposite directions.

    Any advice?

    Thanks,
    Matt

  2. #2
    Join Date
    Mar 2010
    Posts
    162
    Little more info--I have A slaved to X, and I have X, Y, and Z set to dirLowActive under Ports and Pins/Motor Output. I did that because, clicking Page Down made the Z jog up instead of down, and then X and Y were going the wrong way, too, but that's more relative to where I have the computer placed than anything else.

  3. #3
    Join Date
    Jan 2006
    Posts
    357
    Did you slave the motors in mach? you only need to reverse one motor, do not reverse both, after you slave the motors in mach you have to restart mach

  4. #4
    Join Date
    Mar 2010
    Posts
    162
    Quote Originally Posted by GaryCorlew View Post
    Did you slave the motors in mach? you only need to reverse one motor, do not reverse both, after you slave the motors in mach you have to restart mach
    I did slave the A to X in Mach. Once I did, I didn't need to switch motor direction, it simply worked that way. I switched motor directions for convenience, except on the Z drive, as described in my earlier post. The machine jogs fine and runs G code fine. It's only when I hit Ref X that I get the drives working in opposite directions. Actually, now that I think about it, it may be incorrect to say that the motors are working in opposite directions. It may be true that one of the motors simply isn't working at all. Since it's got power, it's "holding" its position, which would likely give an appearance similar to working in opposite directions. They are R&P drives, so they "chatter" when working against each other.

  5. #5
    Join Date
    Mar 2003
    Posts
    35538
    In the Config Homing screen, is "Home Negative" checked for the X or A?
    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)

  6. #6
    Join Date
    Mar 2010
    Posts
    162
    Quote Originally Posted by ger21 View Post
    In the Config Homing screen, is "Home Negative" checked for the X or A?
    Neither, but then, when I try any combination of those, I get different, but not better, results. I just tried disengaging my A drive pinion from the rack, and then I referenced X, and then I re-engaged the r&p, and everything's right as rain. For now.

  7. #7
    Join Date
    Mar 2010
    Posts
    371
    I have this working, so there is some configuration problem in yours.

    Can you see the A DRO? Check to see that it goes up and down the right way when you move it.

    Probably, what you will need to do is set "home neg" in "Home/Softlimits" for A. I think this is a side-effect of choosing to set the active low different for A and X, rather than setting "reversed" in "Home/Softlimits".

    The thing to remember is that when Mach is moving the gantry, it drives both axis exactly the same, step for step. When it homes, it homes them separately. It appears to drive them both until one hits the home switch, and continues to drive the other until it hits the home switch, then it backs them both off the switches.

  8. #8
    Join Date
    Mar 2010
    Posts
    162
    Quote Originally Posted by brtech View Post
    I have this working, so there is some configuration problem in yours.

    Can you see the A DRO? Check to see that it goes up and down the right way when you move it.

    Probably, what you will need to do is set "home neg" in "Home/Softlimits" for A. I think this is a side-effect of choosing to set the active low different for A and X, rather than setting "reversed" in "Home/Softlimits".

    The thing to remember is that when Mach is moving the gantry, it drives both axis exactly the same, step for step. When it homes, it homes them separately. It appears to drive them both until one hits the home switch, and continues to drive the other until it hits the home switch, then it backs them both off the switches.
    Do you have a switch on X and on A? I have just the X wired with limit switches at either end.

    Also, after Gerry mentioned Home Neg, I did some research and see that I do need those homing towards zero to have home neg ticked (as I understand it, anyway), so now my X and Y have home neg zero enabled. Finally, taking your advice, I've changed all my dir low active settings to disable them, and then went into Homing/Limits and set the ones that were low dir active to reversed. When I went to reference X I got the same results as before.

    When you say DRO, do you mean digital read out? On the diagnostics page I can see a reading of the A drive's position. According to it, the A drive doesn't change position--it is working in tandem with the X most of the time, though, just not when I click ref x.

  9. #9
    Join Date
    Mar 2003
    Posts
    35538
    In General Config, check "Home Slave with Master Axis".

    You didn't say you only had one home witch.
    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)

  10. #10
    Join Date
    Feb 2008
    Posts
    219
    Quote Originally Posted by Matt Clara View Post
    Do you have a switch on X and on A? I have just the X wired with limit switches at either end.

    Also, after Gerry mentioned Home Neg, I did some research and see that I do need those homing towards zero to have home neg ticked (as I understand it, anyway), so now my X and Y have home neg zero enabled. Finally, taking your advice, I've changed all my dir low active settings to disable them, and then went into Homing/Limits and set the ones that were low dir active to reversed. When I went to reference X I got the same results as before.

    When you say DRO, do you mean digital read out? On the diagnostics page I can see a reading of the A drive's position. According to it, the A drive doesn't change position--it is working in tandem with the X most of the time, though, just not when I click ref x.
    mat doo you want me to post you some screeen shots of my settings for you to look at?
    ghostlx
    http://www.pure-teck.com/home.html

  11. #11
    Join Date
    Mar 2010
    Posts
    162
    Quote Originally Posted by ger21 View Post
    In General Config, check "Home Slave with Master Axis".

    You didn't say you only had one home witch.
    Well, I don't usually call her that...

    Thanks, Gerry. That solved the problem.

  12. #12
    Join Date
    Mar 2010
    Posts
    162
    Quote Originally Posted by ghostlx View Post
    mat doo you want me to post you some screeen shots of my settings for you to look at?
    ghostlx
    That would be great, ghost, or even the actual XML file (might have to zip it), if that would be easier. I doubt our machines are 100% the same, but I could use it as a reference.

    Meanwhile, I'm working my way through the Mach3 training videos. I wish they had a wiki up, too, as that's easier to look through than a forum, and videos are probably the worst for finding some reference you half remember hearing...

  13. #13
    Join Date
    Feb 2008
    Posts
    219
    Quote Originally Posted by Matt Clara View Post
    That would be great, ghost, or even the actual XML file (might have to zip it), if that would be easier. I doubt our machines are 100% the same, but I could use it as a reference.

    Meanwhile, I'm working my way through the Mach3 training videos. I wish they had a wiki up, too, as that's easier to look through than a forum, and videos are probably the worst for finding some reference you half remember hearing...
    here is the g540 xml file i used for the gecko nate sells.
    will attach screen shots after breakfast
    ghost
    Attached Files Attached Files
    http://www.pure-teck.com/home.html

  14. #14
    Join Date
    Feb 2008
    Posts
    219
    Quote Originally Posted by Matt Clara View Post
    That would be great, ghost, or even the actual XML file (might have to zip it), if that would be easier. I doubt our machines are 100% the same, but I could use it as a reference.

    Meanwhile, I'm working my way through the Mach3 training videos. I wish they had a wiki up, too, as that's easier to look through than a forum, and videos are probably the worst for finding some reference you half remember hearing...
    Matt
    Here are some screen shots of what i am use ing. this is how i worked it out.
    it may not be totoly right so if it can be made better please let me know. by all of us sharing it makes it better for all. post your settings so we can compare .
    any input from outher's is welcome also.
    thanks
    ghostlx
    Attached Thumbnails Attached Thumbnails A axis motor tuning.jpg   y axis motor tuning.jpg   z axis motor tuning.jpg   motor tuning x axis.jpg  

    dro after movement.jpg   dro screen after home.jpg   moter home and soft limits.jpg   ports and pins.jpg  

    signal iputs.jpg   slave axis.jpg  
    http://www.pure-teck.com/home.html

  15. #15
    Join Date
    Mar 2010
    Posts
    162
    Thanks for the data! Hey, all the tutorials I've seen, and now your screen shots show, a red line indicating what appears to be your cutting area. Mine shows up as a gray dashed line, and I have no red boundary. Any ideas what might be going on there?

  16. #16
    Join Date
    Mar 2003
    Posts
    35538
    Config>Toolpath let's you change what's displayed in the toolpath window. Try turning on some of the other options.
    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)

  17. #17
    Join Date
    Feb 2008
    Posts
    219
    Quote Originally Posted by Matt Clara View Post
    Thanks for the data! Hey, all the tutorials I've seen, and now your screen shots show, a red line indicating what appears to be your cutting area. Mine shows up as a gray dashed line, and I have no red boundary. Any ideas what might be going on there?
    the red line if I understand the tutorials is my table boundary .
    ghostlx
    http://www.pure-teck.com/home.html

  18. #18
    Join Date
    Mar 2010
    Posts
    162
    Here's what I see.

  19. #19
    Join Date
    Mar 2010
    Posts
    162
    Funny, I just did a Google search for "no red boundary line mach3," and this thread was the #1 return. That's efficient of google, but not entirely helpful!

  20. #20
    Join Date
    Mar 2003
    Posts
    35538
    You may need to have Softlimits set up for that. They are the only way that Mach3 knows where your machine boundaries are. You may also need to reference the machine first.
    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)

Page 1 of 2 12

Similar Threads

  1. Z axis backlash that drives the wrong direction
    By Kingjamez in forum Benchtop Machines
    Replies: 10
    Last Post: 10-05-2010, 03:46 AM
  2. Z Axis doing the opposite but only in X-????
    By bugsyburrell in forum DIY CNC Router Table Machines
    Replies: 0
    Last Post: 09-01-2010, 02:41 PM
  3. Change motors and drives or work with these?
    By flhr97 in forum Servo Motors / Drives
    Replies: 0
    Last Post: 08-05-2008, 12:40 AM
  4. will mach3 work with gecko drives
    By derkiow in forum Gecko Drives
    Replies: 11
    Last Post: 11-15-2006, 08:29 PM
  5. Variable Frequency Drives...how do they work?
    By mastercnc in forum CNC Machine Related Electronics
    Replies: 4
    Last Post: 05-28-2004, 02:59 AM

Posting Permissions

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