. .
Page 1 of 2 12 LastLast
  1. #1
    Good day gentle people.

    I am building a new plasma cnc table to replace my old table.

    A quick overview of the build
    NVEM network controller
    Closed loop stepper motors Hbs86h driver
    Limit switch for all axis

    A Axis is slaved to Y axis

    Machine moves well and is calibrated.

    Here is my problem
    With homing with master limit turned OFF in general config.
    When I reference all home
    Both Axis move.
    The y axis moves to limit switch stops and A Axis does not square up. The system appears to hang. If I activate the A Axis limit manually. It goes green in diagnostic page.
    It appears that once the y axis has hit the limit switch. It is waiting for
    The A limit switch
    But A Axis does not move.
    X Axis does not home.

    If I turn on home with master in general config.
    The homing works fine for all axis.
    But no squaring up.

    I have set the soft limits page.
    On the soft limits page. A and Y axis are set the same.

    I would expect that of this was wrong. They would drive in opposite direction when homed.

    I have looked on many forums and tried multiple settings.
    But can't seem to get this working


    Any suggestions appreciated.

    VDC

  2. #2
    I don't know the NVEM controller at all, but Mach3 by itself does not do dual-axis squaring. You can write macros and things to fake it, but the best you can do out of the box is "home with master".

    I have used a CSMIO/IP-M controller with Mach3 which also implemented "home with master" but did not do squaring automatically; I am currently using a PV Automation ET6 controller which has its own control software (replaces Mach3, in crude terms) which does have this capability. In other words, it depends on the controller and any controller-specific software. Have you checked the NVEM manual to see what that says? I have had a very quick look at a copy online and it does not appear to say anything at all about slave axis configuration, so I guess that you are limited to what Mach3 has.

  3. #3
    Thank you for your response.

    The nvem controller doesn't have much documentation on homing.
    But have only seen slave driving. Not homing.
    I will contact the manufacturer to see if they can help.

    I was not aware that the controller has to do the slave homing function.
    My old machine is parallel port driven.
    So PC done all the work.

    I'll have a look at macro's also.
    Thanks again
    VDC

  4. #4
    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:	664 
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

  5. #5
    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:	664 
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..

  6. #6
    ZASto is quite right - that is the way to do it. I was using Mach3 with my CSMIO for so long that I had forgotten about this. However, it does need the A and Y home switches to be separate and taken to different input pins on the BOB, and then you need to configure these in "Ports and Pins." Apologies if you have already done this, but it's easily overlooked.

    This capability is one of the nice things about Mach3 - you can home multiple axes at the same time. I used to home Z, then Y and X+A simultaneously. Saves time on a big machine to do X and Y at the same time. As mentioned, though, it only works if each home switch goes to a separate input pin, which can be a problem with the old parallel port BOBs (not enough pins).

    This thread might help as well. Not the first time that the subject has come up!

  7. #7
    I am trying to work out how to setup mine.
    But still waiting for stuff to arrive, and wanted to get on top of things before arrival.

    I am going to use a stand alone THC and wont need Mach3 to control the Z as it wont be there (as far as Mach3 is concerned)
    I also want to slave A to Y and have auto squaring of the axis while homing, so I need to be able to work out how to program Mach3 to home just the X, Y and A
    The control board will be a USB Mach3 5 axis with separate stepper drivers. The THC lifter has it's own DC motor and is self controlling.

    If I leave out DoButton( 24 ) ' this homes the Z

    DoButton( 22) ' this homes the X
    RefCombination( 10 ) ' this will home the Y and A at the same time.

    Not sure if this is right, someone please put me straight. Thanks.

  8. #8
    Quote Originally Posted by regpye View Post
    The control board will be a USB Mach3 5 axis with separate stepper drivers. The THC lifter has it's own DC motor and is self controlling.

    Have you bought anything yet?
    One thing I'll say is I would steer clear of usb controllers. Use a basic parallel one or go ethernet.
    Usb can be an arse with noise issues. I've seen plenty of folk have problems.

    Why do you think parallel was there for years, then usb started coming out and almost immediately 'proper' manufacturers were ditching it for ethernet.
    Hmmmmm....

  9. #9
    dazp1976 thanks for the reply.
    Unfortunately I have already bought a USB board, still waiting for it to arrive.
    I have however got a 3 axis parallel board that I bought some years ago and never used it.
    Being as I only want to use X, Y and A axis, maybe I can use it and make the boards Z be the A?? Not sure how to do that.
    Also not sure how to relate that to the settings in Mach3 as well.

  10. #10
    Quote Originally Posted by regpye View Post
    I am trying to work out how to setup mine.
    But still waiting for stuff to arrive, and wanted to get on top of things before arrival.

    I am going to use a stand alone THC and wont need Mach3 to control the Z as it wont be there (as far as Mach3 is concerned)
    I also want to slave A to Y and have auto squaring of the axis while homing, so I need to be able to work out how to program Mach3 to home just the X, Y and A
    The control board will be a USB Mach3 5 axis with separate stepper drivers. The THC lifter has it's own DC motor and is self controlling.

    If I leave out DoButton( 24 ) ' this homes the Z

    DoButton( 22) ' this homes the X
    RefCombination( 10 ) ' this will home the Y and A at the same time.

    Not sure if this is right, someone please put me straight. Thanks.
    Because you are going to use an external motion controller then HOMING could work slightly differently from how Mach3 usually does it. This is because often the Homing duties are passed over to the external device and dealt with by the plug-in the controller uses.

    However, most external controllers tend to follow Mach3's standard way of HOMING in which case you don't need to use RefCombination (10) because when slaving Mach3 treats the slave as the same Axis as the master so in your case you just home Y with DoButton (23) and Mach3 will decouple the motors when Homing and recouple them after the switches get tripped.

    Also, as DaZp says USB is terrible with noise, and for a plasma, I can't think of anything worse to use so get ready for random trips, etc. Your grounding and wiring will need to be top-notch to avoid USB from dropping out.
    -use common sense, if you lack it, there is no software to help that.

    Email: [email protected]

    Web site: www.jazzcnc.co.uk

Page 1 of 2 12 LastLast

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
  •