585,779 active members*
4,012 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Gecko Drives > G540 + Mach3 Slave Y & X axis
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2010
    Posts
    15

    G540 + Mach3 Slave Y & X axis

    I am building a cnc with the y & A axis slaved together.

    I used port 1 pin 10 for the x-axis
    I used port 1 pin 11 for the y-axis
    I used port 1 pin 12 for the z-axis
    I used port 1 pin 10 for the a-axis

    I set the mach3 input signals for the same for the Y & A axis

    Long story short is that I believe I have all the limit/home switches working and the touch plate connection working correctly, however ; when I attempt to home my machine it cycles to the z-axis I press the home switch and it zeroes correctly, then it goes to the Y/A axis and they zero correctly, then it goes to the x axis and it zeroes correctly then.......

    the A-axis motor starts turning (by its self) and I have to press the y=axis limit switch to get it to stop. I have looked through the setting in Mach3 but nothing jumps out at me as to what the solution to this problem is.

    Any help to this issue would be appreciated.

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    You probably need to edit the homing script to eliminate the A axis homing at the end.
    Go to Operator menu, and click on Edit button script. Then click the Ref All button, and you should see this in the VB Script Editor:

    DoButton( 24 )
    DoButton( 23 )
    DoButton( 22 )
    DoButton( 25 )

    DoOEMButton(133)
    DoOEMButton(134)
    DoOEMButton(135)


    Delete the last 4 lines so you only have this:


    DoButton( 24 )
    DoButton( 23 )
    DoButton( 22 )

    The go to File > Save in the Script Editor. Then close it, then close and restart mach3.
    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
    Jan 2010
    Posts
    15
    Gerry

    I did what you suggested and the a-axis motor still turns at the end when I reference all

    Dave

  4. #4
    Join Date
    Jan 2010
    Posts
    15
    Gerry

    I just tried referencing all in your 2010 screen set and it works fine.

    Anyway thanks for the help, I believe this mystery is solved enough for me.

    Thanks

    Dave

Similar Threads

  1. Mach3 Slave Axis problem
    By Darian S in forum DIY CNC Router Table Machines
    Replies: 14
    Last Post: 07-31-2014, 04:06 PM
  2. Replies: 0
    Last Post: 05-04-2013, 08:19 PM
  3. 4th axis setup G540 and Mach3
    By HakBot in forum Gecko Drives
    Replies: 3
    Last Post: 10-19-2011, 01:16 AM
  4. G540 Mach3 Display Issues & Slave Axis Issues
    By umustsurf in forum Gecko Drives
    Replies: 2
    Last Post: 09-30-2011, 03:23 AM
  5. Replies: 8
    Last Post: 10-29-2009, 02:09 PM

Posting Permissions

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