584,846 active members*
3,903 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2018
    Posts
    68

    Mach3 ref all home with slave axis

    i had to replace my PC and cant find on the internet the refallhome code change when you have a slave axis you need to home independently. there was something about adding numbers depending on which axis you want to home at the same time, For your reference, my Y axis is Dual with A axis. the artsoft forum don't seems to work anymore. (search function).

    thank you

  2. #2
    Join Date
    Mar 2018
    Posts
    68

    Re: Mach3 ref all home with slave axis

    Nevermind, found the answer

    "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 Helps, Chip

  3. #3
    Join Date
    Nov 2019
    Posts
    1

    Re: Mach3 ref all home with slave axis

    Thank you so so so ...much, this is the most valuable information ..... thank you

  4. #4
    Join Date
    Sep 2003
    Posts
    1469

    Re: Mach3 ref all home with slave axis

    Quote Originally Posted by HuguesP View Post
    Nevermind, found the answer

    "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 Helps, Chip
    Could you translate that into Mach3?

  5. #5
    Join Date
    Mar 2018
    Posts
    68

    Re: Mach3 ref all home with slave axis

    this is for mach 3

  6. #6

    Re: Mach3 ref all home with slave axis

    > clic sul pulsante "Ref All-casa", si vedrà il codice è
    >
    > DoButton (24)
    > DoButton (23)
    > DoButton (22)
    > DoButton (25)
    >
    > Questo fondamentalmente chiama Z, poi X poi Y e A case. Questo deve essere
    > cambiato in ..
    >>
    DoButton (24) 'questo
    ospita la Z > DoButton (23)' questo
    ospita la Y > RefCombination (9) 'questo ospiterà la X e la A allo stesso tempo.
    >
    > RefCombination accetta un numero dove X = 1, Y = 2, Z = 4, A = 8, si
    > è sufficiente aggiungere i valori dell'asse
    > che si desiderano a casa, in modo da X + A = 9 ..
    >
    > La quadratura sarà automatico e può essere regolato dalle tue impostazioni per
    > la posizione iniziale degli interruttori ..
    > Grazie
    In realtà dovrebbe essere prima Z 24,poi Y 23 , poi X 22 , e per ultimo A 25. Giusto?

Similar Threads

  1. MKX-4 Mach3 don't work slave axis home
    By plUA in forum CNC Plasma / Oxy Fuel Cutting Machines
    Replies: 7
    Last Post: 05-24-2018, 06:15 PM
  2. Mach3 / XHC Machmotion Ethernet card slave axis
    By 80gus in forum Mach Software (ArtSoft software)
    Replies: 6
    Last Post: 05-22-2017, 09:02 PM
  3. Mach3 Slave Axis problem
    By Darian S in forum DIY CNC Router Table Machines
    Replies: 14
    Last Post: 07-31-2014, 04:06 PM
  4. Slave Axis and offset home switches
    By lthall in forum Machines running Mach Software
    Replies: 3
    Last Post: 12-24-2013, 02:31 PM
  5. G540 + Mach3 Slave Y & X axis
    By dglasco in forum Gecko Drives
    Replies: 3
    Last Post: 09-28-2013, 10:23 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
  •