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 10-07-2010, 03:18 AM
 
Join Date: Jan 2010
Location: UK
Posts: 21
neomagik is on a distinguished road
Limit and Home Configuration

Hi all,

I am about to wire in my limit/home switches but I'm not sure if what I am proposing will work.

My BOB has 4 inputs so I was planning to use one as an E Stop, one for X Y & Z limits wired in series (NC) with the X & Y doubling up as home switches and one normally open input for my Z home switch but using my cutting tool/mill and a piece of aluminium of a known thickness on the table to close the circuit.

Can Mach 3 be configured to work in such a way?
Reply With Quote

  #2   Ban this user!
Old 10-07-2010, 06:46 AM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

I dont think you can use the same switch for a home and a limit. When the home switch was touched, Mach wouldnt know and would stop. Use the 3 inputs (1 for each axis) and 1 input for the E stop. Wire each pair of switches of an axis in series. When homing let it hit the switch and back off, then proceed to where ever your "home" would be (this will be a physical amount of distance or location from the switch set by you thru software). It works very well. If you use the the input pins as I have described you can have 3 axis simultaneous homing.
Reply With Quote

  #3   Ban this user!
Old 10-07-2010, 07:20 AM
 
Join Date: Jan 2010
Location: UK
Posts: 21
neomagik is on a distinguished road

Fastest1

What I meant was to have a home switch at the X-- and Y-- end that also acts as a limit switch if needed wired in series with limit switches at the X++, Y++ and Z++ end.

I wanted to keep an input free to home the Z axis as it needs to be configured as a normally open contact if I am to home it using the method I descibed earlier.

I thought Mach could be configured this way??
Reply With Quote

  #4   Ban this user!
Old 10-07-2010, 07:45 AM
M250cnc's Avatar  
Join Date: Sep 2007
Location: England
Age: 60
Posts: 359
M250cnc is on a distinguished road

neomagik

All limits and homing can go to one input. When homing the switch is used as a home switch. When running it is used as a limit.

I also suggest you set soft limits to come into play before you hit an actual limit. This has the advantage of Mach not running the code if you are trying to go beyond the physical machine limits.

One input to be used for Auto Tool Zero

I suggest the E STOP be wired in such a way that if you had a computer malfunction that the E STOP would still work IE it turns everything off including the spindle DO NOT RELY ON SOFTWARE FOR THIS FUNCTION

I use the E STOP input as follows as i am using a VFD to control my motor there are times when the VFD will switch off due to excessive braking or acceleration it also has an inbuilt relay so the 5v goes through the relay so should the VFD switch off then i get an automatic E STOP in Mach

Phil
Reply With Quote

  #5   Ban this user!
Old 10-07-2010, 11:50 AM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

Originally Posted by M250cnc View Post
neomagik

All limits and homing can go to one input. When homing the switch is used as a home switch. When running it is used as a limit.

I also suggest you set soft limits to come into play before you hit an actual limit. This has the advantage of Mach not running the code if you are trying to go beyond the physical machine limits.

One input to be used for Auto Tool Zero

I suggest the E STOP be wired in such a way that if you had a computer malfunction that the E STOP would still work IE it turns everything off including the spindle DO NOT RELY ON SOFTWARE FOR THIS FUNCTION

I use the E STOP input as follows as i am using a VFD to control my motor there are times when the VFD will switch off due to excessive braking or acceleration it also has an inbuilt relay so the 5v goes through the relay so should the VFD switch off then i get an automatic E STOP in Mach

Phil
Though I agree that you can acheive a software home this way, I dont believe this is actually a home switch. From what I have come to understand, the machine can not pass a limit but can pass a home switch. they can not be configured to do both. All limits can be on 1 pin and all homes can be on another pin. but all cant go to the same pin. Also you can only home 1 axis at a time unless all axis' use their own pin.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-07-2010, 01:19 PM
 
Join Date: Mar 2010
Location: US
Posts: 363
brtech is on a distinguished road

Nope, that's not true with Mach. Read the documentation. Many routers have combined limit and home switches.

There is a consequence, which the manual mentions. You can't start a home operation with the router either at the limit/home (tripped) or on the "other side" of the limit/home. It's going to move the tool in the direction of home assuming the tool is presently somewhere in the middle, and it better be able to do that. It can be just off of the home switch, which is where the tool usually is placed when you home.

It is true that if you have more than one home switch on the same pin that it can only move one axis at a time, but at least in the default configuration, it always does that. Mine homes Z, then Y, then X. I have 4 inputs, combined home and limit, because I have a double drive on X. If you have dual drives, you slave them, but they home independently. This squares the gantry to the table if you align them correctly.
Reply With Quote

  #7   Ban this user!
Old 10-07-2010, 02:34 PM
 
Join Date: Mar 2009
Location: UK
Posts: 622
hemsworthlad is on a distinguished road

Personally I wouldn't use limit switch's.?
Unless your machine is very small or very fast you'll find that you never get any where near the limit's.! Save your self the hassle of installing and the potential noise issue's related with limit switch's, soft limit's work fine.
The combined home & limit on 1 input is ok but does have issue's if the home switch is far away from the limit and it's a pain remembering to drive it back the right side of the home switch.
Really if you must use limit's and it's done properly thru hardware/relay's etc then you also need a way to over ride the system so you can drive them off the switch's, a mometary button type override something that cant be permently left switched off bypassing the limit's.

DONT RELY ON SOFTWARE TO ESTOP. You want everything to cut dead and shut down in a controlled way when the O-**** button is pressed and the only way to do this properly is thru relay's etc. . . relying on software for e-stop is dangerous.

Cheers
Dean.
Reply With Quote

  #8   Ban this user!
Old 10-07-2010, 02:42 PM
 
Join Date: Jan 2010
Location: UK
Posts: 21
neomagik is on a distinguished road

Basically, I want to set the X-- and Y-- limits as 0, 0 (home) and the table top as 0 for Z--

I can then use offsets as needed.

Can I use a separate input for the Z axis homing?
Reply With Quote

  #9   Ban this user!
Old 10-07-2010, 02:59 PM
 
Join Date: Jan 2010
Location: UK
Posts: 21
neomagik is on a distinguished road

Surely the easiest way to do an E stop is to plug the router and power supply to the controller to a common switched supply. Then you just hit the switch and cut all power in an emergency.
Reply With Quote

  #10   Ban this user!
Old 10-07-2010, 03:02 PM
 
Join Date: Mar 2010
Location: US
Posts: 363
brtech is on a distinguished road

Yes, you can, but usually you set home for Z at the top.

Among the reasons for that are that if you have a random tool in the spindle, and you drive it to the limit switch, you can ram the tool into the table.

Usually, you home to the top, and then you use a touch off tool to work surface top.
There are some folks who have a surface zero routine with conductive button in the table that zeros the tool to the table. I haven't spent the time to figure out why they do that.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-07-2010, 03:08 PM
 
Join Date: Mar 2010
Location: US
Posts: 363
brtech is on a distinguished road

Most controllers have E-Stop inputs. It's good to use them, rather than just cut power.
Reply With Quote

  #12   Ban this user!
Old 10-07-2010, 04:16 PM
M250cnc's Avatar  
Join Date: Sep 2007
Location: England
Age: 60
Posts: 359
M250cnc is on a distinguished road

Originally Posted by hemsworthlad View Post
Personally I wouldn't use limit switch's.?
Dean i take it from this statement that you yourself do not use limits ?

Originally Posted by hemsworthlad View Post
Unless your machine is very small or very fast you'll find that you never get any where near the limit's.! Save your self the hassle of installing and the potential noise issue's related with limit switch's, soft limit's work fine.
The combined home & limit on 1 input is ok but does have issue's if the home switch is far away from the limit and it's a pain remembering to drive it back the right side of the home switch.
Lots of mistakes with the above as the home switch and limit are the same, then you will not be far away from it if you hit it. The other thing is if you lose position then soft limits are useless and you will hit something hard. I already mentioned to use softlimits as well, potential noise issues can be overcome but i have never suffered from it.


Originally Posted by hemsworthlad View Post
Really if you must use limit's and it's done properly thru hardware/relay's etc then you also need a way to over ride the system so you can drive them off the switch's, a mometary button type override something that cant be permently left switched off bypassing the limit's.
Not true, there is a setting that enables you to drive off a limit switch after you press the reset button (ON SCREEN)

Originally Posted by hemsworthlad View Post
DONT RELY ON SOFTWARE TO ESTOP. You want everything to cut dead and shut down in a controlled way when the O-**** button is pressed and the only way to do this properly is thru relay's etc. . . relying on software for e-stop is dangerous.
Yeah i already mentioned that.

neomagik

There are lots of ways of doing things and everybody does it differently, but i agree with brtech in using the top of the material as Z zero when you take a cut this way you are going below the surface which is a Z minus number. Why this way, well say i have a vice on the table with some stock and i want to cut a 3mm deep slot, so i zero to the top surface set Z to -3 easy, now try it your way zeroing from the table surface, lots of potential for error.

Now it's true with combined home and limit switches that you can only home one axis at a time but it can be quite an accurate way to continue from where you left off or if you have to reset after a collision. This is a very fast way to get very close to where you were at and is not possible without homing switches.

I use separate home switches now (Optical) on my lathe and mill and they are accurate to 0.0001"

HTH Phil
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
Need Help!- Home/Limit configuration in Mach3 ranju DIY-CNC Router Table Machines 9 03-24-2010 04:24 PM
What home and limit switches? jbluetooth DIY-CNC Router Table Machines 7 01-12-2009 03:01 AM
Home/Limit on same switch? hargray2 General Electronics Discussion 1 04-02-2006 02:20 PM
How to for home and limit switches Hack DIY-CNC Router Table Machines 5 03-28-2005 09:20 AM
Home and Limit kenlambert General Metal Working Machines 6 04-02-2004 11:00 AM




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