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! > CAM Software > OneCNC


OneCNC Discuss OneCNC software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-26-2003, 07:27 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
cycles initial plane/retract plane

I'm just wondering whether the general consensus on how Xp's initial plane and retract plane works for machine cycles is correct for your machine?

I make it work by forcing values into the cycle wizard that do not exactly match anything in the real world. What I see in the output code is that the initial plane is being subtracted from the clearance plane as though it were an incremental value, whereas I actually need them both to be absolute values.

Does it seem to be right from where you are working from?

Example: Initial plane input 0.4
Retract plane 0.2

Output in code is:
Retract plane is at Z.2 absolute, but initial plane is Z0.2 absolute.
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 05-26-2003, 07:58 PM
wms's Avatar
wms wms is offline
Moderator
 
Join Date: Mar 2003
Location: United States
Posts: 938
wms is on a distinguished road
Thumbs up Planes (not the winged kind)

Hu,
You've been messing around again, Haven't you?
The Haas post works ok.

Example: Initial plane input 0.4
Retract plane 0.2

Output in code is:
Retract plane is at Z.2 absolute, initial plane is Z0.4 absolute.

Sorry, looks like you get the short end of the stick again.:frown:
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 05-26-2003, 08:10 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
Here's what you use, is this correct?

{_MODE} G81 {Z} R{CT} {F}

Here is what I use:

Z{CD} /R{CT} /T{_DWELL} G81
/Z{CP}

This is because I need to see the move to the initial plane immediately after the cycle is called, to begin the autocycle.

I just think it is weird that some math operation is carried out on {CP}
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 05-26-2003, 08:37 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
I think it is me all right

I'm going to redo my setup of the drill cycles. I think maybe I should create a new parameter for my surface height, rather than trying to pull it out of those other variables.

The other thing I overlooked, is that the Z rapid height has to be higher than the retract height, or I'll get that "capping" effect.
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 05-26-2003, 08:40 PM
wms's Avatar
wms wms is offline
Moderator
 
Join Date: Mar 2003
Location: United States
Posts: 938
wms is on a distinguished road
Hu,
What you have listed is correct. It is the standard haas post cfg.
But I think your problem comes in when you get to the "cycles" box. Let me try to explain.

If you look at use the Haas post, (note you have to select the post, ie haas or shadow, before you use the machine cycles) and select your points then the tool, then clearance, you will get to the cycles box. This is where there is a difference between the two.

The Haas cycles box has only: "retract mode" to check.

The shadow cycles(the one you sent me) has:
Peck dist/z
Dwell /t
Safety......../z (wouldn't this be the Retract plane?)

I tried your shadow post and I get the same results you do.

I think this extra info from the cycles box is what is causing the Heartburn. But that is only a guess. I have messed around with different values in both of the boxes , but I am not able to make things work the way you would like.
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6  
Old 05-26-2003, 08:45 PM
wms's Avatar
wms wms is offline
Moderator
 
Join Date: Mar 2003
Location: United States
Posts: 938
wms is on a distinguished road
Hu,
I miss spoke in the above post. The extra boxes are under the G83 cycle not the G81. Shame on me.
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 05-26-2003, 11:44 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
Thanks WMS for your input.

I fooled around with it for a while longer, and the only thing I could do was create a new parameter to hold what I would call the initial Z start, which should logically be the same as the Drill-initial plane but for whatever reason, that variable does not contain the fixed amount as taken from the user input.

It is no problem to do it this way, I just get another variable to define later in the cycle's "extras" field.

I only got to messing with this today because I was drilling some holes that started on a surface well below my Z0, and the negative numbers involved were driving my drill cycles wacky.
But anyway, now I have the post set up better than before, so that is a good thing.

I've also changed my habits with regards to the initial Rapid plane and tool offset. I developed perhaps an erronous habit of running my Z home at Z0.1 , my tool length offsets all the way down to Z0.1 and Rapiding around at Z.1 (My one mill has fairly limited 4.5 inch Z axis travel).

Instead, now I define a Z home of Z1.0, define the length offsets relative to Z1. and Rapid around at Z1. This allows me to call the tool length offset without worrying about the tool being so near the surface, and allows a little more leeway for error, should an offset happen to be slightly incorrect when it is called (the tool moves when the offset is read). This change allows me to make better use of the intermediate positions that Onecnc allows for in positioning the tool before the plunge, etc.

Say, we were agreeable on the potential benefits of a"peck-plunge" option when using end mills, what do you think about the option for Rapid plunge, as well?

I find there are times when I do start a multi-pass roughing cycle with the tool "out in the air", and this gets fairly tedious to watch the thing plunging at a typical feedrate. In the meantime, when I foresee such circumstances, I am happy enough to insert a very high plunge feedrate to accomplish the same thing as rapid, but it doesn't seem to me to be as clear to the operator as a Rapid command would, when he's checking through the code on the machine display.
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 05-27-2003, 01:21 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
Originally posted by wms
Hu,
I miss spoke in the above post. The extra boxes are under the G83 cycle not the G81. Shame on me.
You do realize that these extra boxes appear when you create a new parameter, right? Just testing your knowledge, this was not immediately apparent to me, either.
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 05-27-2003, 02:20 PM
wms's Avatar
wms wms is offline
Moderator
 
Join Date: Mar 2003
Location: United States
Posts: 938
wms is on a distinguished road
Hu,
I just use the Haas post and don't need to create any new parameters.....Yet.
So I kind of knew that "STUFF" would show up in the boxes after you create new parameters. Mostly after "looking" at your shadow cfg.
I feel for you because you have to make up your own posts.
I'm spoiled in that the standard posts, so far, do every thing I need them to. Maybe I'll get creative like you and add some extra features.

Pretty neat that you can modify your post so easy in OneCNC, don't ya think?


And as far as the Rapid Plunge thing, I'm all for more features. Any thing to make my life easier.

Oh by the way... Stop testing Me....
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #10  
Old 05-27-2003, 02:29 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
Originally posted by wms
snip
Pretty neat that you can modify your post so easy in OneCNC, don't ya think?
Absolutely! I spent hundreds of hours learning about and making scripts in Bobcad to do what Onecnc can do "out of the box".
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11  
Old 05-30-2003, 08:48 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road
I suppose there is not enough user base here to get a decent poll result, but I would still like to know if the cycle "initial plane" and "retract plane" is perfect as set up.

I can see the need for a couple of different options, depending on what your controller expects. The options I am referring to are simply this: should these two planes be absolute values or incremental? Should the values be operated on mathematically or just "left alone" so to speak.

I do have sort of a system to make the resultant output come out right.

Here is what I have figured so far. Here is what I have set up in my deep hole peck cycle:

/Z{CD} Z{_PECK} /Z{_RETURNSTOP} /R{CP} /T{_DWELL} G83
/Z{_P8}

Here is how I might want a sample of code to look, where the initial plane is equal to the Rapid plane:

T4 ( 3/32 DRILL)
F12.5
S70 M3
T400
M8
/X2.6734 /Y-13.1875 /Z1. (Rapid plane absolute)
(if initial plane <> rapid plane then a value appears here)
/Z-1.2 Z-0.4 /Z-0.01 /R0.2 /T0. G83
/Z0.2 (this is the move to the initial plane, absolute in value, the cycle begins to execute at Z0.2)
/X3.1855
/X3.6976

In the above sequence the tool rapids from Z1 to Z.2, then rapids from Z.2 by the incremental distance indicated by the /R value, which brings the tool tip right to Z0. Then the drill drills an incremental Z-1.2, with a peck distance of -.4.

A chipbreak move is indicated by the /Z-0.01, which I created the variable {_RETURNSTOP} to hold. This is fine.

If the initial plane is equal to the Rapid plane, then no nc output results between the initial Rapid height and the calling of the cycle. This is okay by me.

Whatever I put into the Retract plane field is apparently subtracted from the initial plane to equal the net retract height that is output. This seems weird to me. I'd just as soon be able to type in what I want it to be in absolute, and have that exact same figure come out in my code.

For my controller, the R value is an incremental distance, that the tool will traverse (at rapid) at the start of every hole in the cycle. The end of every single cycle results in a retraction back up to where the tool started the cycle at.

Suppose Rapid height is 1", initial plane is .2" absolute and retract plane is .2" absolute. In order to make the right code, I have to enter values in the initial and retract fields that give a subtrahend of 0.2 . Thus, I would put in .2 in the initial field and 0 in the retract field. This results in nc output of .2 for the value /R{CP}. note the retract plane value of 0 is meaningless so far as where I intend to begin the tool at, which would have to be at a value of R.2

Because some kind of subtraction also seems to be performed on the initial plane variable {CP}, I cannot use it either, so instead I created this new parameter /Z{_P8}.

This is not whining. I am just wondering if there needs to be more of a "setup" to the nature of these Initial plane and Retract plane variables, depending on what various controllers require.

Perhaps it is all in the method I am thinking in, but it seems to me that the rest of the toolpath wizards operate on the principle that the various tool planes are absolute Z values, but when we get into the cycles, then all of a sudden, they switch to relative values.

I am sorry if I am not making this perfectly clear. But, you would know by now perhaps if you had any difficulty making the right input when you fill in the fields in the cycle wizard, using your own machine's cycles.

Just to test your own cycle setup, does what you have also work if you want to drill a hole at a lower level, like Z-1. down to Z-2., but maintaining your retract height at Z.2 between holes?

Maybe they should add the words "relative or incremental distance" to the Initial and Rapid planes in the cycles?

Opinions? Discussion?
__________________
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)
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 05-30-2003, 09:19 PM
wms's Avatar
wms wms is offline
Moderator
 
Join Date: Mar 2003
Location: United States
Posts: 938
wms is on a distinguished road
HU,

Here is a sample post. This is with the Haas cfg. Xpert program.
At the bottom is a screen shot of the setup box.
Seems to work just like it should. Sorry.:P
All figures are absolute. No addition or subtaction was done by the program.

%
O0000 (PART - )
(POSTED - FRIDAY, MAY 30, 2003 (19:03))
T1M06 (1.0 INCH HSS 1.0 DRILL)
G90 G80 G40 G55
S1505 M03
G00 X0. Y-0.6172 / M8 ( move to position)
G43 Z1. H1 (call tool height offset, also rapid plane)
Z0.2 (move to initial plane)
G81 Z-2. R-1. F5.7189 (drill cycle -1. is retract plane)
Y-3.3828
X-4.
Y-0.6172
G80
G00 Z1. (back to rapid plane)
M01
M30
%
Attached Thumbnails
Click image for larger version

Name:	tn_screenshot24.jpg‎
Views:	150
Size:	34.0 KB
ID:	274  
__________________
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
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
construction plane and tool plane nervis1 Mastercam 9 11-05-2004 12:53 AM




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