CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software) > Mach Wizards, Macros, & Addons



This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-31-2009, 04:52 PM
 
Join Date: Nov 2008
Location: USA
Posts: 107
Wolfesmetalfab is on a distinguished road
saitek P2900 wireless controller programming

Ive got a gamepad that I am using for lining up to cut parts for plasma, and i have got alot of buttons working, but I would like to be able to zero x and y from the program run tab in mach. how would I go about doing this because there is no keyboard shortcut for those commands?

Thanks
Brian =)
Reply With Quote

  #2   Ban this user!
Old 08-02-2009, 11:41 AM
 
Join Date: Feb 2008
Location: South Africa
Posts: 17
Biggles is on a distinguished road

Hey Brian. THe process is quite easy. First you use Screen4 and edit the buttons for zeroing the X,Y or Z. Give the Zeroing Buttons shortcut keys. Then you use Key Grabber and assign those same shortcut keys to the different buttons on your controller.

With setup, I zero all three axis and then run the GCode. Handy to have is to assign the Esc button to one of your buttons that way you can stop the machine no matter where you are in the shop.

Hope this helps.

Cheers

Barry
Reply With Quote

  #3   Ban this user!
Old 08-02-2009, 11:51 AM
 
Join Date: Nov 2008
Location: USA
Posts: 107
Wolfesmetalfab is on a distinguished road

I will have to give that a try. I already have the stop and feedhold buttons on the controller and have used them several times! I had been running back and forth for zeroing since i started, cause I had no replies, but If this works, you just saved me alot of trips! =)

I almost forgot I wanted to do this, its been so long, i kinda got used to it!
Reply With Quote

  #4   Ban this user!
Old 08-02-2009, 02:09 PM
 
Join Date: Feb 2008
Location: South Africa
Posts: 17
Biggles is on a distinguished road

I hope all goes well. I would love to have a wireless controller, but I'm having to use my Microsoft Joystick and a long USB extension cable. I have tried to use a PS3 wireless controller, but it only works via a USB cable for now. Apparently its bluetooth so maybe if I can lay my hands on a bluetooth network adapter it might work.

For now I do a lot of Router work and my workshop practices have always been about jigs. The beautiful thing about these CNC machines is that you only need to clamp the work pliece in place and then the machine does anything you want.

All the best
Reply With Quote

  #5   Ban this user!
Old 08-02-2009, 06:31 PM
 
Join Date: Nov 2008
Location: USA
Posts: 107
Wolfesmetalfab is on a distinguished road

What is "screen 4" that you speak of? I tried to edit the buttons using the option in the menu, some buttons start flashing as if those you can edit, but the zero x y and z are not??
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-03-2009, 03:37 AM
 
Join Date: Feb 2008
Location: South Africa
Posts: 17
Biggles is on a distinguished road

Hi, the Screen4 program is a screen editor for Mach3 that you can download form www.machsupport.com. http://www.machsupport.com/downloads/Screen4.zip

It is a screen designer program that allows you to make your own screen sets or modify the ones you have. I use it to do all my custom cutting as it allows you to use VB scripting as well.

When you've downloaded it and opened it up, you can open the screen set you are using and modify it. You are most probably using 1024.set as your screen set. I've saved the program in my Mach3 folder to simply usage. Open the program and then choose open file. Select 1024.set and it will open on the screen set you use. I'm assuming this is the one you are using. For safety sake you can copy 1024.set to a new file and then use that one. So if you make any mistakes or changes and want to change back, you don't have to reinstall Mach3.

With the 1024.set file open you will see some numbers counting up. Don't worry about that. What you want to do is find the zeroing buttons for X,Y and Z. Right mouse click on the first one and then you will see a small option window open with "Use Hotkey" as an option. If its already ticked and you don't know what the shortcut key is, you can untick it and retick again. When it asks you to set the key you type the Shortcut you would normally use Ctrl-X is my shortcut for zeroing the X Axis. You assign a shortcut for all three axis and for Ref All Home. Now save and close the file. Make sure your joystick is plugged in and go to Windows Start ->Control Panel->Game Controllers. There you will see you controller if its plugged in. If its not. Close the game control panel and plug in the controller and then reopen game controllers. Choose your game controller and test it. Map the buttons on your controller to a list so you know which button is which. You can then open the file in the Mach3 folder called Key Grabber. Select you controller and enable it. Then one of the tabs you'll see will aloow you to assign shortcut keys to the controller buttons. For Button 11 you might assign the Esc button. For the other buttons you might assign the zeroing shortcuts, jog mode etc etc.

Save your Key Grabber configuration file so that you can reuse your settings. Now load Mach3.

Sometimes I write small G-Code files to do small jobs I need repeated. I wanted to make a bunch of counter sunk holes in the new reduction drives I built for my CNC Router, but I didn't want to spend 10 years aligning and moving things. So I wrote a small program that made the counter sink holes.

The G-Code doesn't use G54 or any special commands. I just used the controlled to move my router into position then Ref All Home, Zero X,Y and Z and then pressed another button on the controller to start the GCode.

If you play a little with the screen designer and VB you can write all kinds of neat little tools to make pockets and profiles etc. I made a rather nice one which cuts tenons for mortise and tenon joints. with a little imagination, anything is possible.

I hope this helped.

All the best
Reply With Quote

  #7   Ban this user!
Old 04-11-2010, 10:25 PM
 
Join Date: Nov 2008
Location: USA
Posts: 107
Wolfesmetalfab is on a distinguished road

Sweet, I must have missed your reply a long time ago, i tried out screen 4, and was able to make shortcuts for zeroing x,y and z, and copied the ref z button to the main screen, and made a hotkey for it by double clicking the button. (took me awhile to figure out, cause all the others were just single click)

Last edited by Wolfesmetalfab; 04-12-2010 at 12:04 AM.
Reply With Quote

  #8   Ban this user!
Old 05-19-2010, 11:16 PM
Big-tex's Avatar  
Join Date: Jul 2009
Location: USA
Posts: 258
Big-tex is on a distinguished road

Most wireless controllers have power save, they will shut off when machine is running.
Reply With Quote

  #9   Ban this user!
Old 05-20-2010, 07:32 AM
 
Join Date: Nov 2008
Location: USA
Posts: 107
Wolfesmetalfab is on a distinguished road

Yes mine does have power save, but if it shuts off while the machine is running, its not a problem, the comands have already been given, and to turn it back on, i just have to hit any button, and it will come back on.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Elm-Chan smc servo controller programming and tuning waleed alhadidi Servo Motors and Drives 81 04-19-2010 05:47 AM
Programming a MPC6515 controller CARTOGATE Redsail Laser 9 01-30-2010 01:09 AM
HELP needed for Siemens Controller programming!! cybertool G-Code Programing 5 07-02-2008 06:46 AM
Need Help!- Elm-Chan smc servo controller programming and tuning waleed alhadidi Open Source Controller Boards 3 04-18-2008 03:00 PM
Wireless print server hardware for controller kdoney General Electronics Discussion 0 01-24-2006 05:31 PM




All times are GMT -5. The time now is 03:13 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361