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! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-10-2010, 11:18 PM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road
Talking Home and or limit switches or both?

If you can run a switch at each end (limit) of an axis and 1 in the middle (home), I believe during the homing sequence each axis hits their limit either + or - and then proceeds to look for the home switch and stops upon seeing/touching it. I believe this can all be acheived with 1 pin for all 3 axis'. Furthermore I would think I could run only 1 switch per axis in this case an optical switch. I would think placing a flag (a piece to interupt the beam) at each end of the axis and 1 in the middle for a home would be identical to the machine. I see people refer to needing a pin per axis for homing. That doesnt seem necessary. Possibly for 3-4 axis simultaneous homing. But will this work? If not why? Next I am going to be asking how I get an independent LED for each axis' switch, not just 1 for any switch triggered. BTW I run Mach 3.
Reply With Quote

  #2  
Old 07-10-2010, 11:47 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,453
ger21 is on a distinguished road
Buy me a Beer?

When Mach3 hits a limit, it stops. It won't turn and look for the switch. It always travels to home in the same direction.

Also, if the home and limits are on the same pin, and the home is in the middle, it'll act like a limit switch and stop the machine.

Least amount of pins is maybe 2? 1 pin for shared home/limit on each axis, and one for limits on the other end. Then you'll need to home each axis separately.
__________________
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 07-11-2010, 12:31 AM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

So then if only using 1 pin for all 3 axis' I could make a home with a soft limit? that would still be pretty accurate wouldnt it? I might add a PP but trying to stay away from it if possible.
Reply With Quote

  #4   Ban this user!
Old 07-11-2010, 02:50 AM
UUU UUU is offline
 
Join Date: Apr 2010
Location: UK
Posts: 226
UUU is on a distinguished road

I have only one switch at the end of each axis. These are all wired in series, so they only use up one input on the parallel port.

Then the Soft limits in Mach3 take care of the rest. These also give a table display, so I can see that the proposed job is within the limits.
Reply With Quote

  #5  
Old 07-11-2010, 08:31 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,453
ger21 is on a distinguished road
Buy me a Beer?

Originally Posted by Fastest1 View Post
So then if only using 1 pin for all 3 axis' I could make a home with a soft limit?
Don't understand what you mean.

But, I must have been tired last night. UUU is correct, you can have the 6 switches on one pin, with one on each axis being both a home and limit switch.

But you still can't do what you wanted in your original post.
__________________
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 07-11-2010, 10:14 AM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

UUU, I do realize you can do it the way you have it. I in fact had mine connected temporarily with some cherry roller switches. It worked pretty well considering it was never reallly finished, just a test. So is your "home" repeatable? Have you ever really tested it for accuracy? Isnt "home" a specific distance off of the limit switch set by the user? I guess I am trying to figure out the advantage to a specific home switch. I think both set ups allow homing to a specific point. 1 being done via software, 1 being done via a physical switch. Seems like if a mistake was made and you knew what line of gcode was running when the error occurred, you could rehome and then run from whatever line you need to restart from. Isnt this the general idea?

Ger, in reality couldnt you run 2 switches per axis with a 5 or 6 axis limit totalling 10 -12 switches?

Does this specific home switch and subsequent use of 2 pins, change or allow setting changes for simultaneous homing of all 3 axis'. Seems like now it homes 1 axis at a time. Either way is fine though simultaneous homing does look cool. Might have to investigate what I used all those pins for?

Originally Posted by ger21 View Post
Don't understand what you mean.

But, I must have been tired last night. UUU is correct, you can have the 6 switches on one pin, with one on each axis being both a home and limit switch.

But you still can't do what you wanted in your original post.
Reply With Quote

  #7   Ban this user!
Old 07-11-2010, 10:38 AM
 
Join Date: Apr 2010
Location: USA
Age: 68
Posts: 451
TarHeelTom is on a distinguished road

Originally Posted by UUU View Post
I have only one switch at the end of each axis. These are all wired in series, so they only use up one input on the parallel port.
Actually, if you have room, you can get by with only one limit switch per axis. Put the limit switch in the middle of the travel, and have a flag or bumper on each end of the table to activate the switch.

Don't know about Mach, but in EMC there are actually six different methods of setting up a homing operation.
Reply With Quote

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

THT, That is what I was thinking of doing originally however I thought you could run a flag in the middle too as a home. I am still confused on the home switches ability. It does seem like the software will have to tell it to pass that switch at some point unless it is a limit switch also. I figured if the software knew where the home switch was (by a setting placed by the user) it would know to look for a flag/trigger and record it as it was passed or stopped on. I see people refer to EMC but I really have no experience with any other OS or controller software but Mach 3 and I have plenty to learn there.
Originally Posted by TarHeelTom View Post
Actually, if you have room, you can get by with only one limit switch per axis. Put the limit switch in the middle of the travel, and have a flag or bumper on each end of the table to activate the switch.

Don't know about Mach, but in EMC there are actually six different methods of setting up a homing operation.
Reply With Quote

  #9   Ban this user!
Old 07-11-2010, 12:08 PM
 
Join Date: Apr 2010
Location: USA
Age: 68
Posts: 451
TarHeelTom is on a distinguished road

Originally Posted by Fastest1 View Post
THT, That is what I was thinking of doing originally however I thought you could run a flag in the middle too as a home. I am still confused on the home switches ability. It does seem like the software will have to tell it to pass that switch at some point unless it is a limit switch also. I figured if the software knew where the home switch was (by a setting placed by the user) it would know to look for a flag/trigger and record it as it was passed or stopped on. I see people refer to EMC but I really have no experience with any other OS or controller software but Mach 3 and I have plenty to learn there.
I believe that if you're going to have a separate switch for the homing operation, it needs to be on a separate pin. Then the software should just ignore that switch when it's not homing.

If you're going to have the home switch on the same pin as the limit switches, you're probably going to have to do something to either tell the software to ignore it, or [kludge mode] just install a switch to bypass the home switch except for homing.
Reply With Quote

  #10  
Old 07-11-2010, 12:17 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,453
ger21 is on a distinguished road
Buy me a Beer?

It does seem like the software will have to tell it to pass that switch at some point unless it is a limit switch also. I figured if the software knew where the home switch was (by a setting placed by the user) it would know to look for a flag/trigger and record it as it was passed or stopped on.
The problem is that when you only use one pin, Mach3 will see your center home as a limit. Mach only looks for the home switch when homing. During normal running, it can run past the switch. But when that switch is shared with a limit, then it'll trigger the limits.


Isnt "home" a specific distance off of the limit switch set by the user?
No, it's a specific distance off the home switch. Which may or may not be the same as the limit switch.
I don't think Mach3 ever really knows where the home switch is in relation to the limit switches. I think that's what your asking, right?

And yes, if you have a separate home switch on each axis, then you can home all the axis' together.
__________________
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
  #11   Ban this user!
Old 07-11-2010, 04:06 PM
 
Join Date: Nov 2009
Location: USA
Posts: 1,515
Fastest1 is on a distinguished road

Ok now that makes sense. Can I share pins on different xml files? I have 2 or 3 open in my mill profile and none available in my lathe profile. Since I would only be using 1 machine at a time, it seems like it shouldnt be a problem.
Reply With Quote

  #12   Ban this user!
Old 07-12-2010, 03:45 PM
UUU UUU is offline
 
Join Date: Apr 2010
Location: UK
Posts: 226
UUU is on a distinguished road

Re the question "is your home repeatable"? I've never measured it, so I don't know! I've always assumed it's not, and will always set up on the jig or the work itself before cutting.

The limits are microswitches with roller levers, operated by a ramped bar or rod, so potentially might click at the same place each time.

I've accidentally gone up to the soft limit on a few occasions, and have been pleased that the program has avoided a crash, that's all I'm wanting from the system.
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
Limit/home switches for X3 binfordw Benchtop Machines 1 03-09-2010 10:13 AM
Home and Limit Switches itsme General Electronics Discussion 2 02-20-2005 07:16 AM
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 06:47 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