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 Mill



This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-05-2011, 11:16 AM
hub hub is offline
 
Join Date: Sep 2010
Location: Finland
Posts: 435
hub is on a distinguished road
Configuring Mach3

I have been setting up and configuring Mach3 mill for my 3 axis CNC machine.
Some problems/questions/notes..

- I had to do the 'axis calibration' for each axis VERY many (more than 20) times. Now it's accurate enough, but why did it take so many times? Move axis; check measurement; enter value.. Over and over. Got closer and closer each time. Is it something in the software or something in my measurement technique? I measured using a digital caliper fixed to the axis to be measured.

- I had the E-Stop input on in Mach, but after some time running the machine it would say E-Stop has been pressed, even though it hadn't. Disabled the input in Mach and now it works fine. I'm guessing some sort of noise triggered to input..? The E-Stop is connected to the stepper drivers and spindle, it will stop them but the problem is Mach3 doesn't know E-Stop has been pressed so it continues to run the GCode happily thinking nothing is wrong.. Any ideas?

- Spindle RPM is not constant. Mach is controlling it. I'm guessing the pulse rate varies a bit.. Any way to fix this?

- Otherwise, works pretty good
__________________
http://www.cnczone.com/forums/cnc_wood_router_project_log/125895-my_diy_cnc_cnc2011_%3B.html
Reply With Quote

  #2  
Old 05-05-2011, 12:58 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,456
ger21 is on a distinguished road
Buy me a Beer?

I've heard about the calibration issue ,but have never used it. Just do the math to get your steps/unit, make a cut and measure. If it's off, do the math and enter the correct number. Done.

Sounds like noise is triggering the E-Stop. A band aid fix is to increase the debounce in general config. Try a value of 2000 to start.
As for Mach3 not stopping, get a switch with another set of contacts and wire it to an input pin to mach3, so it knows to stop.

What are you controlling your spindle with? The pulse rate shouldn't vary much at all. If it does, you'll notice it in your steppers too.
__________________
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 05-05-2011, 01:13 PM
hub hub is offline
 
Join Date: Sep 2010
Location: Finland
Posts: 435
hub is on a distinguished road

Thanks for the reply

I used the calibration in this case because I have on the X and Y axis plain threaded rod for now. Yes, they have a pitch, but it's too inaccurate I think so I thought I would try the calibration.. Worked ok in the end but I agree the math would be a better way.

Band aid fix? With a value of 2000? I'm totally lost.. What do you mean, sorry..
I know how to make Mach3 stop, I have just disabled it for now because of the issue.

I'm controlling my spindle with Mach 3, it send a PWM signal to my break out board, which converts it to analogue 0-10V, which is connected to my VFD analogue input.
I haven't noticed the same with the steppers. I can't confirm it but they sound to do constant RPM..
__________________
http://www.cnczone.com/forums/cnc_wood_router_project_log/125895-my_diy_cnc_cnc2011_%3B.html
Reply With Quote

  #4   Ban this user!
Old 05-05-2011, 01:26 PM
hub hub is offline
 
Join Date: Sep 2010
Location: Finland
Posts: 435
hub is on a distinguished road

I checked the 'General Config' and could not find a setting for band aid fix.. I found 'Debounce Interval' and 'Index Debounce'. Would it be any of those? (Currently both are 0).
__________________
http://www.cnczone.com/forums/cnc_wood_router_project_log/125895-my_diy_cnc_cnc2011_%3B.html
Reply With Quote

  #5  
Old 05-05-2011, 02:07 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,456
ger21 is on a distinguished road
Buy me a Beer?

I said band aid because it doesn't fix the noise issue, but it makes it better. It's the Debounce, (not the index).

Measure the voltage coming out of the breakout board, and see if it's steady. I use pwm with my spindle (Super-PID) and it's rock solid. It could also be the VFD maybe?
__________________
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

Sponsored Links
  #6   Ban this user!
Old 05-05-2011, 02:12 PM
hub hub is offline
 
Join Date: Sep 2010
Location: Finland
Posts: 435
hub is on a distinguished road

Ok, thanks a lot! Will try that tomorrow & see if it helps..
__________________
http://www.cnczone.com/forums/cnc_wood_router_project_log/125895-my_diy_cnc_cnc2011_%3B.html
Reply With Quote

  #7   Ban this user!
Old 05-09-2011, 01:56 AM
Grebbo's Avatar  
Join Date: Mar 2007
Location: Australia
Posts: 65
Grebbo is on a distinguished road

Hi hub,

I had lots of trouble with intermittent “noise” with my machine when I first set it up, it would trip the “E Stop” half way through a job etc, here a some things you may consider and are ones I did and eventually gotten rid of noise, or at least to a level where it’s not a problem:
1. Shield your wires that you have running to your limit switches, use shielded computer wire etc.
2. Separate your wires e.g. stepper motor supply from your limit switches wires, don’t have them touching etc.
3. Move your BOB as far away from your drivers, I put mine in an aluminium box to further shield it from noise, just turn your radio on and turn your drives on and you will see or hear how much noise drivers and power supply can produce!!
4. My VFD probably caused some of the “noise” as well, if you are using one, isolate those wires as well.
5. Increase your Debounce, I have heard of some going as far as 5000?? (this is a “band aid fix” as Gerry mentioned in his post, but might get you going until you work out what is actually causing your noise.
6. Slow down your machine, e.g. do not go over 100% feed rate.
Some might work and some might be totally irrelevant, however when you are stuck at 2.00am and pulling your hair out, they might just work,

Good luck,

Mel
Reply With Quote

  #8   Ban this user!
Old 05-09-2011, 11:54 AM
hub hub is offline
 
Join Date: Sep 2010
Location: Finland
Posts: 435
hub is on a distinguished road

Thanks a lot Mel,

I haven't had a chance to test the "debounce" setting yet, I have done some mechanic work on the machine. When it's done I can do some tests..

Reading your helpful suggestions, I have several things "wrong":
- My stepper cables are not shielded, neither is the E-Stop cable (but the wire from VFD to motor is shielded)
- BOB is very close to the drivers (I'm using the cables supplied with the kit, which are short...)

I'll try your suggestions when the machine is ready to run again

Yes, the machine totally kills my radio signal! Probably the neighbors too...

I have already slowed down the machine, because I have some stalling issues at higher speeds, still trying to resolve that problem.. But for now I'm just going slower to be safe until I get it fixed somehow.

Hub
__________________
http://www.cnczone.com/forums/cnc_wood_router_project_log/125895-my_diy_cnc_cnc2011_%3B.html
Reply With Quote

  #9   Ban this user!
Old 05-09-2011, 08:56 PM
Grebbo's Avatar  
Join Date: Mar 2007
Location: Australia
Posts: 65
Grebbo is on a distinguished road

Hi hub,

Below is the shielded cable that I’m using to run my limit switches, I got it from the local electronics supplier, I actually doubled up the wires (tied 2 wires together) and then connected the shield to earth. From memory I did not use shielded cable for the stepper motors but did separate them away from the limit switch wires.

Hope that helps.
Good luck,

Mel
Attached Thumbnails
Click image for larger version

Name:	shielded-cable.jpg‎
Views:	35
Size:	80.9 KB
ID:	133732  
Reply With Quote

  #10   Ban this user!
Old 05-10-2011, 01:13 PM
hub hub is offline
 
Join Date: Sep 2010
Location: Finland
Posts: 435
hub is on a distinguished road

Thanks Mel
Did you connect the shield wire only? Or the wire + "shield foil"? I'm guessing connect to ground in one end only?

Hub
__________________
http://www.cnczone.com/forums/cnc_wood_router_project_log/125895-my_diy_cnc_cnc2011_%3B.html
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-10-2011, 05:14 PM
Grebbo's Avatar  
Join Date: Mar 2007
Location: Australia
Posts: 65
Grebbo is on a distinguished road
Red face

Correct, just connect the wire at one end, the foil is already connected within the cable, I also left the foil as long as I could around the contacts of the limit switches, ( I was desperate!!) where I made the connection between cables, I also put them in a small aluminium box that’s bolted to my gantry which is metal, I think I have spent more time stuffing around with noise then actually wiring my machine up..
Reply With Quote

  #12   Ban this user!
Old 05-16-2011, 10:48 AM
hub hub is offline
 
Join Date: Sep 2010
Location: Finland
Posts: 435
hub is on a distinguished road

An update on this; thanks a lot for the help
The debounce setting fixed my problem on the E-Stop, works perfectly now!!

I'm still having trouble with the spindle RPM though..
I'm guessing it's a computer issue with not stable enough pulse rate. But in saying that, it's very strange that the steppers seems to have pretty constant RPM..
I'll next try shielded cables; test and see if that helps.

Hub
__________________
http://www.cnczone.com/forums/cnc_wood_router_project_log/125895-my_diy_cnc_cnc2011_%3B.html
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
Newbie- Configuring Z axis savall21 Machines running Mach Software 15 01-31-2011 05:48 PM
Configuring EMC2 for MAXNC T2 yugami LinuxCNC (formerly EMC2) 2 10-31-2010 05:11 PM
Need help configuring z axis in mach 3 RRK Mach Software (ArtSoft software) 1 07-13-2008 06:21 PM
configuring spindle speed Freddy Bastard Tormach PCNC 1 06-04-2008 02:59 PM
Help Configuring Turbocnc Ayjay TurboCNC 2 03-16-2006 04:53 AM




All times are GMT -5. The time now is 12:25 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