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! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 08-13-2009, 06:49 PM
 
Join Date: May 2009
Location: Canada
Posts: 340
kolias is on a distinguished road
Keyboard Arrows Problem

I have a similar thread in the machsupport forum and decided to ask here in case someone had a similar problem.

With mach3 we are able to jog the motors with the keyboard arrow and page up/dn keys. For example pressing the up arrow key moves the axis in one direction and pressing the down key modes the axis in the opposite direction.

In my case pressing the up arrow key moves the axis in one direction but if I lift my figure from the key and press it again (the same key) the axis moves in the opposite direction. In other words if I want to jog the axis to the home position I’m unable to do so because every time I lift my finger and press the same key again the axis moves in a different direction.

This happens with all four arrow keys and the page up/dn keys. The direction which the axis will move is unpredictable. The keyboard keys are working fine outside of mach3. The DRO’s are moving in accordance with the key pressed so perhaps this rules out any problem with mach3.

Any ideas?
Nicolas
Reply With Quote

  #2  
Old 08-13-2009, 07:13 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,446
ger21 is on a distinguished road
Buy me a Beer?

Try increasing the dir pulse width.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #3   Ban this user!
Old 08-13-2009, 07:50 PM
 
Join Date: May 2009
Location: Canada
Posts: 340
kolias is on a distinguished road

Originally Posted by ger21 View Post
Try increasing the dir pulse width.
Thank you Gerry

That is the Dir Pulse (0-5) in the Motor Tuning Screen?

Mine was set at 5. I change it to other values within the range but did nothing.
Nicolas
Reply With Quote

  #4  
Old 08-13-2009, 07:59 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,446
ger21 is on a distinguished road
Buy me a Beer?

You can set it higher. Try 15
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #5   Ban this user!
Old 08-13-2009, 08:03 PM
 
Join Date: Jul 2003
Location: USA
Posts: 271
randyf1965 is on a distinguished road

You should be able to watch the diagnostic page (where all the input/outputs are shown) in Mach3 (not by my CNC machine) and see if the output changes, sounds like something is toggling the dir output.
Reply With Quote

Sponsored Links
  #6  
Old 08-13-2009, 08:09 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,446
ger21 is on a distinguished road
Buy me a Beer?

What kind of drives are you using? Do you have a breakout board?
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #7   Ban this user!
Old 08-14-2009, 08:11 AM
 
Join Date: May 2009
Location: Canada
Posts: 340
kolias is on a distinguished road

Originally Posted by ger21 View Post
What kind of drives are you using? Do you have a breakout board?
The motors are Keling 276oz.in with 8 wires and wired as Unipolar. The BOB is Probotix http://www.probotix.com/manuals/PBX-RF_manual.pdf

I did increase the pulse width to 15 but makes no difference. There are no any extra lights in the diagnostic screen.

Setup units is inches and motor tuning is set at about 81 velocity, 9 Accel. and I think that is the best combination but motors are still stalling (some times) and always when they stall the axis reverses.

But also without motor stalling pressing the same arrow key while the axis moves in one direction if I let go pressing and pressing again the same key she will reverse (not always, sometimes and very unpredictable).

Perhaps it is the motor tuning? I started from 10 velocity and 2 accel and increased by 5 the velocity but the happiest setting seems to be what I have. Is there any other way to tune the motors? Any good vel/accel settings?

Approx. Travel is: X=24, Y=30, Z=9 (Z driver board not installed now; was defective and waiting for replacement any day now but switching cable between X & Z, the Z axis does the same with the page up/dn keys)
Nicolas
Reply With Quote

  #8  
Old 08-14-2009, 10:27 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,446
ger21 is on a distinguished road
Buy me a Beer?

You need to check if your direction pin is toggling between 0V and 5V when you change directions. Check it at the port, the breakout board, and the drive. Should be 0V in one direction, and 5V the other direction.
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #9   Ban this user!
Old 08-14-2009, 01:15 PM
quazga's Avatar  
Join Date: Aug 2003
Location: Reno Nevada
Posts: 55
quazga is on a distinguished road

Yeah, I'd agree with Gerry.

It's something in the hardware.

In addition to his recommended tests, check your wiring diagrams again. Make sure you don't have a stepper motor wire from the BOB to the driver interchanged with your direction output wire from the BOB to the driver.

That driver direction input is getting an opposite signal every time the motor stops so that could be the problem.

I haven't used Art's software in years, but I loved his software! Art is a genius!
Reply With Quote

  #10   Ban this user!
Old 08-14-2009, 02:04 PM
 
Join Date: May 2009
Location: Canada
Posts: 340
kolias is on a distinguished road

Originally Posted by ger21 View Post
You need to check if your direction pin is toggling between 0V and 5V when you change directions. Check it at the port, the breakout board, and the drive. Should be 0V in one direction, and 5V the other direction.
That is my next step, to check the volts of the direction pin which was also suggested in the machsupport forum.

There is no wiring mistake. I have the BOB and 3 driver boards and the connection between them is thru 3 ribbon cables. I did switch the ribbon cables around just in case one is defective but the same problem persists.

Thru Gerry's input I increased the direction pulse to 15 with no change to the problem but next to this setting there is also the step pulse which was set at 5uS (that is the min recommended setting). So I increased this setting to 10 and the results are fantastic! Both the X & Y axis almost never reverse. I hit the up arrow and as I jog, it keeps going all the way to home and only reversed twice. The X axis seems to be even better.

Due to other work I had to stop my testing but on the weekend I plan to increase this number gradually and see what happens.
Nicolas
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 08-15-2009, 04:31 PM
 
Join Date: May 2009
Location: Canada
Posts: 340
kolias is on a distinguished road

Conclusion

I did not mention before but when I received my 3 drives one was defective and had to send it back for exchange.

So I was testing the machine with 2 drives and yesterday I received the new drive and installed it today in the Y axis. The results are fantastic. The axis never reversed without pressing the appropriate key.

Then I installed the same new drive on the X axis and the results again were fantastic.

So my problem was all along due to defective drives which I’m sending back for replacement.

Nicolas
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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
My table moves the wrong way when using jog arrows?!!! HankMcSpank Mach Software (ArtSoft software) 3 05-06-2009 10:21 AM
Problem- keyboard,, billwe Haas Mills 3 04-28-2008 08:57 PM
Can't use keypad arrows bcnc Mach Mill 1 10-24-2007 07:28 PM
Mini Keyboard Problem? Willyb Tormach PCNC 9 09-23-2007 05:00 PM
Keyboard problem BeliVolk General Electronics Discussion 2 07-10-2007 01:00 PM




All times are GMT -5. The time now is 07:18 AM.





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