Need Help! Mach3 ref all home with slave axis


Results 1 to 6 of 6

Thread: Mach3 ref all home with slave axis

  1. #1
    Member
    Join Date
    Mar 2018
    Location
    Canada
    Posts
    68
    Downloads
    0
    Uploads
    0

    Default 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

    Similar Threads:


  2. #2
    Member
    Join Date
    Mar 2018
    Location
    Canada
    Posts
    68
    Downloads
    0
    Uploads
    0

    Default 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
    Member amineyc's Avatar
    Join Date
    Nov 2019
    Posts
    1
    Downloads
    0
    Uploads
    0

    Thumbs up Re: Mach3 ref all home with slave axis

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



  4. #4
    Gold Member Mr.Chips's Avatar
    Join Date
    Sep 2003
    Location
    Gilbert Az
    Posts
    1469
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Mar 2018
    Location
    Canada
    Posts
    68
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ref all home with slave axis

    this is for mach 3



  6. #6
    Member Il-lupo-75's Avatar
    Join Date
    Nov 2020
    Posts
    6
    Downloads
    0
    Uploads
    0

    Default 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?



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Mach3 ref all home with slave axis

Mach3 ref all home with slave axis