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 > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-22-2004, 01:09 AM
 
Join Date: Dec 2004
Location: United States of America
Posts: 1
saxman is on a distinguished road
Points Covers Easy Y Shifting

IMAGE - http://shadowsoft-games.com/saxman/pntcover.jpg


I am unable to figure out why my G-code doesn't do what I thought it was supposed to. What I have done is create 3 different points covers. I originally created them in their own seperate programs. I want to cut out all 3 on a single sheet instead of having to switch between sheets each time.

In the uploaded picture, you see these covers and how they are supposed to line-up. Each cover is 4 inches apart both X and Y. Problem is, because I drew all 3 seperate, their origin's are at X0 Y0. I figured with G-code, I could correct the problem. This was my plan:

- First draw the '1' covers as normal based on X0 Y0.
- G92 Y4 ; This should move the '1' covers up +4.
- Draw the '2' covers based on X0 Y0.
- G92 Y4 ; This should move the '1' and '2' covers up +4.
- Draw the '3' covers based on X0 Y0.
- G92 Y-8 ; This moves everything down 8 so that the '1' covers are at Y0, '2' covers are at Y-4, and the '3' covers are at Y-8.

When I graph this, it shows up exactly how I expected it to. However, when I go to cut out my parts, when it gets to '2', it still thinks that Y0 is in the same position as '1'.... so it wants to draw '2' on top of '1'. I am not understanding why the machine is doing something different from what my graph shows. If this method that I'm using isn't going to work, is there a better method instead of manually changing every Y position? One method that is out of the question is changing the Y home position.


If it helps, I'm using Centroid's Intercon v8.22. I am programming the information into ICN files (which allow you to manually enter G and M codes if you wish).
Attached Thumbnails
Click image for larger version

Name:	pntcover.jpg‎
Views:	58
Size:	18.9 KB
ID:	4314  

Last edited by CNCadmin; 12-22-2004 at 07:45 AM.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 12-22-2004, 03:36 AM
 
Join Date: Jun 2004
Location: United States
Posts: 450
DAB_Design is on a distinguished road

Any chance you could post the actual g code?
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 12-22-2004, 11:25 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

G92 is tricky to use...not difficult, just tricky

G92 does not cause any motion of the machine.

G92 renames the coordinates of the current position. That means you should cut the first one, beginning at X0 Y0 then make a move (by your calculations, I guess) to the beginning point (origin) on the second profile. When the machine is there, then you program that position as G92 X0 Y0. Then, rerun the rest of the profile just as it was the first time. Then, move to the origin of the third profile, rename it G92 X0 Y0 and then cut it.

A better way is to use work offsets, G54 through G59 are commonly available. This is because your position at the end of the last profile is still stuck in the frame of reference of the last G92 coordinate system. By contrast, using work offsets, you can "get out" of any offset coordinate system by cancelling it with G53 (which returns you back to the machine coordinate system, which is G53 by default).

When you are all done cutting however many widgets, you may not know exactly where the machine position is any more, because you have called the G92 many times and don't know the coordinates of the home position. Thus, you may be able to move back to the very start (home) position on your control by commanding a move to G53 G00 X0Y0, which should take you back to the machine's home position. Be careful when trying this out for the first time! Make sure your tools are all clear (preferably not even in the spindle!) and turn down the rapid speed to observe the motions in slo-mo.
__________________
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)

Last edited by HuFlungDung; 12-22-2004 at 01:07 PM.
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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