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 04-17-2005, 09:53 PM
 
Join Date: Jun 2003
Location: USA
Age: 42
Posts: 30
redbaron is on a distinguished road
Question about Referencing and Zeroing.

I have a gantry router with a home position (0,0,0) at the lower left of the table with the router positioned at the top of the Z-Axis. My table has an offset of about -6.5" which then sets the Z offset to +6.5.

My Question is that every time a program initializes or I want to put the tool at a fixture offset, Mach 2 trys to raise the tool by it's own length before lowering it to 0. This really is noticable on my fixtures which are taller. There is plenty of room (+1") between my longest tool and the top of the stock, but Mach2 is trying to raise the tool by it's tool length (ex. 1.6") before lowering it to 0 or safe-z. This of course triggers my home/limit switch because it is less than the length of the tool.

I have set the safe-z to 0 and this does not fix it. Is there a way that Mach2 2 can just move to X0,Y0 and then lower to Z0 without raising by a tool length before doing so?

Am I making sense? Am I an idiot!?

TIA
Reply With Quote

  #2   Ban this user!
Old 04-17-2005, 10:02 PM
 
Join Date: Jun 2003
Location: USA
Age: 42
Posts: 30
redbaron is on a distinguished road
This might help.

This might help. I'm not sure it's a Mach2 thing or not but her is my init G-Code.

N10 G20
N20 G0 G17 G40 G49 G80 G90
N30 G64(CONSTANT CONTOUR ON OR TURN OFF W/G61)
N40 (2 1/2 Axis Pocketing)
N50 T2 M6
N60 G43 0
N70 S10000 M03
N80 G00 Z0.7500
Reply With Quote

  #3  
Old 04-17-2005, 10:50 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

I'm not sure if this is part of your problem but your line:
G43 0
looks a little suspect.

The G43 command is the length offset command. Typically, it should be followed with a "H" address and a number corresponding to the correct entry line in the offset table:
G43 H2
would be a typical example. The value associated with "H2" would be the Z length offset for that tool 2.

I don't know anything about how Mach2 works, but there may be a setting where you can tell it to add the tool offset movement into the next Z movement. This would eliminate the movement caused by simply calling the tool offset. Might be worth a look.

Other that that, I can describe a method I developed on my old Bandits, which always executed a movement for every tool offset call: Call the top of your work Z0. Or even better, use some kind of a standard guage to set your tool lengths to, something that would typically be above your part's Z0.

I always began the tool setup by measuring the offset of the longest tool first. This would help me judge how high my "guage" would be. I always wanted my offsets to be zero or negative values. Thus, when they executed, the tool would never rise and hit the limit.

Once all your tools are set, you can measure the difference in distance between your setup guage and the top of the part. Do this in jog mode perhaps, zeroing on top of the guage, and then jogging down until you touch the part, with a paper feeler guage to help you sense the touch.

Take this measurement and enter it into the G54 work offset table Z column, which I'll assume Mach2 also has somewhere.

Near the beginning of your program, you will want to call for the G54 work coordinate system before any movements are made. You use the X and Y values in the G54 to determine how to get your tool from home, over to the reference corner of your part anyways. So now, you also make use of the Z value in the G54.

What you should then see is this: you call the tool change and call its length offset. The tool moves down so its tip is at the height of your setup guage. Then, you set the machine into the G54 work coordinate system, simply by placing a G54 in your program.

Now, when you call for a Z1.0, the tool should move to a height of 1" above your part's Z0.
__________________
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)
Reply With Quote

  #4   Ban this user!
Old 04-19-2005, 12:34 AM
 
Join Date: Jun 2003
Location: USA
Age: 42
Posts: 30
redbaron is on a distinguished road

Thanks mucho for the advice. I'll take a look at the G43 command and see if that's the culprit
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





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