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 Software (ArtSoft software) Discuss Mach 1 , 2 and the new Mach3 here NC software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-15-2003, 02:36 PM
 
Join Date: Apr 2003
Location: UK
Posts: 1,080
kong is on a distinguished road
mach2 home switches

I've just downloaded the demo of Mach2, having just set my home switches up for emc - nc switches wired in series to one input. I just can't figure out how to get all of the axes to home. I can see the button that says "ref all" which sends all axes to home, but when one hits it's switch, mach2 thinks they are all at home. Is there a ref x or ref y button somewhere?!
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 12-15-2003, 07:19 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

My home switches are working. Mine are NO. Perhaps you need to change that in the software somewhere (uncheck active low?). I don't see a ref x, y, z. I also can't figure out how to send an axis to a location...

Eric
__________________
I wish it wouldn't crash.
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 12-15-2003, 09:53 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

I am not sure how you have your machines set up, but logically, the setup is impossible if you are calling your home position that location where the switch opens. You should not. You should home to a given number of steps from where the switch changes state again. This will allow the continuity of the circuit to home another axis in sequence.

For machines with encoders, they never home on something as crude as a switch opening. That is merely a signal to mark the approximate position, after which the encoder index is sought in a given range from the switch break.
__________________
First you get good, then you get fast. Then grouchiness sets in.

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

  #4   Ban this user!
Old 12-15-2003, 10:59 PM
HomeCNC's Avatar  
Join Date: Mar 2003
Location: United States
Age: 54
Posts: 779
HomeCNC is on a distinguished road

Kong, I have attached some setup screen shots of my Mach 2 setup. Look over the screen shots and compair them to yours.
Attached Thumbnails
Click image for larger version

Name:	03 ports-pins.jpg‎
Views:	571
Size:	47.5 KB
ID:	1111  
__________________
Thanks

Jeff Davis (HomeCNC)
http://www.homecnc.info


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

  #5   Ban this user!
Old 12-15-2003, 11:00 PM
HomeCNC's Avatar  
Join Date: Mar 2003
Location: United States
Age: 54
Posts: 779
HomeCNC is on a distinguished road

Next one.


Also check out the Mach 2 PDF manual
Attached Thumbnails
Click image for larger version

Name:	05 ports-pins.jpg‎
Views:	529
Size:	55.6 KB
ID:	1112  
__________________
Thanks

Jeff Davis (HomeCNC)
http://www.homecnc.info


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

Sponsored Links
  #6   Ban this user!
Old 12-15-2003, 11:21 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

Hu,

You are correct that the best way is to use the encoder's marker pulse for homing after you hit a home switch. I think there is a circuit for doing that on the CAD_CAM yahoo site. It's just another thing on my to do list that will never get done!

Eric
__________________
I wish it wouldn't crash.
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 12-16-2003, 08:34 AM
 
Join Date: Apr 2003
Location: UK
Posts: 1,080
kong is on a distinguished road

Thanks guys, I've wired each one on a seperate pin now, so they work ok when I use "ref all". Balsaman, the only way I can see to send an axis to a location is to use the MDI screen to input a seperate line of g-code. I'm liking this software now, will purchase at the weekend I think.
Just out of interest, what sort of pulse stream should I expect to get from an AMD 500Mhz pc, as the demo is limited to 25000Hz.
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 12-16-2003, 12:22 PM
balsaman's Avatar  
Join Date: Mar 2003
Location: Canada
Posts: 2,139
balsaman is on a distinguished road

Originally posted by kong
Thanks guys, I've wired each one on a seperate pin now, so they work ok when I use "ref all". Balsaman, the only way I can see to send an axis to a location is to use the MDI screen to input a seperate line of g-code. I'm liking this software now, will purchase at the weekend I think.
Just out of interest, what sort of pulse stream should I expect to get from an AMD 500Mhz pc, as the demo is limited to 25000Hz.
Are you sure? I thought it was user selectable. Up to 35000 hz...

Maybe you are right. 25 khz is enough for my machine.

My Pll 233 puts out the 25 khz no problem.

Hey this is my 1000th post! You guys must be sick of my rambling. LOL

Eric
__________________
I wish it wouldn't crash.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 12-16-2003, 12:32 PM
 
Join Date: Apr 2003
Location: UK
Posts: 1,080
kong is on a distinguished road

Originally posted by balsaman

Hey this is my 1000th post! You guys must be sick of my rambling. LOL

Eric
yawns, only joking!

Seriously, the demo will allow you to change the settings, but they seem to have no effect. In the motor tuning screen, the max speed stays the same. I can remeber reading this somewhere too. My machine requires 9500ish pulses per inch/second.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 12-16-2003, 01:21 PM
HomeCNC's Avatar  
Join Date: Mar 2003
Location: United States
Age: 54
Posts: 779
HomeCNC is on a distinguished road

Balsaman,

I was wondering the date you would hit 1000 posts. Wow you do talk alot

I thought you were using TurboCNC not Mach 2.
__________________
Thanks

Jeff Davis (HomeCNC)
http://www.homecnc.info


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

Sponsored Links
  #11  
Old 12-16-2003, 01:40 PM
High Seas's Avatar
Gold Member
 
Join Date: Sep 2003
Location: Malaysia/Australia/NZ/USA
Age: 62
Posts: 1,124
High Seas is on a distinguished road

Kong -
My PIII/500hz machine "seemed" to be ok at 35000. I say "seemed" as I was trying to work some motor problems - steps lost/gained and thought a re-tune would be usefull to explore all rates and pulse width allternatives. BUT - the problem seems to really be the motors. All indications were the system was running at 35,000 +/- but the symptoms remained the same- so off for another set!
Jim
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 12-16-2003, 02:05 PM
 
Join Date: Apr 2003
Location: UK
Posts: 1,080
kong is on a distinguished road

HighSeas, it's probably no help, but I have just read about on-board graphics interupting the pulse-stream. It seems in the older systems these graphics chip sets may have a higher system priority than Mach2, which I take it may cause lost steps or jerkiness in motion. Just a thought.
Tweet this Post!Share on Facebook
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 and home switches EMC and Mach2? ESjaavik LinuxCNC (formerly EMC2) 4 09-29-2008 11:39 AM
How do you hook up limit and home switches? CNCadmin DeskCNC Controller Board 6 09-23-2007 04:34 PM
The relationship of limit switches to home switches. MikeAber General Electronics Discussion 4 11-04-2004 02:28 PM
Limit switches and home switches viktorcnc TurboCNC 2 08-03-2004 07:11 AM
Home switches and limit switches. ynneb General Electronics Discussion 5 04-08-2004 06:32 PM




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