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 08-28-2005, 03:53 AM
 
Join Date: Aug 2005
Location: usa
Posts: 41
boomer187um is on a distinguished road
I's & J's

what are the I's and J's in my code?

G90
M99:WJET
G00X10.328Y4.25
M04
F240.
G02X10.328Y4.25I10.J4.25
M03
G00X14.394Y5.934
M04
F240.
G02X14.394Y5.934I14.066J5.934
M03
G00X16.078Y10.
M04
F240.
G02X16.078Y10.I15.75J10.
M03
G00X14.394Y14.066
M04
F240.
G02X14.394Y14.066I14.066J14.066
M03
G00X10.328Y15.75
M04
F240.
G02X10.328Y15.75I10.J15.75
M03
G00X6.262Y14.066
M04
F240.
G02X6.262Y14.066I5.934J14.066
M03
G00X4.578Y10.
M04
F240.
G02X4.578Y10.I4.25J10.
M03
G00X6.262Y5.934
M04
F240.
G02X6.262Y5.934I5.934J5.934
M03
G00X14.406Y10.
M04
F240.
G02X14.406Y10.I10.J10.
M03
G00X12.736Y19.541
M04
F240.
G01X12.756Y19.612
G02X12.955Y19.553I10.J10.
G02X13.325Y19.01I12.829J19.07
G03X15.55Y18.228I14.54J18.91
G01X15.592Y18.29
G02X15.762Y18.173I10.J10.
G02X15.947Y17.541I15.493J17.751
G03X17.821Y16.111I17.071J17.071
G01X17.88Y16.156
G02X18.006Y15.992I10.J10.
G02X17.986Y15.335I17.619J15.675
G03X19.327Y13.395I18.91J14.54
G01X19.397Y13.42
G02X19.466Y13.225I10.J10.
G02X19.244Y12.606I19.J13.042
G03X19.919Y10.346I19.877J11.564
G01X19.994Y10.349
G02X19.999Y10.142I10.J10.
G02X19.596Y9.622I19.5J10.112
G03X19.541Y7.264I19.877J8.436
G01X19.612Y7.243
G02X19.553Y7.045I10.J10.
G02X19.01Y6.675I19.07J7.171
G03X18.228Y4.45I18.91J5.46
G01X18.29Y4.408
G02X18.173Y4.238I10.J10.
G02X17.541Y4.053I17.751J4.507
G03X16.111Y2.178I17.071J2.929
G01X16.156Y2.12
G02X15.992Y1.994I10.J10.
G02X15.335Y2.014I15.675J2.38
G03X13.395Y.673I14.54J1.09
G01X13.42Y.603
G02X13.225Y.534I10.J10.
G02X12.606Y.756I13.042J1.
G03X10.346Y.08I11.564J.123
G01X10.349Y.006
G02X10.142Y.001I10.J10.
G02X9.622Y.403I10.112J.5
G03X7.264Y.459I8.436J.123
G01X7.243Y.387
G02X7.045Y.446I10.J10.
G02X6.675Y.99I7.171J.93
G03X4.45Y1.771I5.46J1.09
G01X4.408Y1.71
G02X4.238Y1.827I10.J10.
G02X4.053Y2.459I4.507J2.248
G03X2.178Y3.889I2.929J2.929
G01X2.12Y3.843
G02X1.994Y4.008I10.J10.
G02X2.014Y4.665I2.38J4.325
G03X.673Y6.605I1.09J5.46
G01X.603Y6.58
G02X.534Y6.775I10.J10.
G02X.756Y7.394I1.J6.957
G03X.08Y9.654I.123J8.436
G01X.006Y9.651
G02X.001Y9.858I10.J10.
G02X.403Y10.378I.5J9.888
G03X.459Y12.736I.123J11.564
G01X.387Y12.756
G02X.446Y12.955I10.J10.
G02X.99Y13.325I.93J12.829
G03X1.771Y15.55I1.09J14.54
G01X1.71Y15.592
G02X1.827Y15.762I10.J10.
G02X2.459Y15.947I2.248J15.493
G03X3.889Y17.821I2.929J17.071
G01X3.843Y17.88
G02X4.008Y18.006I10.J10.
G02X4.665Y17.986I4.325J17.619
G03X6.605Y19.327I5.46J18.91
G01X6.58Y19.397
G02X6.775Y19.466I10.J10.
G02X7.394Y19.244I6.957J19.
G03X9.654Y19.919I8.436J19.877
G01X9.651Y19.994
G02X9.858Y19.999I10.J10.
G02X10.378Y19.596I9.888J19.5
G03X12.754Y19.613I11.564J19.877
M03
G00X9.858Y19.999
M04
F240.
G02X10.378Y19.596I9.888J19.5
M03
M30
Reply With Quote

  #2   Ban this user!
Old 08-28-2005, 04:00 AM
tex tex is offline
 
Join Date: Apr 2004
Location: Serbia and Montenegro
Age: 49
Posts: 60
tex is on a distinguished road

They are very likely to be circular interpolation codes.
Reply With Quote

  #3   Ban this user!
Old 08-28-2005, 06:42 AM
 
Join Date: Oct 2003
Location: USA
Age: 64
Posts: 263
mrainey is on a distinguished road

http://www.nfrpartners.com/nfrg2g3.htm
__________________
Software For Metalworking
http://closetolerancesoftware.com
Reply With Quote

  #4   Ban this user!
Old 08-28-2005, 06:49 AM
 
Join Date: Apr 2005
Location: Denmark
Posts: 19
FarmerDK is on a distinguished road

Hey boomer187um !
post #3 has all you need.

What i failed to notice on my job is:
"...No - we've probably forgotten something. But that's why CNC programmers make those big bucks."
Reply With Quote

  #5   Ban this user!
Old 08-28-2005, 08:06 AM
 
Join Date: Aug 2005
Location: usa
Posts: 77
underdog is on a distinguished road

the I's J's and K's are coordinates that match up with X, Y and Z respectively, and , depending on how your controller uses them, they are either; 1) the distance from the STAR of the arc to the Center of the arc you are cutting, OR 2) the coordinates of the center of the arc you are cutting. If they seem like crazy, odd numbers then they are probably number 1 above. CHeck your controller handbook to see what your controller is expecting.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-28-2005, 09:18 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

I's and J's I can understand but the program is for a waterjet cutter and has M03 and M04 which to me are spindle forward and spindle reverse. What the **** does M04 do on a water jet? Suck the water back up!!! That would be a trick.
Reply With Quote

  #7   Ban this user!
Old 08-28-2005, 10:21 AM
 
Join Date: Aug 2005
Location: usa
Posts: 41
boomer187um is on a distinguished road

M04 is water on, M03 is water off
Reply With Quote

  #8  
Old 08-28-2005, 11:03 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

Underdog,
Your point#1 is something I have never seen: the machine is always positioned at the start of the arc (obviously), so the G02 or G03 code contains the XY coordinates of the endpoint after the arc is traversed, and I and J are the XY coordinates of the arc center. That being said, the arc center coordinates are sometimes reckoned as absolute coordinates (relative to the part X0Y0), but more often, they are reckoned as incremental coordinates relative to the start point (current position) of the machine. If that's what you meant, then good
__________________
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

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

Originally Posted by boomer187um
M04 is water on, M03 is water off
Yes I had figured that but I think it is ridikulus (to quote Harry Potter). If someone trained on a water jet machine transferred to cnc mill or lathe and used M04 to start the spindle life could get interesting; most cutters prefer to run forwards. It is frustrating that all the different manufacturers could not agree on standards that are truly universal; like this and whether the I's and J's are going to be interpreted in incremental or absolute. The situation is something like it was with fasteners before unified threads when everyone had their own threads so their customers were trapped for parts and service.
Reply With Quote

  #10   Ban this user!
Old 09-01-2005, 05:03 AM
 
Join Date: Aug 2005
Location: usa
Posts: 77
underdog is on a distinguished road

HuFlungDung,

I think we're saying the same thing aren't we? Its seems the machine builders have gone in 'generations' - I worked on one ancient machine that was ONLY incremental - Yuk! Then there was absolute and the programmers looked on it and said it was good, but the I's and J's were still incremental distances from the start of the arc to the arc center ( we're talking slightly less ancient machine now). Then the I's and J's became the absolute coordinates of the arc center (making more sense now- and easier to do standing at the machine) and finally, probably in response to howls of anguish from us - we have the R radius value. Thats how I've seen it unfold.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-01-2005, 07:00 AM
 
Join Date: Oct 2003
Location: USA
Age: 64
Posts: 263
mrainey is on a distinguished road

I can only recall personally using a few controls that allowed absolute coordinates for arc centers - specifically the old Bridgeport BOSS 5, the G & L 2300, and some of the older Cincinnati Milacron models (cut me some slack, it's been a while). I'm sure there are more - what are others you've used?

I remember some older controls ( late 70's - early 80's) such as Okuma 2200's and Fanuc 6's using signed incremental distance from start point to center point. I think the Fanuc already had the option for the R. The Bendix 5 control on a Monarch VMC75 I worked with used the unsigned incremental distance, as I remember.

For manual programming, I never saw an advantage in the R or the absolute coordinates over the IJ/IK method. You had to calculate the two legs of the triangle with any of the methods to get all the info you needed to determine the start and end points, plus location of the arc center.

Variety in available features and programming styles is definitely the theme in CNC.
__________________
Software For Metalworking
http://closetolerancesoftware.com
Reply With Quote

  #12   Ban this user!
Old 09-01-2005, 09:27 AM
wisp's Avatar  
Join Date: Mar 2004
Location: usa
Posts: 173
wisp is on a distinguished road

On our new deckel maho mills with a heidenhein controls, i,j,k is an absolute X,Y,Z coordinate for center of arc.

on our mazaks, its an incremental distance from the start of the arc to then end

on our mori seiki's it and incremental distance from the start of the arc to the center of the arc.

welcome to the frustrating world of programming.
__________________
www.cncfusion.com CNC kits for Sieg mills and lathes
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 07:57 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