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 > CamSoft Products


CamSoft Products Discuss Camsoft PC based CNC controller products here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 01-26-2007, 06:06 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road
Using Z in drill cycles (ver14.7)

Well, after gently crashing my machine, I beat and beat on this problem and finally figured out what was going on

Here is the scenario: I have a lathe peck drill cycle set up in Camsoft to do a typical G83 peck drilling sequence. This is something that I thought I had proven out and had working flawlessly.

Here was a typical program sequence that was enough to give me some grief:

G92 Z1.
S500 M3
G00 X0 Z.15
M8
G83 Z-.72 R.1 K.1 F1.5
G80
T0
G30

I happened to call for INCCODE within my G83 logic, as I prefer this method for general application of drilling.

Now, if I execute each line in single step mode it works fine.
If I execute the program in Continuous mode, it works fine.

So what is left, you ask? : run in Single step down to the M8 and then switch to Continuous mode just before the G83 command is read. For whatever reason, doing this causes the machine to seek a new rapid plane some 1.058" in Z-, from whence it drills incrementally by additional Z-.72 depth and comes to rest at Z-.908, which should have been Z.15, the clearance plane.

I could find no reason for the distance that it chose to move and I searched hard for it!

However, if I wrote
G00 X0 Z.15
M8
G01 X0 Z.15 <----inserted this line
G83 Z-.72 R.1 K.1 F1.5

Then the machine would not make the uncalled for movement.

So I sought a workaround so that I would not have to remember to put a dummy G01 in front of the canned cycle. What it seems to be is that the Z value used with the G83 must have caused some kind of confusion with the distance to go in Rapid, as I simply removed the 'Z' and substituted a 'W' for the G83 drill depth and the problem went away.

Now I do not have to fear twisting my toolpost off line again, for that reason, anyways.

This problem may have been fixed in later versions of Camsoft, but it may be a rare enough case that no one has stumbled upon it. Perhaps it may give someone a clue where to look one day for the inexplicable events that arise from PC based cncs
__________________
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

  #2   Ban this user!
Old 01-27-2007, 07:21 AM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Interesting...

I checked and none of the default lathe .cbk I have include a G83. I'm guessing you clipped it out of a mill default .cbk. I've seen two versions of the drill cycle G codes in default mill .cbk files. The newer ones go like this:

IF\775=0THEN\776=z:[G83]:\775=83:EXIT
IF\775=81THEN[G81]
IF\775=82THEN[G82]
IF\775=83THEN[G83]
IF\775=84THEN[G84]
IF\775=85THEN[G85]
IF\775=86THEN[G86]
IF\775=87THEN[G88]
IF\775=88THEN[G89]
-----G83

All the actual moves are done in the correct macro. Is this what you're using?

Karl
Reply With Quote

  #3  
Old 01-27-2007, 11:02 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,825
HuFlungDung is on a distinguished road

No, I wrote my own macro, you can do that, you know

It is a strange quirk alright, but because of the method that exposed the problem, I don't think it is anything about how the logic in the macro runs, rather there is some miniscule difference between a command to Singlestep versus Cyclestart. Obviously they are different, of course, but not just in the way one would expect.

The other factor could also be using a Z command for drill depth in a G8x cycle could cause confusion as Camsoft reckons Z to = z which is the current movement command, and in the case of a canned cycle, of course one does not intend to use Z as a simple motion or positioning command. That is why I think switching the parameter name to W (or any non active axis name) cures the problem.
__________________
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

  #4   Ban this user!
Old 01-27-2007, 01:33 PM
 
Join Date: Jun 2004
Location: United States
Posts: 16
Citron is on a distinguished road

hi guys

I will post a complete set of canned cycles my client made for his Fagor and another set from a Fanuc control he imulated using CNC Professional using v15. I know they have 16 now. I will get that next time. With v15 I found this to be a great asset. I personally didn't know the system had this much power. I wrote because I am interested to see what others have. I really see so much that can be done beyond canned cycles for making g&m codes to imulate any machine brand. I haven't been involved in doing any retros lately but the CNC Professional is my hands down choice from now on for every thing I do.

johnny
Reply With Quote

  #5   Ban this user!
Old 01-27-2007, 02:19 PM
Karl_T's Avatar  
Join Date: Mar 2004
Location: Dassel,MN,USA
Posts: 1,318
Karl_T is on a distinguished road

Originally Posted by HuFlungDung View Post
No, I wrote my own macro, you can do that, you know
I'm nearly complete with my Hardinge lathe upgrade, haven't installed the canned drill cycles yet. When I get home next month, I'll be sure and do this first with copies of macros from the latest Camsoft .cbk (I was an engineer, why design when you can shamelessly plagiarize?) I let you know if I can duplicate this "program feature" on my control.

Karl
Reply With Quote

Sponsored Links
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
different peck cycles? C5turbo Fanuc 9 11-06-2008 05:03 AM
G90/G91 in canned cycles alfalfa CamSoft Products 18 02-25-2007 05:20 AM
Peck Cycles and Simulate bill south BobCad-Cam 7 12-25-2006 05:06 PM
Mill cycles or Operations camtd EdgeCam 3 10-20-2006 12:38 AM
Incremental Canned Cycles? Rekd Haas Mills 16 11-15-2003 12:23 AM




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