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! > MetalWorking Machines > Haas Mills


Haas Mills Discuss Haas machinery here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-28-2009, 01:29 AM
 
Join Date: May 2007
Location: USA
Posts: 155
kojack is on a distinguished road
5 axis positioning question

I normally use g54 and cut with tip for Surfaces on a 5 axis table

I was putting some logos on a part the other day

I figured Id program the logo with 3 axis paths and just position the part

So I positioned the part and set my work offset with G58

Figured every time a part needed a logo

I would just use a G58 in the program and it would rotate the A and B axis

It doesnt work that way Unless I call out a A62 B 180

I thought the G58 would turn the rotary's since my offset table The A and B

axis have been set with Part Zero's


What AM i missing ?

Thanks for the help ...
Reply With Quote

  #2   Ban this user!
Old 04-28-2009, 05:49 AM
makingchips's Avatar  
Join Date: Sep 2007
Location: U.S.A.
Posts: 73
makingchips is on a distinguished road

Set the A/B the same way you would set the X/Y at the position you need, but there is no way around programming G90 G58 X0. Y0. A0. B0. so in hindsight A62 B 180 is just as easy. You could make a little sub program that can do this with M98 then you only have to program the A62 B 180 program once.You only add the M98 M99 to the program you need logos on.




MC
Reply With Quote

  #3   Ban this user!
Old 04-28-2009, 09:31 AM
 
Join Date: May 2007
Location: USA
Posts: 155
kojack is on a distinguished road

Originally Posted by makingchips View Post
Set the A/B the same way you would set the X/Y at the position you need, but there is no way around programming G90 G58 X0. Y0. A0. B0. so in hindsight A62 B 180 is just as easy. You could make a little sub program that can do this with M98 then you only have to program the A62 B 180 program once.You only add the M98 M99 to the program you need logos on.




MC
Thanks for the help ....

I was just confused on why you set A and B in offset table but it doesnt move if you call it out ?


Its not that big a deal I could have programed my part LOL with less typing

so far .. I just figured I was missing something ...
Reply With Quote

  #4   Ban this user!
Old 04-28-2009, 11:47 AM
Caue's Avatar  
Join Date: Apr 2009
Location: Brazil
Age: 30
Posts: 29
Caue is on a distinguished road

Kojack,

If you loaded A62. B180. into Work Offset Table, as G58 postioning angles, you should only call G0 G58 X## Y## Z## A0 B0 (just as makingchips said) on your code and it should work.
If this is the case, it's programed this way and not working, please post CNC code and we'll analyse it for you.
Cheers!
Reply With Quote

  #5   Ban this user!
Old 04-28-2009, 02:24 PM
 
Join Date: May 2007
Location: USA
Posts: 155
kojack is on a distinguished road

here are my settings and program

here is a screen shot of the Offset table



here is the code
O0123
(PROGRAM NAME - LOGO )
(DATE=DD-MM-YY - 24-04-09 TIME=HH:MM - 00:02 )
N100 G20
N102 G0 G17 G40 G49 G80 G90
( 1/16 FLAT ENDMILL TOOL - 6 DIA. OFF. - 6 LEN. - 6 DIA. - .0625 )
N104 T6 M6
N106 G0 G90 G58 X.2435 Y-.9587 S12000 M3
N108 G58 H6 Z4.
N112 Z.1
N114 G1 Z-.02 F6.2
N116 X1.7565 F40.
N118 G3 X1.8393 Y-.9387 I-.0065 J.2087
N120 G1 X.1608
N122 G2 X.1271 Y-.9188 I.0893 J.1887
N124 G1 X1.8729
N126 G3 X1.8964 Y-.8988 I-.1229 J.1688
N128 G1 X.1036
N130 G2 X.0858 Y-.8789 I.1464 J.1488
N132 G1 X1.9142
N134 G3 X1.9281 Y-.8589 I-.1642 J.1289
N136 G1 X.0719
N138 G2 X.0612 Y-.839 I.1781 J.1089
Attached Thumbnails
Click image for larger version

Name:	G58 settings.jpg‎
Views:	46
Size:	44.8 KB
ID:	80419  
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-28-2009, 03:45 PM
 
Join Date: Jun 2006
Location: Canada
Posts: 615
big_mak is on a distinguished road

I can't see you calling A or B in your program. Maybe I'm just missing it!
__________________
"It's only funny until some one get's hurt, and then it's just hilarious!!" Mike Patton - Faith No More Ricochet
Reply With Quote

  #7   Ban this user!
Old 04-28-2009, 03:56 PM
 
Join Date: May 2007
Location: USA
Posts: 155
kojack is on a distinguished road

Originally Posted by big_mak View Post
I can't see you calling A or B in your program. Maybe I'm just missing it!

no your right ...

But I have a G58 in there and my G58 has the rotory where i need it too go ..

look @ my G58 on the offset table

I run the normal program with g54

I wanted to just place my logo program with a different offset G58

figured it would rotate the tables ...
Reply With Quote

  #8   Ban this user!
Old 04-28-2009, 03:57 PM
 
Join Date: Jun 2006
Location: Canada
Posts: 615
big_mak is on a distinguished road

G58 will just make that work Coordinate active, it will not reposition until you G00/G01 A## B##
__________________
"It's only funny until some one get's hurt, and then it's just hilarious!!" Mike Patton - Faith No More Ricochet
Reply With Quote

  #9   Ban this user!
Old 04-28-2009, 04:11 PM
 
Join Date: May 2007
Location: USA
Posts: 155
kojack is on a distinguished road

Originally Posted by big_mak View Post
G58 will just make that work Coordinate active, it will not reposition until you G00/G01 A## B##

So G58 or G56 wont postion A and B axis unless I call it out

where would you put the B and A move in this Program Can i run it on my
g58 line

I need to go B 208.485 A 62.2

O0123
(PROGRAM NAME - LOGO )
(DATE=DD-MM-YY - 24-04-09 TIME=HH:MM - 00:02 )
N100 G20
N102 G0 G17 G40 G49 G80 G90
( 1/16 FLAT ENDMILL TOOL - 6 DIA. OFF. - 6 LEN. - 6 DIA. - .0625 )
N104 T6 M6
N106 G0 G90 G58 X.2435 Y-.9587 S12000 M3
N108 G58 H6 Z4.
N112 Z.1
N114 G1 Z-.02 F6.2
N116 X1.7565 F40.
N118 G3 X1.8393 Y-.9387 I-.0065 J.2087
N120 G1 X.1608
N122 G2 X.1271 Y-.9188 I.0893 J.1887
N124 G1 X1.8729
N126 G3 X1.8964 Y-.8988 I-.1229 J.1688
N128 G1 X.1036
N130 G2 X.0858 Y-.8789 I.1464 J.1488
N132 G1 X1.9142
N134 G3 X1.9281 Y-.8589 I-.1642 J.1289
N136 G1 X.0719
N138 G2 X.0612 Y-.839 I.1781 J.1089
Reply With Quote

  #10   Ban this user!
Old 04-28-2009, 04:16 PM
 
Join Date: Jun 2006
Location: Canada
Posts: 615
big_mak is on a distinguished road

Make Line N107 G0 A### B###
__________________
"It's only funny until some one get's hurt, and then it's just hilarious!!" Mike Patton - Faith No More Ricochet
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-28-2009, 05:19 PM
 
Join Date: Jul 2008
Location: USA
Posts: 47
gpcoe is on a distinguished road

Originally Posted by kojack View Post
So G58 or G56 wont postion A and B axis unless I call it out

where would you put the B and A move in this Program Can i run it on my
g58 line

I need to go B 208.485 A 62.2

O0123
(PROGRAM NAME - LOGO )
(DATE=DD-MM-YY - 24-04-09 TIME=HH:MM - 00:02 )
N100 G20
N102 G0 G17 G40 G49 G80 G90
( 1/16 FLAT ENDMILL TOOL - 6 DIA. OFF. - 6 LEN. - 6 DIA. - .0625 )
N104 T6 M6
N106 G0 G90 G58 X.2435 Y-.9587 S12000 M3
N108 G58 H6 Z4.
N112 Z.1
N114 G1 Z-.02 F6.2
N116 X1.7565 F40.
N118 G3 X1.8393 Y-.9387 I-.0065 J.2087
N120 G1 X.1608
N122 G2 X.1271 Y-.9188 I.0893 J.1887
N124 G1 X1.8729
N126 G3 X1.8964 Y-.8988 I-.1229 J.1688
N128 G1 X.1036
N130 G2 X.0858 Y-.8789 I.1464 J.1488
N132 G1 X1.9142
N134 G3 X1.9281 Y-.8589 I-.1642 J.1289
N136 G1 X.0719
N138 G2 X.0612 Y-.839 I.1781 J.1089


This is how I would write it:

N106 G0 G90 G58 X.2435 Y-.9587 B208.485 A62.2 S12000 M3

However on your offset page under G58 I would have the Rotary axis set the same as the other (G54) coordinates. Mine are set to the B axis face (the one you mount to) planer to the machine table. So if I were to do work on the horizontal (A90) in any work coordinate I would always call out A90. in the program. That way anyone else who programs for the machine can program the same and setup is straight forward.

Greg
Reply With Quote

  #12   Ban this user!
Old 04-28-2009, 11:50 PM
Caue's Avatar  
Join Date: Apr 2009
Location: Brazil
Age: 30
Posts: 29
Caue is on a distinguished road
Try this way, please

Alright, now we have your original code, it's quite easy. It's correct that inform G58 only load this information to the machine, but it does NOT command any movement. But, once the coordinates (angles) are informed at Work Offset Screen, you must call A0. (tip: you can type only "A" and the software will complete when you type Write/Enter or Insert) B0. The code will be:

O0123
(PROGRAM NAME - LOGO )
(DATE=DD-MM-YY - 24-04-09 TIME=HH:MM - 00:02 )
N100 G20
N102 G0 G17 G40 G49 G80 G90
( 1/16 FLAT ENDMILL TOOL - 6 DIA. OFF. - 6 LEN. - 6 DIA. - .0625 )
N104 T6 M6
N106 G0 G90 G58 X.2435 Y-.9587 A0. B0. S12000 M3
N108 G43 H6 Z4.
N112 Z.1

My inputs are bold. I use to call all 4 axis positioning at the same block (only exception to Z axis), but you need to check if there's enough space for it at the first time you run the program.
Please, note that I've replaced the second G58 for G43, and this is the most worrying point, cause it may crash the machine.

I hope it can be useful. Once more, thank you all for choosing Haas Automation!!
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
Rookie Question...3 axis vs 4 axis controller Ferrari2007 DIY-CNC Router Table Machines 3 09-13-2009 08:04 PM
Single Rotary Positioning Axis RLMTS Mechanical Calculations/Engineering Design 6 01-11-2008 12:46 PM
Need help with motorized positioning xshaper Work Fixtures and Hold-Down Solutions 6 11-25-2007 05:38 PM
Bridgeport VMC760/20 Z axis not positioning correctly for tool change seano_78 Bridgeport and Hardinge Mills 5 08-14-2007 03:38 PM
Boss 5 X axis positioning kewl_cat Bridgeport and Hardinge Mills 1 01-07-2006 10:04 AM




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