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-19-2006, 12:56 PM
 
Join Date: May 2006
Location: U.S.A.
Posts: 2
dinger is on a distinguished road
Helical milling with HAAS

I'm editing my CAD postprocessor file for our HAAS machines. I need to know if the HAAS controller can read one or both of the following helical output types:

Option 1: This outputs a helix record for every 90 degrees of the helix.
X.28750 Y.00000 Z-.78000 F20.
G17 G03 X.28750 Y.00000 Z-.70860 R.28750
G17 X.25150 Y-.13940 Z-.64290 R.28750

Option 2: This outputs a helix record for every 360 degrees of the helix.
X.28750 Y.00000 Z-.78000 F20.
G17 G03 X.25150 Y-.13940 Z-.64290 R.28750

I have a third option, which is just XYZ linear moves. I'd rather use one of the first two, if possible.

I also need to know if the helix pitch type for HAAS should be "rise radian" or "rise revolution."

Thanks
Reply With Quote

  #2   Ban this user!
Old 05-19-2006, 01:43 PM
 
Join Date: Jul 2004
Location: USA
Posts: 1
emckell is on a distinguished road
Helical Milling for a HAAS Controller

Hello,

For the HAAS Controller, you must know how arcs work. On all our HAAS machines arcs can be created using G2/3 with an R or I/J/K. R can only be used for partial circles, not 360 degrees.

With that info, Option #1 works. You do not need to have G17 output on each line because G17 is a modal command and the Default mode at machine startup.

Your option #2 would require a change to use I/J/K values instead of the R value.

One additional note. Depending on the age of your HAAS, you may be limited on the Z travel during a helix. Our oldest mill (circa 1993) will only allow a Z movement that is less than or equal to the circumference distance on the arc in the helix move. On new controllers this has been changed.

I am not quite sure what you are asking in the last question "rise/radian" or rise/rev. I have never had to deal with that in any of the post processors I have used.

Hope this helps some.
Reply With Quote

  #3   Ban this user!
Old 05-19-2006, 02:55 PM
 
Join Date: May 2006
Location: USA
Posts: 12
Tim Stevenson is on a distinguished road

custom G code
full arc with I and J -- R is for 180° or less


G00 X0 Y1.685
Z1.
/ M08
G01 Z0.1 F50.
( 1/2-20 I/D THD )
(G200 COMMAND)
( C CUTTER DIA )
( D MAJOR DIA OF I/D THREAD )
( E THREADS PER INCH )
( W THREAD LENGTH )
( X CENTER OF HOLE )
( Y CENTER OF HOLE )
( Z FACE WERE HOLE IS )
G200 X0.0 Y1.685 Z0 W0.33 E20 D0.500 C0.35 F.5
G80
G00 Z1. M09
G65 P9100 ( HOME )
M01

!

%
O9010( THREAD MILL )
G00X#24Y[#25+0.02]
G01Z[#26+0.1]F50.
G41Y#25
Z[#26-#23]F10.
G03X[#24+[[#7-#3]/2]]I[[[#7-#3]/2]/2]J0F#9
X[#24+[[#7-#3]/2]]I-[[#7-#3]/2]J0Z[[#26-#23]+[1.0/#8]]
X#24I-[[[#7-#3]/2]/2]J0
G01Y[#25+0.001]
G40X#24Y#25F10.
Z[#26+0.1]F50.
M99

(G200COMMAND)
(#3= CUTTER DIA)
(#7= MAJOR DIA OF I/D THREAD )
(#8= E THREADS PER INCH)
(#9= F FEEDIPM)
(#19= S RPM )
(#23= W THREADLENGTH bottom of hole )
(#24= X CENTEROFHOLE )
(#25= Y CENTEROFHOLE )
(#26= Z FACE WERE HOLE IS )
%
Reply With Quote

  #4   Ban this user!
Old 05-19-2006, 06:46 PM
ObrienDave's Avatar  
Join Date: Jun 2005
Location: USA
Posts: 280
ObrienDave is on a distinguished road

The Z Value would be equal to the rise per move.
The Z value in absolute mode, G90, would be where you want the tool to end at.
The Z value in incremental mode ,G91, it would be how far you want the tool to move.
Normally, you do not program "rise per radian", you program rise or fall per move.
Your "Option 2" would be equivalent to "rise per revolution".

P.S to emckell,
A radian is the angle at which the length of the arc equals the RADIUS of the arc.
1 radian = 180/pi = 57 deg 17' 44.806" = 57.29577951 degrees
__________________
ObrienDave. MasterCam since V6. Gcode since 1983.
Be careful, the nose you punch today may belong to the butt you have to kiss tomorrow.
Reply With Quote

  #5   Ban this user!
Old 05-19-2006, 07:52 PM
 
Join Date: Nov 2005
Location: usa
Posts: 4
ndorin is on a distinguished road

mr. stevenson:
u seem 2 b very knowledgable, what kind of cdes are those which u posted[ie:g200 command-G00x#24 etc..] ? r those macro calls?
just starting in this wide world of machining. & by the way i have been using MCam since v5.2. They sure have come a long way in 15 years.I have heard about the insanity of mastercam X, but dont have access to it.
thnx


Neil Dorin, "lilbastard"
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-19-2006, 08:06 PM
 
Join Date: Nov 2005
Location: usa
Posts: 4
ndorin is on a distinguished road

anyone;;
I finally got my post to output ij&k in g83, the only problem is , & its a pain in the as_, is that kis always "K0." if anyone knows what i have to modify in the post (for MC) so that the k will dump what its supposed to please try to inform me. Thank u very much. I have spent weeks , just to finally get for example/ G98G83Z-.3R.1 I.2 J.1 K0. F22.(KSHOULD BE K.1 )THERE MUST BE SOME TYPE OF FORMULA THAT HAS TO BE INPUT IN A SPECIFIC LINE OR LINES IN MY HAAS.PST & PROBABLY MY MILL9.SET FILE AS WELL??
I MAY BE VERY SLOW, BUT AT LEAST I'M STUPID.
NEIL,
SAN JOSE
Reply With Quote

  #7   Ban this user!
Old 05-20-2006, 04:33 AM
Paul_S's Avatar  
Join Date: Mar 2003
Location: Mira Loma, California
Posts: 147
Paul_S is on a distinguished road

If my memory serves me correctly an R for an arc less than 180 and an R- for greater than 180 but less than 360. A custom APT post processor I once used had a bug, where the helical output was R-. So instead of 4 quadrants of circle got 4 scallops. The arcs were not 90 but 270 degrees. I personally use I and J for arcs. (or K, I)(or J, k)

(I didn't know what the type of Vertical Mill it was nor its control, I was using a custom post for it. Anyway if I did know, I don't remember, except the CAD program was CAD KEY and with PC-APT)
__________________
Safety - Quality - Production.
Reply With Quote

  #8   Ban this user!
Old 06-01-2006, 01:45 PM
 
Join Date: May 2006
Location: U.S.A.
Posts: 2
dinger is on a distinguished road

We actually used to use I,J,K values. However, when we switched from MasterCAM to UG/NX three years ago, we began to have I,J,K out-of-tolerance errors at the machines. Since we switched to R values, things have run much smoother. Thank you all, for the input. I believe I can output a helix using the quadrant/rise per revolution method.

Chris Dingman
JSP Mold
Milledgeville, IL
Reply With Quote

  #9   Ban this user!
Old 06-02-2006, 12:55 PM
 
Join Date: Jun 2006
Location: USA
Posts: 39
Malish is on a distinguished road

Do you actually need to use the G17 or can you use the G2/G3 with the Z value included?
Reply With Quote

  #10   Ban this user!
Old 06-02-2006, 02:03 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,563
Geof will become famous soon enough

Originally Posted by Malish
Do you actually need to use the G17 or can you use the G2/G3 with the Z value included?
It was mentioned in a post further up; G17 is the default mode to work in X Y plane. All you need is G02(3) I J Z which will do a single circle while moving the Z distance, with the center of the circle a distance I along the X axis and J along the Y axis from the start point. If you want to do more than one circle use G91 G02(3) I J Z L with the number of circles in the L.
Reply With Quote

Sponsored Links
  #11  
Old 06-19-2006, 01:36 AM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road
Thumbs up Haas Can Vf-3

HAAS VF-3 can perform Helical Interpolation

tobyaxis
Attached Files
File Type: zip HELICAL INTERPOLATION 1.zip‎ (126.2 KB, 177 views)
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 08:10 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