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 > Ability Systems - LPT Indexer and G-Code



Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-08-2010, 07:29 PM
 
Join Date: Feb 2010
Location: us
Posts: 7
Fernando E. is on a distinguished road
Exclamation Machining more than 10 parts without using g92

Looking for help.... Pretty new at programming and want to find a easiest and simplest way to use the g54-g59 work shift coordinates but want to machine about 10 parts. I am aware of G92 but i have been told there is a way using g54 to do this. Any help and examples in format would be great! thanks
Reply With Quote

  #2   Ban this user!
Old 02-08-2010, 08:23 PM
 
Join Date: Jan 2005
Location: USA
Posts: 2,345
mactec54 is on a distinguished road
Buy me a Beer?

Hi Fernando E.

Just do X & Y moves to each part
__________________
Mactec54
Reply With Quote

  #3   Ban this user!
Old 02-08-2010, 09:44 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,559
Geof will become famous soon enough

Use G52 and you can put a temporary work zero at each part.

The G52 command uses X Y and Z coordinates that place the temporary work zero with reference to your active work zero. For instance let us say your ten parts are held in two rows of five pieces spaced four inches apart on the X axis along the rows while the rows are also spaced four inches apart; this means you have a two by five grid on four inch squares.

You are going to need two programs, one to choose the work zero and the other one is a subprogram which does the machining.

Now you put your G54 at the center of the part furthest on the right and furthest back so your program has these commands:

G54 (This selects your work zero)
M98 Onnnn (This calls up your subprogram number Onnnn which does the work.)

The machine returns from the subprogram to the line below the calling line and here you have these commands:

G52 X-4.0 Y0.0 Z0.0 (This creates a temporay work zero at the next part to the left)
G98 Onnnn (Back to the subprogram)

The complete sequence to step along all your parts from the first to the last is:

G54
M98 Onnnn
G52 X-4.0 Y0.0 Z0.0
M08 Onnn
G52 X-8.0 Y0.0 Z0.0
M08 Onnn
G52 X-12.0 Y0.0 Z0.0
M08 Onnn
G52 X-16.0 Y0.0 Z0.0
M08 Onnn
G52 X-16.0 Y-4.0 Z0.0
M08 Onnn
G52 X-12.0 Y-4.0 Z0.0
M08 Onnn
G52 X-8.0 Y-4.0 Z0.0
M08 Onnn
G52 X-0.0 Y-4.0 Z0.0
M08 Onnn
G52 X-4.0 Y0.0 Z0.0
M08 Onnn

There are other ways to do it such as relocating your G54 by using a G10 command and to save lines you can do things using incremental shifts for either the G54 or the G52s or you can simply put in ten fixed work zeros, G54 to G113 if your machine can do that many.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #4   Ban this user!
Old 02-09-2010, 07:09 PM
 
Join Date: Jan 2005
Location: USA
Posts: 2,345
mactec54 is on a distinguished road
Buy me a Beer?

Hi Geof

I like using the G52 as well it works great for the Hass machines/control but it does not work to good on other controls
__________________
Mactec54
Reply With Quote

  #5   Ban this user!
Old 02-10-2010, 05:27 PM
 
Join Date: Feb 2010
Location: us
Posts: 7
Fernando E. is on a distinguished road
Smile Thank You

Thanks guys, i will give the G52 command a shot as soon as im back in the shop!!
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-10-2010, 05:36 PM
CNCRim's Avatar  
Join Date: Feb 2006
Location: usa
Posts: 947
CNCRim is on a distinguished road

Originally Posted by mactec54 View Post
Hi Geof

I like using the G52 as well it works great for the Hass machines/control but it does not work to good on other controls
Good news, you still can use G10.
__________________
The best way to learn is trial error.
Reply With Quote

  #7   Ban this user!
Old 02-11-2010, 05:48 AM
 
Join Date: Feb 2010
Location: us
Posts: 7
Fernando E. is on a distinguished road
cncrim

Whats a good example for using g10 with the g54-g59 work shift coordinates?
Reply With Quote

  #8   Ban this user!
Old 02-11-2010, 07:49 AM
 
Join Date: Jan 2005
Location: USA
Posts: 2,345
mactec54 is on a distinguished road
Buy me a Beer?

Hi Fernando E.

It can be as simple as this no G10 or G52 needed or anything else needed, Just simple X & Y moves, in this case just the X is moving, this is for 5 parts just doing a spot drill on each part at its 0,0 point
Attached Files
File Type: txt 5 parts.txt‎ (162 Bytes, 66 views)
__________________
Mactec54
Reply With Quote

  #9   Ban this user!
Old 02-11-2010, 08:36 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,559
Geof will become famous soon enough

Using G10 it is as simple as replacing all the G52 commands in my example with G19 commands.

G10 L2 G90 P1 X-4. Y-4. Z0. (Locates G54 at -4., -4.)
M98 Onnnn
H10 L2 G90 P1 X-8. Y-4. Z0. (Now G54 is moved to the next location at -8. -4.)

You just carry on like this moving G54 to where you need it.

This method is really not much different in how many lines you need to type.

If you have many more than ten locations and if your machine can do an L count in the M98 command you can move G54 incrementally to save typing.

G10 L2 G91 X-4. Y0. Z0. M98 Onnnn L4

Will step G54 along the X axis in four moves of 4"; then you have a G10 command to move Y down and then step X back so the whole sequence is like this.

G54 M98 Onnnn (Machine first part at original G54 location)
G10 L2 G91 X-4. Y0. Z0. M98 Onnnn L4 (Step along to other four locations)
G10 L2 G91 X0. Y-4. Z0. M98 Onnnn L1 (Move Y)
G10 L2 G91 X4. Y0. Z0. M98 Onnnn L4 (Step X back)

I think the main problem with this approach is that not many machines allow the L count with G98.

Finally, you can use G10 to enter individual work corrdinates at all the locations; P1 is G54, P2 is G55, etc., but this is not much different to entering them yourself on the offset page. If you have fixturing that is always located in the same place on the machine, however, this can save a lot of time on repeat jobs.
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #10   Ban this user!
Old 02-11-2010, 05:22 PM
 
Join Date: Feb 2010
Location: us
Posts: 7
Fernando E. is on a distinguished road
geof

I used the following format, and i encountered some problems.
- Any idea where i fowled up?

Example:

g0 g40 g49 g80 g90
go g90 g54 x0 y0 t1 m6
s5000 m3
g43 h1 z0.05 m8
G54
m98 p20
g10 L2 g90 p1 x-2.5 y0
m98 P20
G10 L2 G90 P1 X-5.0 Y0
M98 P20
G10 L2 G90 P1 X-7.5 Y0
M98 P20
GO Z0.05 M9
M5
G0 G28 G91 Z0
M30

Subprogram p20 example
g1 z-0.05 f15.
X 0.5
Y - 0.8
X - 0.5
Y0
M99

Last edited by Fernando E.; 02-11-2010 at 05:39 PM.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-11-2010, 06:11 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,559
Geof will become famous soon enough

Do you have the subprogram in the control as a separate program to the one with all the G10 and M98 commands.

What you have written should run on my machines if I load the first part under this program name and make the M98 call P20000

O11111
g0 g40 g49 g80 g90
go g90 g54 x0 y0 t1 m6
s5000 m3
g43 h1 z0.05 m8
G54
m98 p20000
g10 L2 g90 p1 x-2.5 y0
m98 P20000
G10 L2 G90 P1 X-5.0 Y0
M98 P20000
G10 L2 G90 P1 X-7.5 Y0
M98 P20000
GO Z0.05 M9
M5
G0 G28 G91 Z0
M30

Then the subprogram as this

O20000
g1 z-0.05 f15.
X 0.5
Y - 0.8
X - 0.5
Y0
M99
__________________
An open mind is a virtue...so long as all the common sense has not leaked out.
Reply With Quote

  #12   Ban this user!
Old 02-11-2010, 06:41 PM
 
Join Date: Feb 2010
Location: us
Posts: 7
Fernando E. is on a distinguished road

Yes, i have it down as 2 seperate programs. i am using a fanuc control, tomorrow i will play around with it a little and see where it takes me. Greatly appreciate all the advice!
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
Machining parts Susie Product Announcements & Manufacturer News 1 01-10-2010 09:12 PM
machining parts for motorcycles ? schneberger Europe Club House 11 08-31-2009 03:48 PM
Newbie- Need help machining multiple parts greenweanie EdgeCam 4 05-22-2009 08:20 PM
Parts RFQ Machining 6061 hoju1301 Employment Opportunity 6 07-11-2006 06:07 PM
Machining anodized parts or anodize after machining? SRT Mike General Metalwork Discussion 4 03-11-2006 11:22 PM




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