Hello Guest it is March 28, 2024, 06:58:21 AM

Author Topic: New member, some mach 3 setup questions and UC100 intermittent connection issue  (Read 1588 times)

0 Members and 1 Guest are viewing this topic.

Hello everyone, my Name is Rob Gore.  I purchased a ZenBot 48"x96" CNC router last year, and it has been up and running for a while.  We are using a gecko g540 4 axis control box and a UC 100 connected to the computer via double ferrite beaded USB cable.  We have used this setup with and older windows 7 laptop and with a windows 10 (64 bit) tower (current setup).

I have some general questions, and a specific one related to an issue we are having.

General questions (please direct me to the correct place in the forum for these)

1.  Is there a guide for setting up the machine coordinate system and homing functions?  Currently we have none of that setup, we just zero to somewhere on the stock or part, make sure that location is zero in the CAM software (Fusion 360), and rock and roll.  I'd like to have it setup correctly though, and I do not really know where to start.  The machine has switches for x y and z but they currently do nothing.

2. Is there are best practices document somewhere, and/or a tuning guide for setting all the parameters in mach 3?

Specific question about an issue:

1.  We have an intermittent UC100 connection issue.  It will either have a sync error, or fully lose connection maybe once every other day (every 3-4 machine hours).  I have taken the following steps to reduce the noise seen by the UC100 and USB cable.
     a. double ferrite bead USB cable
     b. VFD for spindle is in a thick steel box
     c. UC100 chassis is grounded to computer chassis
     d. Ensure USB power settings are not putting ports to sleep

Since doing these, the problem happens less frequently, but it still happens and is unacceptable.  It also happened with the laptop we were using. I need a robust solution.  This computer does not have a serial port.  Please advise.

FWIW, I am a mechanical engineer and have tons of traditional machine shop and fabrication experience (built my own car from scratch), but I am definitely a bit of a noob regarding setting up and running CNC machines.  Any help or advice is appreciated.

Offline TPS

*
  •  2,501 2,501
    • View Profile
I have some general questions, and a specific one related to an issue we are having.

1.  Is there a guide for setting up the machine coordinate system and homing functions?  Currently we have none of that setup, we just zero to somewhere on the stock or part, make sure that location is zero in the CAM software (Fusion 360), and rock and roll.  I'd like to have it setup correctly though, and I do not really know where to start.  The machine has switches for x y and z but they currently do nothing.

2. Is there are best practices document somewhere, and/or a tuning guide for setting all the parameters in mach 3?

for 1. and 2. this two documents would be a good start i think:
https://www.machsupport.com/wp-content/uploads/2013/02/Mach3Mill_Install_Config.pdf
https://www.machsupport.com/wp-content/uploads/2013/02/Mach3Mill_1.84.pdf


Specific question about an issue:

1.  We have an intermittent UC100 connection issue.  It will either have a sync error, or fully lose connection maybe once every other day (every 3-4 machine hours).  I have taken the following steps to reduce the noise seen by the UC100 and USB cable.
     a. double ferrite bead USB cable
     b. VFD for spindle is in a thick steel box
     c. UC100 chassis is grounded to computer chassis
     d. Ensure USB power settings are not putting ports to sleep

Since doing these, the problem happens less frequently, but it still happens and is unacceptable.  It also happened with the laptop we were using. I need a robust solution.  This computer does not have a serial port.  Please advise.

here you write: I Need a robust solution.
the "hard" answer is, throw this USB Thing out and go to a Ethernet connected Controller, but Keep fingers away
of all this chinese chunk.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
I have some general questions, and a specific one related to an issue we are having.

1.  Is there a guide for setting up the machine coordinate system and homing functions?  Currently we have none of that setup, we just zero to somewhere on the stock or part, make sure that location is zero in the CAM software (Fusion 360), and rock and roll.  I'd like to have it setup correctly though, and I do not really know where to start.  The machine has switches for x y and z but they currently do nothing.

2. Is there are best practices document somewhere, and/or a tuning guide for setting all the parameters in mach 3?

for 1. and 2. this two documents would be a good start i think:
https://www.machsupport.com/wp-content/uploads/2013/02/Mach3Mill_Install_Config.pdf
https://www.machsupport.com/wp-content/uploads/2013/02/Mach3Mill_1.84.pdf


Specific question about an issue:

1.  We have an intermittent UC100 connection issue.  It will either have a sync error, or fully lose connection maybe once every other day (every 3-4 machine hours).  I have taken the following steps to reduce the noise seen by the UC100 and USB cable.
     a. double ferrite bead USB cable
     b. VFD for spindle is in a thick steel box
     c. UC100 chassis is grounded to computer chassis
     d. Ensure USB power settings are not putting ports to sleep

Since doing these, the problem happens less frequently, but it still happens and is unacceptable.  It also happened with the laptop we were using. I need a robust solution.  This computer does not have a serial port.  Please advise.

here you write: I Need a robust solution.
the "hard" answer is, throw this USB Thing out and go to a Ethernet connected Controller, but Keep fingers away
of all this chinese chunk.

Ok that sounds reasonable.  Can you point me in the direction of the correct ethernet controller (correct supplier, high quality)?  I am assuming you are referring to a UC400ETH?

Offline TPS

*
  •  2,501 2,501
    • View Profile
ok, it depends allways a bit on the need's and on the Money you want to spend, but IMHO good choises are:

-UC300Eth
-Uc400Eth
-AXBB-E
-all hicon Controllers
-PoKeys57CNC
-CSLab (only Mach3 or their own product SimCNC)

this is only my small list of controller's, i have only experience with CSLab, witch i use on all my machines.
the rest is only based on what i see (read) here in the Forum.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Hi,
you can add the Ethernet SmoothStepper by Warp9TD to that llist, it works well with Mach3 AND Mach4.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Awesome, thanks for the info. I got the machine coordinates and homing all figured out. It was easy I had just not put any effort towards it before... I was just excited to make stuff!!  I will pick up one of those Ethernet options soon.

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
PEACE
ok cool, will do.  Another interesting finding last night.. I had a UC100 sync error about 10 minutes into the first operation.  I read somewhere about setting mach 3 priority in task manager.  I set it to "real time" and ran for hours without a hiccup.

What is going on there?
Hi,
in the early days of Mach3 everyone used Machs parallel port driver as motion controller. The parallel port driver is an interrupt timer
based pulse generator, and it was, and still is, a marvel that it operates as well as it does in a Windows environment.

Windows make very VERY extensive use of the CPUs interrupt system and therefore Machs parallel port competes with Windows for
interrupt service. It is possible, to a limited extent, increase an applications interrupt priority, but if you over-do it you will crash Windows.

I suspect the advice you were given about increasing Machs interrupt priority dates from that time.

Given that you are using a UC 100 there is no parallel port driver running and therefore there should be no interrupt competition.
The UC100 is USB connected and can and occasionally is out-competed by other applications or services running on the PC. For this
reason you are advised never to run any other applications and only ever run the bare essential services on your PC so that Mach and
its USB connection to the UC100 is not interrupted in any way.

USB data packets are initiated every 10-12ms or so whereas Ethernet packets are initiated a less than 1ms intervals. Ethernet communications
can miss entirely one or even two packets and yet still maintain quasi continuous comms and are therefore more robust and less likely to
run-out-of-data, or loss of sync.

A related issue is that USB packets are rather more susceptible to corruption from electrical noise, and as each packet is larger takes even greater
time to re-transmit, increasing the probability of a run-out-of-data error. Using the shortest high quality cables with at least one ferrite but better
still, two ferrites is recommended to avoid the problem.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'