. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by ZASto View Post
    If you have slaved axes on your gantry, in Mach3 v3.x VB Programmers Reference Manual you will find the following:

    Click image for larger version. 

Name:	Screenshot from 2020-10-14 10-01-46.png 
Views:	3946 
Size:	84.5 KB 
ID:	28981

    Also, from CNC Zone:

    "Art wrote....
    > Common problem. When you home , the slaving is disabled till the home is
    > done. This is done to auto-square the gantry of such a system, thats why
    > the
    > lack of slaving when you stop the homing.. The solution is to make the
    > homing go in the correct order. This is done by modifying the Homing
    > button.. If you open the 1024.set file in the screen designer and double
    > click the "Ref All-Home" button, you will see the code is
    >
    > DoButton( 24 )
    > DoButton( 23 )
    > DoButton( 22 )
    > DoButton( 25 )
    >
    > This basically calls the Z, then X then Y and A homes. This needs to be
    > changed to ..
    >
    > DoButton( 24 ) ' this homes the Z
    > DoButton( 23) ' this homes the Y
    > RefCombination( 9 ) ' this will home the X and A at the same time.
    >
    > RefCombination accepts a number where X = 1 , Y = 2, Z = 4, A = 8, you
    > simply add the values of the axis
    > you wish to home, so X + A = 9..
    >
    > The squaring will be automatic and can be adjusted by your settings for
    > the home position of the switches..
    > Thanks,
    > Art
    > www.artofcnc.ca

    Art also wrote this... and I found the complete "Refcombination" listing here....

    "Art wrote.... The home switches, (which may be set to the same input as the limit
    switches), are used only for homing. The axis will move to the switch, then
    slowly move off.

    The program by default does one at a time, because thats the most usual
    combination. YOu CAN move any combination at once by editing the RefAll
    buttons script. There is a command called RefCombination( n ) which will ref
    any combination of the axi s. N is calcuated by adding the following
    numbers..

    X - 1
    Y - 2
    Z - 4
    A - 8
    B - 16
    C - 32

    Ref X and Y together would be RefCombination( 3 )

    Hope this Help


    Thanks

    This is what I tried
    In Mach 3 select Operator Tab.
    On Drop Down menu select - Edit Button Script
    Then Press REF ALL HOME button

    Editor pops up with the following 4 lines of code.

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

    Delete the lines DoButton(23) and (25)

    Enter following on new line

    RefCombination(10)

    Select File -- Then Save.( from another Forum)

    Disabled Homing with master in the general config.

    But still no joy, Homes the Z Then X.
    Homes Y and A, but stops on y home switch and waits for A switch, but A does not move. Have to reset the system to get things moving again.

    This is not a deal breaker, just the machine I have built is very big. 3.3 meter by 2 meter.
    hard stops are not an option because closed loop steppers fault out when they cant move.

    I will keep looking for an alternate solution.
    You input is greatly appreciated..

  2. #2
    Hi. Did you find the solution?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Y with A as slave axis won't work
    By chillybo in forum CS-Lab (CSMIO)
    Replies: 16
    Last Post: 13-12-2020, 01:13 PM
  2. 2 + 2 slave axis
    By xadmx in forum Machine Discussion
    Replies: 4
    Last Post: 11-10-2019, 12:56 AM
  3. CSMIO/IP-M and slave axis functionality
    By Neale in forum CS-Lab (CSMIO)
    Replies: 24
    Last Post: 29-01-2019, 10:33 PM
  4. Slave axis help
    By Duffman in forum Gantry/Router Machines & Building
    Replies: 14
    Last Post: 24-01-2016, 05:43 PM
  5. Home Switches & Slave Axis in Mach 3
    By Tenson in forum Artsoft Mach (3 & 4)
    Replies: 14
    Last Post: 03-03-2014, 11:43 PM

Bookmarks

Posting Permissions

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