Mach3 USB Controller - Setup, wiring and Configuration Part 1
Vložit
- čas přidán 27. 07. 2024
- Follow buildyourcnc_newbiehack on Instagram:
/ buildyourcnc_newbiehack
My favorite tools:
Wera micro screwdrivers: amzn.to/3qEhynB
WorkPro Ratcheting Screwdriver (You see me using this in many of my newer videos): amzn.to/3qEQYLg
Knipex Cobra Water Pump Pliers (these are so versatile): amzn.to/34fIwur
Knipex Wrench Pliers (The most elegant tool I have seen and use constantly): amzn.to/3HyzNlv
Learn how to use the Mach3 USB controller to control a CNC router. In this video, I demonstrate the setup of software and the plugin for Mach3, connect the controller to the X axis stepper motor, and configure Mach3.
You can find the Mach3 Controller here:
www.buildyourcnc.com/item/ele...
Official Website:
www.buildyourcnc.com/ - Věda a technologie
Oh thank you so much! IN just 8 minutes you help me so much! pretty instructive and definitely helpful. I can't believe that the very first video occurrence, yours, will solve my problem. Excellent pedagogy, very clear instructions. I am a lucky guy.
Very professional. great job and it couldn't be explained better.
Thank you so much for this video and for the input link of usb BOB. I have the same BOB on my 6040 and didn't know all the technical specs in order to add accessories to machine. As Robert K said i would do the wiring neatly using shielded cable and i would make some nice dust covers for motor and driver metallic preferred to behave as Faraday cage. Thumbs up for your project, i can't wait for the next videos.
Good sir thank you for this WONDERFUL video. I've been sitting on my setup of 3 years an couldn't find a video that has straight threw wiring process. THANK YOU!
Thank you soooo much! Wow, this was really helpful! What a great time we live in, where people like you share their knowledge and some random guy on the other side of the world has access to it and benefits from it! Thanks and best wishes from Germany! 🙏
I am very happy you were able to benefit!
Offcours Great time ⏲️ we live in, with people like this, 👍
Best video I have ever seen thanks so much for doing this
Very understandable and complete tutorial! A question though, how do you scale length in Mach3 to actual length on the axis?
this is EXACTLY what i spent HOURS looking for.. THANK YOU!
Thank you... I complete first setup according to instruction.
Awesome Guide, best I've come across yet. Super helpful. Thank you.
You're welcome. I'm glad it helped.
Thank you! I didn't know that about the ground and connecting the shield to it.
I am proud of u ,well done sir ,and also god bless u.
Thank you very much, very nice job.
Interesting video...Explained in an easy and understandable manner...
Not being able to locate Part 2 of this video series. Please help me with it!
Successfully done as you did.. but need all tutorial .. about end stop, calibration, g code loading, .. thanks for this video.
This is a very helpful series. Though, I'm curious as to why you don't tin the leads.
hello there you have a nice tutorial. kindly add how to install limit switches for homing and end stop.. also the configuration on mach3 . that would be a great help,, i am starting to build my cnc using that cnc controler.. because previously i used UGS. and i'm new in mach3.thanks.
Great work! Where can i see rest of the videos? Will you be uploading?
Is there any difference for using the ground lead or the negative lead option?
Which cable should preferably be shorter, the one going from the breakout board to the driver or the one going from the driver to the motor?
Very nice job
Thank you a lot
We need limit switches and VFD wiring
And thanks again
Thanks. Will do.
When is it coming out??
Great video helped me a lot. If yo can would you do one homing switches and the e-stop please as I am having a problem getting the wiring correct.
CMDR PDAVG i have problem with the index sensor. The board receive the input with a negative signal. I have i think this is not a good board, the Brand is not in the market so there is not support.
I will buy a better one with support
Very nice teaching sir 👍
ENA+ & DIR+ & PUL+ connect to 5V. ENA- connect to ground. DIR- connect to axysD, PUL- coonect to axysP.
This is the correct driver connection
your a very good teacher! anyway .. will this wiring work on my close loop nema 23 integrated motor to be connected on mach3 like one on your video?
Hi Patrick, great video and depth of explanation. You did an awesome job. Will you be continuing this series with Part 2 and beyond?
Hey Paul, I will be doing them very soon. I just finished moving from Texas to Florida, so I finally have some time to get into the video editing.
@@PatrickHoodDaniel congratulations on the move. That can be stressful and very time consuming. Looking forward to your continuation. Your level of explanation is exactly what I have been looking for for a while now. Thank you.
Great Video Sir, Very Much helpful , but now i would like to ask you can i use this Board with Mach 4 Hobby Software? Because i have Purchase Mach 4 Hobby License.
Good video. Can you tell me what the 10pin header is for. Is it an option for step & Dir?
He Hello first of all thank you for such a good explanation about it.
I have cnc usb router my friend was buy from somewhere but he didn't know how to start with software mech3 he got software also but I tried so many time but I got error so can you send link where to get full mech3 software.
Are you going to make a part two for this control board?
In this field you are the best
Thanks for the complement, but I doubt it. Those HAAS engineers are the best!! I wouldn't be able to touch them.
Is it possible to run 2 of these controllers at the same time with Mach 3? I would like to be able to add extra inputs and outputs.
Great video
This will only work if I install on a Win XP 32 bits?
The PC that I wanted to use has a win10 64bit....
Very useful
Patrick Hood-Daniel I'm sorry, I have this card too, can you manually move the axes together at the same time? Thanks
Do you by any chance know if this board supports threading (signal index processing)?
Honestly it sounds too good to be true. I’m wondering if for some reason it’s not current or out of date. After checking I see you uploaded this in June of this year 2019. Cool so unlike CZcams normally does with old non current videos for teaching software, it might be worth following. Ok I have a question though. I want to build my own cnc router and also a separate cnc plasma table. Should I use Mach 3 or now that Mach 4 is available should I use that instead?
Then motors. Should I use the biggest I can with the most torque, and what are these. What’s norm for controlling cnc routers and plasmas?
Lastly the guide rails. Where would you go to get them, and what’s best to use?
Thx James
have you connected a Limit switch or a index sensor? I have the same board and I can connect a IR sensor for index the spindle in my lathe.
Will give this a go. I have the first file RnR v2.0 but I get an error 9991 . I assume I need the other file to take it's place.
Hi Patrick
On this usb board do I have to use 2 sets of switches
One set for limit = 3 or 6 switches one on either side of the Axis
One set for homing = 3 switches
X- Y- Z+
Thanks
Len
I have used your instructions to configure my cnc and it worked awesome. My question is can this card work with a Laser. Thanks
It can, but you will not get the features you would if you were using a traditional laser controller. The mach3 USB will not be able to control the intensity of the laser which is what is needed for most laser applications. You would need to use a potentiometer to control intensity. The Mach3 USB controller does have a PWM output, so you could theoretically control the intensity, but you would need to drop that PWM voltage down to 5V max and you are still stuck with using Mach3 which is not ideal for lasing work (that I know of). There are some plugins, but they don't work as well as a laser controller.
BuildYourCNC ok thanks allot for your reply I was wondering about that! Cheers and thanks again
Hello, what are the conditions that must be available in the computer in order for the Mach3 usb to work with me without problems, and thank you very much
hi bro.. i have usb interface board. what kernel speed should i set on mach3 software ?
Hi Patrick, I Laser Cad on my machine but recently confronted a problem with cutting curves and circles, it makes a jump in the cutting line. Do you have any solution to solve this please?
You coupled the shieling wire and the NEG on the same terminal. Wouldn't that introduce unwanted signals into the system? Shouldn't the shielding wire be to earth?
What MPG do you recommend with this board? Thanks
what thickness of guage can be cut using the laser you used ?
Can you please tell me what I set the Motor Output step dir pins to, , Input signal pin numbers and & Output Signals pin numbers to, does not explain that thanks
Hello. Why do you short the pull in the tbc driver?
Thanks for an interesting video. I have never seen anyone mount the motor driver beside the motor before. They are generally in a separate cabinet with the USB board and the power supply. Can you explain your reasoning?
Fewer wires to run through the cable carrier. I've been positioning the electronics this way since my newer machine designs.
@@PatrickHoodDaniel It seems that this way you are running the signals in the cables with the lower current which can be more prone to interference than if drivers were away from motors with 48v signals...
Followed all details instructed and got my machine running. Motors work as it should, my machine travel smoothly, it seems like it have no issues. The problem I have with this board like every cheap Chinese board is missing steps with Mach3. I set my G54, run my part and rechecked my G54 again and it was off .01 on X and Y the same direction. It will shift .01 increments every time you jog or run a program. You will not notice if you are running large gantry router cutting large wood, but if you are doing precise metal work you will notice this.
Now I’m switching back to my UC100 and run with no missing steps. Repeats all day long with no issues.
You may be accelerating too fast, this can cause missed steps. Try reducing the acceleration, it will depend on the load (mass) on the motor what you acceleration can be, more mass will require that you accelerate slower. If you can run at a high maximum speed (when the pulses are at the highest frequency) then the system can handle the frequency electrically without missing steps. The load during a cut also adds force to overcome during acceleration. Another way to increase the force you can overcome is a higher voltage on the stepper motor driver and a higher current to the motor.
I was thinking of switching from my UC100 too but I don’t have a good reason, after your warning I think I’ll wait till I have a good reason.
I did all that, playing for days with motor tuning and what not. Cutting air and you still have missing steps, drive me crazy for days. I have a Taig ballscrew mill, one of the smoothest machine you can buy, even with a nema 17 motor can run this machine with no issues. My setup for the usb BOB was nema23 570oz/in 5a motor, dm556 driver 50v max, 48v power supply. I wired and ground everything properly according to the data from the website, it just the board is not as stable like the uc100. It’s not 100% functional.
What version and build of Windows are you running in this video?
I have thus board does it work with grbl software or only mach3
Will you be doing anymore on this card or are you just going to leave us all out to dry after given us a taster of what it can do?
Da pra ligar módulo laser chinês de 30w nessa controladora?
Nice video... unexpected though for a new machine build to go with Mach3 and USB... a special reason to this?
This customer's application did not require anything different and this controller is perfectly adequate.
What would a machine have nowadays?
Mine has x1 x3 x4 and x0 y0 and z0 wires and I'd what they are in the breakout board
Where i connect the touch plate in mach3 USB?
does pul- and dir- always require a jumper, thats not in my diagram provided by the seller?
This board allows the mach3 to use "A" as slave of "Y"?
My mach3 is un plug bord well working in feed, but bord plugged feed rate too slow and small jurk only ,how to solve my problem ,pls reply sir
Hello, i have the same breakboard but if i want to run in jog mode i can't run x and y or z axis in one time together. do you now why i can't? In program everything works fine.
Greetz René from Holland!
How can you wire and setup the enable of the driver ?
hi, i bought one of these boards from china and they sent me a BL v1.1, its not a problem as its for a two axis cnc cylinder honing machine, they software they sent for the board does not contain a dll file for the board, does the bl v1.1 require a dll? if so you wouldnt happen to know where to find it would you? i have used an ecomotion rnr before and the software that came with it also had BL v2.1 but that also does not work with it, im not testing with motors as still waiting on the stepper drivers for this machine, just cant tell if it is working as no lights flash etc, just the two (relay) and (pwk) are lit constantly
amigo que tal son esos driver DM556 sin marca si son buenos o no los recomienda
Thanks I am still evaluating this driver. So far, the operation is very quiet and smooth.
Does this need breakout board? This is Langmuirs Systems board they are using....i was on their forum and saw a lot of people having problems with the board not responding and dying...how has your experience been with this board...i ordered one from you any way :P
Hi again
After a protracted delay due to "life", and with the help of my son, I am working my way through your instructional video and we have the Mill function jogging. Not so the lathe function which is my primary interest. Is there a reason the motor will jog on the Mill set up by not the Lathe set up?
As I said before this is an excellent presentation but I am stuck at this point so any help would be appreciated. I am using the 'free version" of Mach 3 at the moment but once I am satisfied that the system will function plan to purchase a Mach 3 license.
regards
Robert
Brisbane
Australia
Are you referring to the lathe (mach3 turn profile) in Mach3? If so, the motor outputs in the mach3 turn profile are not set correctly. Check this configuration against the mill profile.
I want to convert my Carbide 3D XXL Pro to Mach 3. What kit do you have that I can accomplish that conversion?
Hi Patrick, referring to my previous question can i use only 12 VDC power supply if want to control spindle on/off only (without PWM output for variable speed) ? I know it will be need relay at output terminal
normal all spindle use 24-36volt. same all stepper motor need use 24-36volt power supply.
I learn so much from your video , I have question about wiring the BOB to the driver, I don't understand if you have to put ground to D- and P- and D+ and P+ to XP and XD from the BOB or if you have to put the 5V to D+ and P+ and XP , XD to P- D- ??
thank you in advance
You can do it either way, you just need to toggle the active low in mach3 if you do it the other way. I use gnd for D- and P- because there are two gnd terminal on that board next to the axis terminals (XP, XD, etc). It's as simple as that. Glad you liked the video.
@@PatrickHoodDaniel okay Thank’s a lot for your response
hi great video
what happens if do the pul+and dir+ to 5 volt ?
Thanks!!
Hey there, I've seen people wiring the driver by connecting pul+ and dir+ to use as ground, and others by connecting pul- and dir- together for a ground, you mentioned you did it both ways in the video, is there a difference? does the polarity matter at all? I've seen that done to breakout boards and arduinos alike.
Whether you use the 5v to connect to pul+ and dir+, or you use gnd to connect to pul- and dir- is up to you, but I would recommend that the latter as this is specified in the controller's documentation. The only difference is the way it is configured in Mach3 (active low or active high). The controller has a pendant connection, so that connector may be set to a specific state. This is why I decided to try the gnd to pul- and dir-.
@@PatrickHoodDaniel Thank you for the advice!
i want to use 2 servo motor and 1 induction motor for leth machine. so need to put spindel speed for thread on bars what to do ?
i have same cotroller as shown in video
if you have money buy servo motors you have money buy lot better board controller motors mesa card need buy not this toy hobby controller.
Cat5 networking Cable works just fine for step and direction signal wires, It is a twisted pair wire and there is 8 wires and a shield which is enough to control 2 drivers in 1 cable.
Yes, good choice. Make sure the shield is tied to earth ground.
Yes mine is ground to the main controller case ground. The step and direction signal wires will never produce interference but shielding is extra protection for out side sources contaminating those twisted wires. I am a Moderator On Face Book with 100,000 members for a CNC building group and help with idea's and information for the beginners, been doing it for a few years after years of electronic work and machinist/welder/fitter jobs.
@@johnward5890 Excellent. well done. You will see in my latest videos and videos focusing on limit switches and proximity switches, I explain the importance of shielding.
Yes the proximity switches i have, got their own shielding cable. I just wire 2 sensors in the one 4 pin GX16 connector with 2 pins for powering the 2 Proximity switches and 1pin for each proximity sensor so each axis has 2 proximity sensors in the same plug like X+ and X- would be one GX16 plug.
Oh and do I need a windows laptop, or will my IMac with windows on virtual desktop work fine. Think to get a windows laptop makes sense, only what version software for Mach 3?
You will need windows and with this controller, it is fine to use windows 10.
If I connect 24v and DCM then naturally all OUT1-2-3-4 ports should be 24v without computer? I think I have a broken driver. I'm right?
Thank you Patrick. Your instructions are the best I have seen.
Am I able to download the free version of Mach 3 onto either a laptop or desktop with Win 10 until I know it will work or do I need to purchase a licence before I can use the USB version?
I have already used Mach 3 Lathe on an old 32 bit Dell which requires a parallel port with mixed results. I have one of the boards you have demonstrated and have been looking for information to allow me to use it because computers with parallel ports are becoming more difficult to get. I will be following your videos with great interest. Many thanks
Woodie82 Brisbane
You don't need to purchase a license to use the USB controller. The license for Mach3 only limits the number of gcode instructions that can be processed. You will be fine with a laptop with Windows 10 64-bit with this controller.
mach3 not subbort good usb need buy mach4 version software and mach3 no need pay licence newer have free and can download many many internet site. but why buy usb version because cheapen have add ne computer pciE to lpt card. and sametime this little cheap about 8$ card safe you pc motherboard no go broken if have problems.cheapen have broken PCI/PCIE card than burn motherboard at pc. and old paraller port pc can buy used computers about 10-40$
mach3 no need pay licence .have FREE, only new usb mach4 need licence. old mach3 have FREE
@@mattivirta Hi Matt. It is several years since I asked about the Mach 3 issue so your reply I received today was a surprise and I thank you for taking the time. My attempts to use Mach 3 with the USB board were not successful so I put it aside and moved on to a non cnc project. I was having a lot of trouble getting it to work and it was suggested that I needed to uninstall and then reinstall Mach 3 to sort it out. I no longer have a parallel port computer so at some stage I will make another attempt to get Mach 3 to function on my laptop. I think the problem I was having with with the xml file and I have seen a suggestion that may help that. All I want to do is run Mach Turn. I have not interest in a cnc router or mill. Thanks for taking the time. Woodie
great video, how do you wire up the USB card to the spindle relays and to the inverter ? is there a video ? than you!
czcams.com/video/aD3_0NmUowk/video.html This is for speed control.
Here is the page on my site that has the other videos, including wiring the output for the inverter l. www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board
Hi,
Nice work by the way,
I have a different Mach3 usb board, so which plugin should I download
PS: it's a green card , named Mach3 interface board in the back ,
It may be the same one that I have on the product page: www.buildyourcnc.com/item/electronicsAndMotors-electronic-component-breakout-Mach3-USB-Board
If the board is squarish, then it is probably the same driver/plugin.
Awesome
I followed the instructions but when plug it in I see red and green light on the driver and when I press reset I see only red and the motor is not turning. What is the Problem ?
Thank you for the amazing Content.
You might want to lower the current setting on the driver. Also, make sure to power down and wait for at least 20 seconds before changing wires and dip switch settings as these drivers are very sensitive to this sort of thing.
Thanks.
I've noticed that the input pins will accept NO switches only ( when i connect NC it appears Limit Switches triggered in Mach3 and engages the E-Stop). Is there any settings to change in Mach3 in order to accept NC switches ?
Not sure this will help. but try going into ports and pins configuration in Mach3 and changing the active low setting for that switch.
If you still remember me...I am still here and hoping you could continue your tutorials on avr, arm, micro controller in general...still waiting for your videos from patreon...all the best
Thanks. I'm focusing on writing a reference/book on that subject. I may still do videos on microcontrollers, but I have no timeframe for that.
@@PatrickHoodDaniel Any ETA for that reference/book? Do let us know here on yt when its ready...and thank you for your tutorials
Hi, thank you very much. can I use this controller with another software?
This controller is only compatible with Mach3, but if you can get the API information from Mach3, you can use it to make your own software.
Patrick, have you check this module for backlash compensation? My same module not function for backlash compensation, and not clear for port mapping. In my opinion it bad junk product from china
Will this Mach3 Configuration File RIGHT CLICK AND SELECT "SAVE AS" work for Mach3 lathe to. thanks Dave
No, this is only for the mill, but if you use the lathe, just replace the port number to 3 for the outputs and inputs. The motor outputs should automatically work as long as you enable them.
How can I move 2 axis at the same time ? Thank you so much
All axes work at the same time while running a job using code, or if you enter code in the MDI. You can only manually jog one axis at a time.
Good
Thank you for the video, I just have a problem downloading the configuration file, it looks like the link is broken, can you help me with this?
The link on the website?
Hi I have been told I need closed loop stepper motors on my cnc which have quite a few wires from them. Do you have videos on how to wire the closed loop steppers. Are you running Windows on your computer to operate the Cnc? I haven't used a Cnc before this is all new to me and took words from someone that seems to know a bit about them maybe.
I am using closed-loop steppers on my personal machine connected to this controller. All versions of Windows will work with this controller. I am planning to do a video on closed-loop steppers and wiring for them.
Is the bitsensor rnr board support backlash settings?
I don't believe so. The CPU would need control of the pulse train to compensate for backlash. With that said, you should always resolve backlash in the mechanical and structural assembly of the machine. I have never had good results with backlash compensation digitally.
Mach3 usb controller supports with planet cnc software?
No, the mach3 usb controller uses Mach3 software only. The planetCNC controller will only work with the PlanetCNC software. Thanks for the comment.
What is your reason for setting the microstepping to 3200? Top vid, thanks a lot.👍👍👍
The roller chain doesn't allow for the best mechanical resolution, so 3200 is best with these types for drive systems. If you work it out with the formula: steps/inch = 3200 steps / (14 teeth * .25 inches per teeth) = 3200/3.5 = 914.827 step per inch. That is just below 1000 steps per inch which is pretty much standard for routers. If you want to get more granular, gets best to go with a drive system that will give you better mechanical resolution like a lead screw.
I'm replacing my CNCEST China driver's with the DM542T. Stepper motor runs very slow, but smooth. About 1 revolution every 6 seconds. When I try to move the axis It only moves about .1". If I try to calibrate the stepper motor. The motor sounds like it is grinding gears and barely moves. It is wired correctly, but could it be the SWM settings on the toggle switches. Tried different ones. Some turn the stepper on others don't move it at all. Any suggestions?!
Yes, try lowering the velocity and acceleration. The motor is probably reaching its max torque. You can also remove the motor and check the mechanical system to see if there is binding, or if the mechanical system is too tight, or there is too much friction.
can I use this one for laser
Yes, but I would not recommend it. You will not be able to run sophisticated engravings.
What about part 2???
Ethernet version?
I couldn't get my green controller board to work so I bought this one not realizing there's no port to connect the uc100. I don't get it. I need my laptop to control this so how?
This board connects to the USB port. This is one of a series of videos for this board. check out the rest of the videos.
Sir.. need your help..i want make spindle use servo motor ...how to wiring and set up?...thanks sir
if you have money buy servo motors you can buy mesa 7I76 etc mesa card too not buy cheap ,this usb mach3 board cost normal 12-30$ mesa have lot better and expensive too.
I have a much older 3 Axis machine, but am upgrading Motion Controller and Stepper Drivers. Should I wire mine using the 5V method? Also, I have no idea who the manufacture of my stepper motors are. I am sure they a Nema 17s . How do i figure out what amperage to use on the Stepper Drivers dip switches. At the moment I am using 1.5 amp. Not sure that is enough?
It's really up to you. Using GND, or using the 5V method difference is just a software checkbox toggle. I like using the GND since there are two GND terminals available on the controller.
stepper motor can use lot better if have maximum normal used 24volt or more, 36volt power supply to motors. controller boards use 5volt. driver board maximum best use, etc,TB6600 max have about 40votl use 36 volt power.