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
  #13   Ban this user!
Old 12-03-2007, 04:50 PM
 
Join Date: May 2006
Location: Australia
Posts: 1,348
Greolt is on a distinguished road

One way to do it is to have the switch travel with the axis and have actuators at each end of travel. That way you only need three switches.

They can all be wired in series as Mach can distinguish between switches when homing. And limits don't matter which one tripped. So long as it stops motion.

Greg
Reply With Quote

  #14   Ban this user!
Old 12-03-2007, 06:01 PM
 
Join Date: Mar 2007
Location: USA
Posts: 123
springlakecnc is on a distinguished road

Hi,
One thing on limit switches: you need proper rated contacts for the amperage of your limit switch circuit. No, I’m not in reference to having heavy enough contacts, but the opposite! Yes, high amperage switches, like the ones on new iron from Taiwan. The problem is, if you are into these "step and direction" controls, your limit switch circuit may be logic level current, and if you have high rated contacts in the switch, you may get false limit switch tripping from vibration of the machine when cutting. Example: if your limit switch is rated at carrying a 20 amp circuit, and you are using logic level current, your switch will be tripping all the time, and your axis may not be anywhere near the switch. If I have a logic level circuit, I use a 1-amp contact. I do service work, and I get calls of “my z axis keeps tripping the switch, and I’m no where near it!” that’s usually the problem, the switch checks out ok with a meter, BUT, I have to replace it with one with lower amperage contacts. A prox switch won't have this problem, although i have had a tool changer that a prox switch was doing the counting, and wouldn't count correctly, I had to put in a schielded wire to the prox, then, like magic, it started counting correctly! moral: don't run unschielded control wire by high power wires. This was on a factory built machine, so i called the manufacture and explained the problem so they could correct it for the future.
Good Luck,
Buck,
Spring Lake cnc llc
Reply With Quote

  #15   Ban this user!
Old 12-04-2007, 09:43 AM
 
Join Date: Sep 2007
Location: USA
Posts: 740
BobF is on a distinguished road

Use NC switches and wire them all in series. If any switch triggers it will break the loop and trigger the limit. The machine won't care which switch triggered.
This is also a safety thing, since it will show if you break/cut a limit switch wire.
Reply With Quote

Sponsored Links
  #16   Ban this user!
Old 12-04-2007, 03:24 PM
 
Join Date: May 2007
Location: US
Posts: 55
flyon is on a distinguished road

I'm going to be wiring my CNC machine up in the next few days. I'm thinking of running each home (x,y,z) to its own input, then the max limit (x,y,z) in series to another input. So a total of 4 inputs(1-Home x, 2-Home y, 3-Home z, 4-Limit x,y,z).

The reason is I heard that when homing, and sharing multible homes on one input, Mach will only home one axis at a time. It assumes home on whatever one axis it is moving at that time when it hits the switch. I'm thinking if I branch the homes out, it should be able to home all axis at the same time..? Have I overlooked something?
Reply With Quote

  #17   Ban this user!
Old 12-04-2007, 03:53 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Originally Posted by flyon View Post
I'm going to be wiring my CNC machine up in the next few days. I'm thinking of running each home (x,y,z) to its own input, then the max limit (x,y,z) in series to another input. So a total of 4 inputs(1-Home x, 2-Home y, 3-Home z, 4-Limit x,y,z).

The reason is I heard that when homing, and sharing multible homes on one input, Mach will only home one axis at a time. It assumes home on whatever one axis it is moving at that time when it hits the switch. I'm thinking if I branch the homes out, it should be able to home all axis at the same time..? Have I overlooked something?
Flyon,

As you know, I am using emc2. It allows me to share home and limit switches. On my router the xneg limit is also xhome, the yneg is also yhome and the zpos is zhome. So when you are homing, you can home multiple axii at one time. The effect is that when homing if a particular axis hits a switch, it is treated as a home switch rather than a limit switch.

The following is for emc2 but it gives you the picture.

### I created 3 loops, one loop for each axis that combines home and limits for that axis
###

# create a signal for the x home and x limit switches combined
net XLimits parport.0.pin-11-in => axis.0.neg-lim-sw-in axis.0.pos-lim-sw-in axis.0.home-sw-in

# create a signal for the y home and y limit switches combined
net YLimits parport.0.pin-12-in => axis.1.neg-lim-sw-in axis.1.pos-lim-sw-in axis.1.home-sw-in

# create a signal for the z home and z limit switches combined
net ZLimits parport.0.pin-13-in => axis.2.neg-lim-sw-in axis.2.pos-lim-sw-in axis.2.home-sw-in
Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

  #18   Ban this user!
Old 12-04-2007, 04:17 PM
 
Join Date: May 2006
Location: Australia
Posts: 1,348
Greolt is on a distinguished road

Originally Posted by flyon View Post

The reason is I heard that when homing, and sharing multible homes on one input, Mach will only home one axis at a time.
It assumes home on whatever one axis it is moving at that time when it hits the switch.
I'm thinking if I branch the homes out, it should be able to home all axis at the same time..? Have I overlooked something?
Mach in standard configuration homes one axis at a time.

If you want to home all axis simultaneous you will have to enter a new script. Easy to do.

Best practice to let the Z axis home first, then X and Y together if you wish. Less crashes.

Greg
Reply With Quote

  #19   Ban this user!
Old 12-04-2007, 04:24 PM
acondit's Avatar  
Join Date: Apr 2005
Location: USA
Posts: 1,774
acondit is on a distinguished road

Originally Posted by Greolt View Post
Mach in standard configuration homes one axis at a time.

If you want to home all axis simultaneous you will have to enter a new script. Easy to do.

Best practice to let the Z axis home first, then X and Y together if you wish. Less crashes.

Greg
I agree with Greg. I home z first and then x and y together. If you forget to retract sufficiently and try to home all three at the same time you can break bits, machine into clamps or other little nasties.

Alan
__________________
http://www.alansmachineworks.com
Reply With Quote

  #20   Ban this user!
Old 12-14-2007, 05:09 PM
 
Join Date: Dec 2005
Location: netherlands
Posts: 301
vroemm is on a distinguished road

Originally Posted by acondit View Post
Flyon,
The effect is that when homing if a particular axis hits a switch, it is treated as a home switch rather than a limit switch.

The following is for emc2 but it gives you the picture.

### I created 3 loops, one loop for each axis that combines home and limits for that axis
###

# create a signal for the x home and x limit switches combined
net XLimits parport.0.pin-11-in => axis.0.neg-lim-sw-in axis.0.pos-lim-sw-in axis.0.home-sw-in

# create a signal for the y home and y limit switches combined
net YLimits parport.0.pin-12-in => axis.1.neg-lim-sw-in axis.1.pos-lim-sw-in axis.1.home-sw-in

# create a signal for the z home and z limit switches combined
net ZLimits parport.0.pin-13-in => axis.2.neg-lim-sw-in axis.2.pos-lim-sw-in axis.2.home-sw-in
This does not work for me.

I am using it with only a Y axis.
I have added this to the axis 1 section of stepper_mm.ini
HOME_IS_SHARED 1
HOME_SEQUENCE 1

When homing i get this:

AXIS error: hit limit in home state 8
AXIS error: joint 1 on limit switch error.

Any idea how to solve this ?

Thanks.
Reply With Quote

Sponsored Links
  #21   Ban this user!
Old 12-14-2007, 10:11 PM
 
Join Date: Jul 2005
Location: us
Age: 56
Posts: 668
Madclicker is on a distinguished road

Steppers don't need limit switches. They stall happily. I have a 1300 oz/in on my main axis driven by a wide open gecko and stalls have never caused any damage.

If you run servo's you better have limit switches that are idiot proof or it's gonna cost you big one day.
__________________
Steve
DO SOMETHING, EVEN IF IT'S WRONG!
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
Limit switches and homing switches AeroKam Open Source CNC Machine Designs 16 01-05-2008 07:56 AM
How close to the end of your travel do you have your limit switches? dmgdesigns DIY-CNC Router Table Machines 9 10-27-2005 07:47 PM
The relationship of limit switches to home switches. MikeAber General Electronics Discussion 4 11-04-2004 01:28 PM
Limit switches and home switches viktorcnc TurboCNC 2 08-03-2004 06:11 AM
Home switches and limit switches. ynneb General Electronics Discussion 5 04-08-2004 05:32 PM




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