585,667 active members*
3,940 visitors online*
Register for free
Login
Page 1 of 4 123
Results 1 to 20 of 69
  1. #1
    Join Date
    Sep 2009
    Posts
    160

    Xbox controller install on Mach3

    Installing an Xbox360 controller as a pendant controller for my CNC router was actually easier than I thought it would be. That’s because Lee Davis has written an awesome plug-in for Mach3. Thanks, Lee.

    Here were my steps:

    1. Buy new, USB wired Xbox 360 controller from Ebay ($25 delivered).
    2. Go to the machsoft website, download section at http://www.machsupport.com/plugins.php, scroll down…and download the plugin and guide for the Xbox 360 controller.
    3. Read the guide document you just downloaded. It will direct you to the Microsoft site to download the driver for the Xbox: Xbox 360_32End.exe. After you have downloaded the file, click on it to execute the file.
    4. Now plug in the Xbox controller to a USB port on your computer. Your computer should pop up a couple of messages indicating it has recognized a USB device. It should also light up one quadrant of the Xbox button (big one, center of top with an "x" on it), showing all is well.
    5. Start Mach3, and click on Config/Config Plugins. You should see a line for Xbox 360. Click on the red “x” beside the Xbox 360 to turn it into a green check mark. Then click on the yellow highlighted “CONFIG” in the same line. (If you do not see this plugin, go back to where you saved the downloaded plugin file, and click on it).
    6. You will now see a picture of an Xbox controller with drop down boxes for each button showing your choices. Click on each choice. Here are the choices I made:
    Click image for larger version. 

Name:	xbox360 controller.jpg 
Views:	1 
Size:	33.2 KB 
ID:	103247

    7. The only tricky part was putting in a macro for the Green Button which I wanted to Goto Z=0. Reading the guide, it said to use the Notepad to write the macro. In my case, I just had one line:
    Code “G00 Z0”. I saved the file per Lee’s suggestion as M798.m1s. Then, here’s the part that drove me a little crazy. You have to save that file inside of Mach 3 in the Macros folder, inside the subfolder that has the same name as the xml file you are using. So if your xml file is billsmachine.xml, inside the Macros folder of Mach3, you will find a subfolder named billsmachine. That’s where you save the macro M798.m1s. If you look around that folder, you can see other macros with somewhat similar names. In the CONFIG screen you insert 798 in the Custom Macro#1 box on the left side of the screen, and then for the green button drop down box, you select Custom Macro #1.
    8. With your Xbox controller plugged into a USB port, shut down Mach3 and then restart it, and you should be in business with a working pendant controller for $25 and about 45 minutes of your time invested. This should save me from wiping out another keyboard from dust. Thanks again to Lee Davis.

  2. #2
    Join Date
    Feb 2007
    Posts
    127
    Thanks for the info!!!! Works GREAT!!!LUV IT, much better than the joystick option (only controls 2 axis)

    Robert

  3. #3
    Join Date
    Jun 2010
    Posts
    89
    Has anyone tried/ had success using this method with a wireless xbox controller?

    Might be a nice addition.

    B

  4. #4
    Join Date
    Mar 2006
    Posts
    233
    Quote Originally Posted by Brian Corwin View Post
    Has anyone tried/ had success using this method with a wireless xbox controller?

    Might be a nice addition.

    B
    I as well am very interested in the wireless option....

  5. #5
    Join Date
    Aug 2008
    Posts
    409
    Quote Originally Posted by Brian Corwin View Post
    Has anyone tried/ had success using this method with a wireless xbox controller?

    Might be a nice addition.

    B
    Ive been using my wireless xbox controller just fine for the last several months. Gone through a few batteries already.

    Only issue is that the wireless controller powers down after 15mins of no use so you have to power it back up again when you want to use it. Mach3 doesnt see this power down/up so it doesnt care either way.

  6. #6
    Join Date
    Mar 2006
    Posts
    233
    Quote Originally Posted by Phife View Post
    Ive been using my wireless xbox controller just fine for the last several months. Gone through a few batteries already.

    Only issue is that the wireless controller powers down after 15mins of no use so you have to power it back up again when you want to use it. Mach3 doesnt see this power down/up so it doesnt care either way.
    Whats the setup process for the wireless controller?

  7. #7
    Join Date
    Aug 2008
    Posts
    409
    Quote Originally Posted by SatanKlawz View Post
    Whats the setup process for the wireless controller?
    Same as the wired controller, In the mach3 xbox plugin settings is a selector that allows you to choose between wired and wireless.

  8. #8
    Join Date
    Mar 2006
    Posts
    233
    Quote Originally Posted by Phife View Post
    Same as the wired controller, In the mach3 xbox plugin settings is a selector that allows you to choose between wired and wireless.
    Ok, I did some searching last night and it looks like it is the exact same except you have to buy the wireless controller AND the wireless adapter for your PC. Either way I will be going wireless. IS this just an xbox controller or is it a xbox 360 controller or are they the same?

  9. #9
    Join Date
    Apr 2010
    Posts
    0
    No, They're not the same. You must get the Xbox 360 controller. I just tried to hook up an older Xbox controller and it didn't work.

    Maybe there is another way to make the older xbox controller work..

  10. #10
    Join Date
    Mar 2004
    Posts
    761
    My CNC router has a new wired XboX 360 controller. My reference was this thread. I thought long and hard about using a wireless. The practical wired factor won out over having glitches with a dead batteries.
    Wayne Hill

  11. #11
    Join Date
    Dec 2007
    Posts
    93
    I have played with the Xbox 360 controller and Mach 3 so I wanted to share my findings. I purchased a clone controller from Walmart for $25, and it worked fine. They also had a $15 dollar model, but I didn't try that one. I then wanted to go wireless. You need to purchase the wireless Xbox 360 PC package in order to get the USB wireless receiver. A white version can be purchased from Best Buy for $65. Once you have the receiver, any wireless Xbox controller will work. I wanted a black wireless controller, so I returned the white one and bought a black one and the receiver off of an Ebay ad. You can find new wireless recievers being sold on Ebay, but I could not find any sources locally.
    The wireless controller will shut itself off after a certain length of time, otherwise you can pop out the batteries and pop back in to shut it off immediately. Even when the controller is off, some will still drain the batteries slowly. I read some blogs and others are having the same problem as me. If I leave the batteries in overnight, they will be dead the next day. I am now looking at getting the rechargeable batteries and the charging base.
    Wireless is cool, but I would suggest looking at the total cost before you decide which way to go. I thought I could just buy a $50 wireless version of the controller, but there is much more to it than that.
    The set-up and programming was straight forward.

  12. #12
    Join Date
    Mar 2006
    Posts
    233
    Just picked up a genuine wireless xbox 360 controller for $35. now I need the pc adapter.

  13. #13
    Join Date
    Aug 2008
    Posts
    409
    You guys need to buy the Wireless Xbox360 controller for Windows, not the regular Xbox360 wireless controller.

    The Windows version has the proper USB wireless adapter.

  14. #14
    Join Date
    Jun 2005
    Posts
    1729

    Smile Wireless XBOX controller

    Guys,

    I purchased a real xbox360 wireless unit and it works perfect on MACH3. You have to get the pc to recognize the usb plug in with the wireless transmitter/receiver but installing the microsoft driver and then install the MACH3 plugin for the xbox controller and it will work.

    CNCMAN172

  15. #15
    Join Date
    Mar 2006
    Posts
    233
    I just picked up a genuine microsoft wireless adapter for the xbox 360 controller for the pc. I shouldnt have a issue should I? I think I bought just a regular microsoft xbox 360 wireless controller.

  16. #16
    Join Date
    May 2008
    Posts
    4068

  17. #17
    Join Date
    Oct 2006
    Posts
    205
    Speaking of cordless options.
    I use my cordless keyboard to take around my table to jog with.

    I'm sure the xbox controller has more functions than using the keyboard.

    Rod

  18. #18
    Join Date
    Aug 2010
    Posts
    0

    Macro Problem With Controller

    I have the Xbox 360 controller working just fine. Thanks to all who labored on this plugin.

    I am having a problem however, configuring a very simple custom macro.

    I'm following the procedure at the very end of the Setup Guide.

    I have written the following macro, saving it with the name "M798.m1s"
    G00 Z0.0
    G00 X0 Y0
    I was mindful that I put a carriage return at the end of the file.

    I have saved it in the C:\Mach3\macros\Zen_Router directory.

    "Zen_Router" is the directory corresponding to my XML profile.

    The actual name of my XML file is "Zen_Router.xml".

    I have assigned 'Custom Macro#1' to "798" (without quotes).

    I have assigned 'Back Btn' to "Custom Macro #1"

    Then I 'OK' out of the Xbox Plugin screen.

    Then I 'OK' out of the 'Plugin Control and Activation' screen.

    Then I exit Mach 3

    Then I restart Mach 3 using my Zen_Router profile.

    Then comes the problem...

    When I press the 'Back Button' I get an error message which says:

    "Scripter Compile Error. In:M798.mis"

    I have used Google to search the whole web for such a message string and have found nothing.

    Ditto CNCZone.

    Ditto Mach 3 Forums.

    I even made a copy of the file and save it to the same macro folder under the name "M798.mis" right along with filename "M798.m1s".

    I did the whole restart thing and no difference.

    I even Checked that maybe it should be "M798.mls" and saved that one also.

    So now I have three files:
    M798.m1s
    M798.mis
    M798.mls

    ...all in the same directory and I still get the same error message.

    This should be a no-brainer.

    Help!

    -gnuB

  19. #19
    Join Date
    Sep 2009
    Posts
    160
    Here was the original instruction for the macro:
    The only tricky part was putting in a macro for the Green Button which I wanted to Goto Z=0. Reading the guide, it said to use the Notepad to write the macro. In my case, I just had one line:
    Code “G00 Z0”. I saved the file per Lee’s suggestion as M798.m1s. Then, here’s the part that drove me a little crazy. You have to save that file inside of Mach 3 in the Macros folder, inside the subfolder that has the same name as the xml file you are using. So if your xml file is billsmachine.xml, inside the Macros folder of Mach3, you will find a subfolder named billsmachine. That’s where you save the macro M798.m1s. If you look around that folder, you can see other macros with somewhat similar names. In the CONFIG screen you insert 798 in the Custom Macro#1 box on the left side of the screen, and then for the green button drop down box, you select Custom Macro #1.

    Your lines need to be in the format shown above:
    Code "G00 Z0 Y0 X0"...presuming you want to zero all three axis. You do need the word: code as shown shown above. The name of the file is M798.m1s...the character before the "s" is a "one", not a "ell" and not an "i".

    Good luck

  20. #20
    Join Date
    Aug 2010
    Posts
    0

    Zeeway rules!!!

    Zeeway rules!!!

    As you suggested, I used the proper syntax:
    Code "G00 Z0 Y0 X0"
    And saved it using the proper name "M798.m1s", which was one of my attempts (I did get that part right).

    It's working now, thanks for your help.

    Where would I find documentation to the problem I had? I looked for it but I guess I just didn't look in the correct place.

    Thanks again for your help.

    -gnuB

Page 1 of 4 123

Similar Threads

  1. Trying an xbox controller on my Mach3 setup... Maybe.
    By voltsandbolts in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 06-05-2013, 04:20 PM
  2. Xbox 360 controller on my Mikini
    By slowtwitch in forum Mikinimech
    Replies: 3
    Last Post: 07-03-2012, 01:25 PM
  3. XBOX 360 Controller
    By riche543 in forum Uncategorised CAD Discussion
    Replies: 0
    Last Post: 10-26-2011, 08:46 AM
  4. Xbox 360 controller
    By CATCH22 in forum Mach Wizards, Macros, & Addons
    Replies: 0
    Last Post: 08-24-2008, 12:04 AM

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
  •