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 05-27-2008, 12:56 AM
 
Join Date: Apr 2008
Location: usa
Posts: 4
steve hill is on a distinguished road
wedm programing problem

I have a wire edm that is controlled by a Fanuc SP-150 controller. I am new to g codes as I have always had a post prosessor to write the programs for the Agie edm , which we have had for years. However, our new used machine ,Hitachi wire edm with Fanuc controller, has to have different programing then the Agie has. I have been working with Esprit and so far every program we have written wants to zero X and Y to the start of the program and losing my original reference point. I have a block which has to have eight .375 dowel pin at holes burned in it at exact locations. I want to zero the corner of the block and move to a location ,burn a hole ,move to the next , burn the hole and so on. I want the program to start wherever I put it ,start and stop at the same X and Y location. The machine is not an auto threader. The Agie works like this so I feel this is a matter of programing. Could someone give me an example of programing that would do this. Any help will be greatly appreciated. This is my first post. Thanks much Steve
Reply With Quote

  #2   Ban this user!
Old 05-27-2008, 05:23 AM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

Originally Posted by steve hill View Post
.... move to a location ,burn a hole ,move to the next , burn the hole and so on. I want the program to start wherever I put it ,start and stop at the same X and Y location.....
Sounds like you should program the code for the hole using G91 (Increment). I'm guessing you need some code like a mill would use. I've never used a EDM.

Start at centre of hole.

G91 G01 X0.1875
G03 X0 Y0 I-0.1875 J0
G01 X-0.1875
G90
CHECK BEFORE YOU CUT

Last edited by Kiwi; 05-27-2008 at 06:22 AM. Reason: Altered Code!!!!!!!
Reply With Quote

  #3   Ban this user!
Old 05-29-2008, 09:08 PM
 
Join Date: Apr 2008
Location: usa
Posts: 4
steve hill is on a distinguished road
wedm programing problem

Thank you Kiwi for your response. I tried it but the machine wouldn't take it. I have a friend who has one of these machines and he programes it with Bridgeport mill software, like you mentioned, but he doesn't do multiple holes only one cut pieces. Guess I'll just keep hammering it out with Esprit untill we get something that works. Thanks again for your reply. Steve
Reply With Quote

  #4   Ban this user!
Old 05-29-2008, 10:15 PM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

Can you send some code. Two or three holes only so I can see what does work.

Just a thought, may require circle to be two arcs.

G91 G01 X0.1875
G03 X-0.375 Y0 I-0.1875 J0
G03 X0.375 Y0 I0.1875 J0
G01 X-0.1875
G90

Last edited by Kiwi; 05-29-2008 at 10:26 PM. Reason: added code
Reply With Quote

  #5   Ban this user!
Old 06-06-2008, 10:38 PM
 
Join Date: Apr 2008
Location: usa
Posts: 4
steve hill is on a distinguished road
programing

Hi kiwi - I finally got the programing I was after. The answer was to write it incrementally. This is the programing for a .500 hole with 2 skim cuts on a wire edm. The s code is the power setting and the d code is the offsets.
g91
s1 do
g52 g41 g01 y.25 t5.
g03 x.0299 y-.0018 i0 j-.25
m00
x-.0299 y.0018 i-.0299 j-.2482
g50 g40 g01 y-.03
s2 d01
g52 g42 g01 y-.03 t5.
g02 i0 j-.25
g50 g40 g01 y-.03
s2 d02
g52 g41 g01 y.03 t5.
g03 i0 j-.25
g50 g40 g01 y-.25
g00 x0 y0
m30
this progaming allows me to start anywhere and it will end where it was started, without losing my reference at the corner of the block.

thanks for your interest Steve
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-08-2008, 12:47 AM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

Your code appears to have more detail and moves than I offered.
Glad you have got what you required.
Cheers.
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
Hitachi WEDM Spinner CNC Plasma and Waterjet Machines 7 07-06-2010 08:01 PM
C axis programing problem (Meldas 635) Koalas Mazak, Mitsubishi, Mazatrol 7 11-02-2009 12:52 PM
wedm rschap1 Fanuc 2 01-08-2007 04:41 AM
Mitsubishi H110 Wedm Wire Problem osomaker CNC Plasma and Waterjet Machines 1 12-11-2006 12:23 PM
UG Fanuc WEDM rschap1 Post Processor Files 4 09-28-2006 10:24 AM




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