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 > LinuxCNC (formerly EMC2)


LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-18-2009, 01:09 PM
 
Join Date: Aug 2008
Location: USA
Posts: 26
Concealed45 is on a distinguished road
Z tool offset not always reccognized

Is anyone framiliar with this problem in EMC2 ? If I run a program from startup, set my tools and run it works great. But if I try to run another program, or have to change tools without shutting down and restarting it seems to make up its own numbers and will tell me that a Z move will be past the limits when I know it is not. I am looking for a fix to this last night I was running a prog and had to change a tool offset midrun, reloaded the offset table, and it wouldnt run, had to shut down and rehome everything which lost my part location and it was a real pain to find it again.

TIA

Last edited by Concealed45; 10-18-2009 at 02:06 PM.
Reply With Quote

  #2   Ban this user!
Old 10-18-2009, 02:08 PM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

are you using G92 in your program?
Actually if you post your program somewhere it would be helpful.
I have not heard of this problem before.
Also what version of EMC are you using?
Reply With Quote

  #3   Ban this user!
Old 10-18-2009, 02:14 PM
 
Join Date: Aug 2008
Location: USA
Posts: 26
Concealed45 is on a distinguished road

It is version 2.3 I believe, will have to go look to be sure. I am using a G92 and posting with MasterCam9 EMC2MPFAN post processor. It does this on any program. I will see If I have a program small enough to copy in here.
Reply With Quote

  #4   Ban this user!
Old 10-18-2009, 02:37 PM
 
Join Date: Aug 2008
Location: USA
Posts: 26
Concealed45 is on a distinguished road

Here is the shortest I found, I do notice there is not a G92 as I thought there was.


%
(PROGRAM NAME - 3800VACCOVER)
(DATE=DD-MM-YY - 18-10-09 TIME=HH:MM - 13:36)
( 1/4 CENTERDRILL TOOL - 1 DIA. OFF. - 21 LEN. - 1 DIA. - .25)
N100G20
N102G90G40G49G80
N104T1M6
N106G0G90G54X.3988Y.3836S2400M3
N108G43H1Z.1
N110G99G81Z-.1R.1F6.
N112X1.5108Y1.7089
N114X2.4439Y.3827
N116X3.556Y1.708
N118G80
N120M5
N122G0G53Z0.
N124T2M6
( #Q DRILL TOOL - 2 DIA. OFF. - 22 LEN. - 2 DIA. - .332)
N126M00
N128G0G90X.3988Y.3836S240M3
N130G43H2Z.1
N132G99G83Z-.26R.1Q.1F6.
N134X1.5108Y1.7089
N136X2.4439Y.3827
N138X3.556Y1.708
N140G80
N142M5
N144G0G53Z0.
N146T3M6
( 1/4 FLAT ENDMILL TOOL - 3 DIA. OFF. - 0 LEN. - 3 DIA. - .25)
N148M00
N150G0G90X.549Y-.2087S2400M3
N152G43H3Z.25
N154Z.1
N156G1Z-.0433F6.
N158X.4647Y-.1165F10.
N160G3X.3781Y-.0759I-.0923J-.0843
N162G2X-.0406Y.5198I.0208J.4595
N164G1X.1954Y1.2815
N166G2X.5913Y1.7533I.7594J-.2353
N168G1X1.3005Y2.118
N170G2X1.9502Y1.5728I.2104J-.4091
N172G1X1.7142Y.811
N174G2X1.3184Y.3393I-.7594J.2353
N176G1X.6092Y-.0254
N178G2X.3781Y-.0759I-.2104J.4091
N180G3X.2881Y-.1085I-.0056J-.1249
N182G1X.1958Y-.1928
N184G0Z.2067
N186X.549Y-.2087
N188Z.1
N190G1Z-.0867F6.
N192X.4647Y-.1165F10.
N194G3X.3781Y-.0759I-.0923J-.0843
N196G2X-.0406Y.5198I.0208J.4595
N198G1X.1954Y1.2815
N200G2X.5913Y1.7533I.7594J-.2353
N202G1X1.3005Y2.118
N204G2X1.9502Y1.5728I.2104J-.4091
N206G1X1.7142Y.811
N208G2X1.3184Y.3393I-.7594J.2353
N210G1X.6092Y-.0254
N212G2X.3781Y-.0759I-.2104J.4091
N214G3X.2881Y-.1085I-.0056J-.1249
N216G1X.1958Y-.1928
N218G0Z.1633
N220X.549Y-.2087
N222Z.1
N224G1Z-.13F6.
N226X.4647Y-.1165F10.
N228G3X.3781Y-.0759I-.0923J-.0843
N230G2X-.0406Y.5198I.0208J.4595
N232G1X.1954Y1.2815
N234G2X.5913Y1.7533I.7594J-.2353
N236G1X1.3005Y2.118
N238G2X1.9502Y1.5728I.2104J-.4091
N240G1X1.7142Y.811
N242G2X1.3184Y.3393I-.7594J.2353
N244G1X.6092Y-.0254
N246G2X.3781Y-.0759I-.2104J.4091
N248G3X.2881Y-.1085I-.0056J-.1249
N250G1X.1958Y-.1928
N252G0Z.12
N254X.549Y-.2087
N256Z.1
N258G1Z-.1733F6.
N260X.4647Y-.1165F10.
N262G3X.3781Y-.0759I-.0923J-.0843
N264G2X-.0406Y.5198I.0208J.4595
N266G1X.1954Y1.2815
N268G2X.5913Y1.7533I.7594J-.2353
N270G1X1.3005Y2.118
N272G2X1.9502Y1.5728I.2104J-.4091
N274G1X1.7142Y.811
N276G2X1.3184Y.3393I-.7594J.2353
N278G1X.6092Y-.0254
N280G2X.3781Y-.0759I-.2104J.4091
N282G3X.2881Y-.1085I-.0056J-.1249
N284G1X.1958Y-.1928
N286G0Z.0767
N288Z.1
N290X.549Y-.2087
N292G1Z-.2167F6.
N294X.4647Y-.1165F10.
N296G3X.3781Y-.0759I-.0923J-.0843
N298G2X-.0406Y.5198I.0208J.4595
N300G1X.1954Y1.2815
N302G2X.5913Y1.7533I.7594J-.2353
N304G1X1.3005Y2.118
N306G2X1.9502Y1.5728I.2104J-.4091
N308G1X1.7142Y.811
N310G2X1.3184Y.3393I-.7594J.2353
N312G1X.6092Y-.0254
N314G2X.3781Y-.0759I-.2104J.4091
N316G3X.2881Y-.1085I-.0056J-.1249
N318G1X.1958Y-.1928
N320G0Z.0333
N322Z.1
N324X.549Y-.2087
N326G1Z-.26F6.
N328X.4647Y-.1165F10.
N330G3X.3781Y-.0759I-.0923J-.0843
N332G2X-.0406Y.5198I.0208J.4595
N334G1X.1954Y1.2815
N336G2X.5913Y1.7533I.7594J-.2353
N338G1X1.3005Y2.118
N340G2X1.9502Y1.5728I.2104J-.4091
N342G1X1.7142Y.811
N344G2X1.3184Y.3393I-.7594J.2353
N346G1X.6092Y-.0254
N348G2X.3781Y-.0759I-.2104J.4091
N350G3X.2881Y-.1085I-.0056J-.1249
N352G1X.1958Y-.1928
N354G0Z-.01
N356Z.1
N358X.5495Y-.1988
N360G1Z-.26F6.
N362X.4652Y-.1065F10.
N364G3X.3785Y-.0659I-.0923J-.0843
N366G2X-.031Y.5168I.0203J.4495
N368G1X.205Y1.2786
N370G2X.5958Y1.7444I.7498J-.2323
N372G1X1.305Y2.1091
N374G2X1.9407Y1.5757I.2058J-.4002
N376G1X1.7047Y.8139
N378G2X1.3138Y.3482I-.7498J.2323
N380G1X.6046Y-.0166
N382G2X.3785Y-.0659I-.2058J.4002
N384G3X.2886Y-.0985I-.0056J-.1249
N386G1X.1963Y-.1828
N388G0Z-.01
N390Z.25
N392X2.5957Y-.2093
N394Z.1
N396G1Z-.0433F6.
N398X2.5111Y-.1172F10.
N400G3X2.4244Y-.0769I-.0921J-.0846
N402G2X2.0045Y.5188I.0196J.4596
N404G1X2.2406Y1.2806
N406G2X2.6364Y1.7523I.7594J-.2353
N408G1X3.3456Y2.117
N410G2X3.9953Y1.5718I.2104J-.4091
N412G1X3.7593Y.8101
N414G2X3.3635Y.3383I-.7594J.2353
N416G1X2.6543Y-.0264
N418G2X2.4244Y-.0769I-.2104J.4091
N420G3X2.3345Y-.1097I-.0053J-.1249
N422G1X2.2424Y-.1943
N424G0Z.2067
N426X2.5957Y-.2093
N428Z.1
N430G1Z-.0867F6.
N432X2.5111Y-.1172F10.
N434G3X2.4244Y-.0769I-.0921J-.0846
N436G2X2.0045Y.5188I.0196J.4596
N438G1X2.2406Y1.2806
N440G2X2.6364Y1.7523I.7594J-.2353
N442G1X3.3456Y2.117
N444G2X3.9953Y1.5718I.2104J-.4091
N446G1X3.7593Y.8101
N448G2X3.3635Y.3383I-.7594J.2353
N450G1X2.6543Y-.0264
N452G2X2.4244Y-.0769I-.2104J.4091
N454G3X2.3345Y-.1097I-.0053J-.1249
N456G1X2.2424Y-.1943
N458G0Z.1633
N460X2.5957Y-.2093
N462Z.1
N464G1Z-.13F6.
N466X2.5111Y-.1172F10.
N468G3X2.4244Y-.0769I-.0921J-.0846
N470G2X2.0045Y.5188I.0196J.4596
N472G1X2.2406Y1.2806
N474G2X2.6364Y1.7523I.7594J-.2353
N476G1X3.3456Y2.117
N478G2X3.9953Y1.5718I.2104J-.4091
N480G1X3.7593Y.8101
N482G2X3.3635Y.3383I-.7594J.2353
N484G1X2.6543Y-.0264
N486G2X2.4244Y-.0769I-.2104J.4091
N488G3X2.3345Y-.1097I-.0053J-.1249
N490G1X2.2424Y-.1943
N492G0Z.12
N494X2.5957Y-.2093
N496Z.1
N498G1Z-.1733F6.
N500X2.5111Y-.1172F10.
N502G3X2.4244Y-.0769I-.0921J-.0846
N504G2X2.0045Y.5188I.0196J.4596
N506G1X2.2406Y1.2806
N508G2X2.6364Y1.7523I.7594J-.2353
N510G1X3.3456Y2.117
N512G2X3.9953Y1.5718I.2104J-.4091
N514G1X3.7593Y.8101
N516G2X3.3635Y.3383I-.7594J.2353
N518G1X2.6543Y-.0264
N520G2X2.4244Y-.0769I-.2104J.4091
N522G3X2.3345Y-.1097I-.0053J-.1249
N524G1X2.2424Y-.1943
N526G0Z.0767
N528Z.1
N530X2.5957Y-.2093
N532G1Z-.2167F6.
N534X2.5111Y-.1172F10.
N536G3X2.4244Y-.0769I-.0921J-.0846
N538G2X2.0045Y.5188I.0196J.4596
N540G1X2.2406Y1.2806
N542G2X2.6364Y1.7523I.7594J-.2353
N544G1X3.3456Y2.117
N546G2X3.9953Y1.5718I.2104J-.4091
N548G1X3.7593Y.8101
N550G2X3.3635Y.3383I-.7594J.2353
N552G1X2.6543Y-.0264
N554G2X2.4244Y-.0769I-.2104J.4091
N556G3X2.3345Y-.1097I-.0053J-.1249
N558G1X2.2424Y-.1943
N560G0Z.0333
N562Z.1
N564X2.5957Y-.2093
N566G1Z-.26F6.
N568X2.5111Y-.1172F10.
N570G3X2.4244Y-.0769I-.0921J-.0846
N572G2X2.0045Y.5188I.0196J.4596
N574G1X2.2406Y1.2806
N576G2X2.6364Y1.7523I.7594J-.2353
N578G1X3.3456Y2.117
N580G2X3.9953Y1.5718I.2104J-.4091
N582G1X3.7593Y.8101
N584G2X3.3635Y.3383I-.7594J.2353
N586G1X2.6543Y-.0264
N588G2X2.4244Y-.0769I-.2104J.4091
N590G3X2.3345Y-.1097I-.0053J-.1249
N592G1X2.2424Y-.1943
N594G0Z-.01
N596Z.1
N598X2.5961Y-.1993
N600G1Z-.26F6.
N602X2.5116Y-.1072F10.
N604G3X2.4248Y-.0669I-.0921J-.0846
N606G2X2.0141Y.5159I.0191J.4496
N608G1X2.2501Y1.2777
N610G2X2.6409Y1.7434I.7498J-.2323
N612G1X3.3502Y2.1081
N614G2X3.9858Y1.5748I.2058J-.4002
N616G1X3.7498Y.813
N618G2X3.3589Y.3472I-.7498J.2323
N620G1X2.6497Y-.0175
N622G2X2.4248Y-.0669I-.2058J.4002
N624G3X2.3349Y-.0997I-.0053J-.1249
N626G1X2.2429Y-.1843
N628G0Z-.01
N630M5
N632G53Z0.
N634M30
Reply With Quote

  #5   Ban this user!
Old 10-18-2009, 02:59 PM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

Just off hand I kinda think it's the G92.
G92 is remembered between runs of EMC unless you cancel it with g92.1 or g92.2
Hopefully some g code masters will come here and help you out some more.
And boy is that program hard to read without spaces between g code commands!
I would kill if that is what I had to deal with everyday!

Chris

Last edited by chester88; 10-18-2009 at 03:41 PM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-18-2009, 03:07 PM
 
Join Date: Aug 2008
Location: USA
Posts: 26
Concealed45 is on a distinguished road

LOL, I know, thats how Mastercams Editor puts it up. At least once its on EMC when you edit it is color coded.

I did some reading on G92, and it seems that most say not to use it, just use G54-59 for work coordinates. Is EMC different on this ? Should I set G92 at the machine home ?
Reply With Quote

  #7   Ban this user!
Old 10-18-2009, 08:47 PM
 
Join Date: Aug 2008
Location: USA
Posts: 26
Concealed45 is on a distinguished road

Any more Idea/suggestions ? I am about to head out and play with the machine in an attempt to keep myself awake all night.
Reply With Quote

  #8   Ban this user!
Old 10-18-2009, 10:24 PM
 
Join Date: Nov 2005
Location: Canada
Posts: 465
chester88 is on a distinguished road

yes reboot EMC and don't use G 92 or add G92.2 to the end of the program.
See if the problem persists.
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
Need Help!- Offset, measure the first tool and second tool domax Daewoo/Doosan 14 12-29-2009 10:20 PM
Tool Offset jdgromi Français CNCzone 0 07-01-2009 10:03 PM
Changing tool diameter in the tool offset screen Vern Smith Haas Mills 21 09-24-2008 09:54 AM
Tool offset ... patrickb Fanuc 13 08-21-2006 10:53 AM
Tool Offset 3rdcoast Mach Software (ArtSoft software) 1 05-19-2006 01:08 PM




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