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 03-06-2007, 05:37 PM
 
Join Date: Dec 2005
Location: USA
Posts: 39
chakaloso is on a distinguished road
Programming

How can I make the working part goes to the front of the operator after the program is done?

After the program is done M30 the machined part goes all the way to the bottom left.
I want the part to go in front of the operator

Thank You!
Reply With Quote

  #2   Ban this user!
Old 03-06-2007, 05:46 PM
 
Join Date: Oct 2006
Location: canada
Posts: 125
axis is on a distinguished road

sounds like you have programed a g28 into the end. move the part to where you want it at the end of the program then write the numbers down and put that at the end of the program before the m30.
Reply With Quote

  #3   Ban this user!
Old 03-06-2007, 06:14 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Move the table to the position you want it to stop after a program and make a note of the machine coordinates. End your program with G53 G00 Xxxxx Yyyyy M30 where the xxxx and yyyy are the machine coordinates you noted.
Reply With Quote

  #4   Ban this user!
Old 03-06-2007, 08:50 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070306-2115 EST USA

chakaloso:

To add to Geof's comments.

Your machine home position is when the table is fully to the left, and fully to the front. This is where HAAS positions the table on startup, and is machine absolute zero. At this point the spindle is above the top rear corner of the table. If you press the POSIT key the absolute machine position is displayed under MACH, and will read 0, 0, 0 for X, Y, Z. This Z position is also the tool change position.

On our VF-2 if you hand jog to machine absolute -15.0000 the table will be in its mid-position, and fully to the front so Y still equals 0.

Consult your HAAS manual on G53. Note: it says this is a non-modal command which means it only applies to the one line it is on. Also it implies that X and Y values entered on the G53 line put the machine at that X, Y value relative to the machine absolute zero or home position.

Effectively G53 is a command to move the table to a position defined by the X and Y values specified relative to the machine absolute zero position. No G00 is required. So G53 X-20. Y-4. will move the table, no matter where it starts from, to the location X=-20., Y=-4. relative to machine home.

If the table started at home it would move 20" to the right and 4" to the rear. Or relative to the right rear corner of the table the spindle would move to x=-20" and y=-4" . Speed of motion is rapid. Thus, G53 is equivalent to G00 in speed.

.
Reply With Quote

  #5   Ban this user!
Old 03-06-2007, 09:41 PM
 
Join Date: Aug 2005
Location: USA
Posts: 578
PBMW is on a distinguished road

I use G53's all the time.
On my Minimill, I just remove the X 0.0 from the last G28 line. it only goes to Y zero after it lifts teh tool to Z zero.
I do it in the post processor.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-07-2007, 10:04 AM
 
Join Date: Dec 2005
Location: USA
Posts: 39
chakaloso is on a distinguished road
G53

HI

G53 works great.



I did exactly what you told me to do
before M30 I added G53 x-8.0 and I got the working piece in front of the door.

Thank You for your help.
Reply With Quote

  #7   Ban this user!
Old 03-07-2007, 10:24 AM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070307-0951 EST USA

Continuing the discussion:

As I previously mentioned G53 is a motion command. It does not set any variable locations that define a reference point, or offset. Rather it is a G00 motion relative to machine absolute zero. If I were writing the G-code interpreter I would use something like G0A instead of G53 for the command name. This would closely associate the command with G00 which it is identical to except for the reference point and being non-modal.

Whereas, G52, G92, a thing called COMM on the lathe, G54-G59, G110 etc. when combined in some fashion are offsets from machine absolute zero to determine the spindle position relative to the part. The execution of one of these commands selects or modifies something, but does not initiate a motion. Note: also that G10 falls in the category of modifying something.

People get hung up on the use of the terms "work shift" and "work offset", I see no real difference. There are a number of different variables that are added together to determine the spindle position relative to the part.

In the thread
http://www.cnczone.com/cg...3;t=004149;p=0
Seymour incorrectly associates G53 as a component summed with G52, G5x, etc. G53 does not belong in this sequence. However, Seymour did give a good presentation if G53 is left out. This summing of the various offset componernts to determine spindle position is something I discussed somewhere else.

The HAAS manual description relative to the relationship of G52, G92, and the G5xs and other components is very inadequate.

How does COMM differ from G92. The infromation is inconsistent in the on-line mill manual.

In lathe operations COMM presents the same problem as G52 on the mill in HAAS mode relative to being not reset except when explicitly zeroed. This is for the information of those that do not like G52 in HAAS mode on the mill.


For reference from the HAAS on-line manuals:

On the HAAS Lathe

#5201-#5206 Common offset
#5221-#5226 G54 work offsets
#5241-#5246 G55 work offsets
#5261-#5266 G56 work offsets
#5281-#5286 G57 work offsets
#5301-#5306 G58 work offsets
#5321-#5326 G59 work offsets

#7001-#7006 (#14001-#14006) G110 (G154 P1) additional work offsets
#7021-#7026 (#14021-#14026) G111 (G154 P2) additional work offsets
.....
#7361-#7366 (#14361-#14366) G128 (G154 P19) additional work offsets
#7381-#7386 (#14381-#14386) G129 (G154 P20) additional work offsets

#14401-#14406 G154 P21 additional work offsets
#14421-#14426 G154 P22 additional work offsets
.....
#15781-#15786 G154 P90 additional work offsets

15881-15886 G154 P95 additional work offsets
15901-15906 G154 P96 additional work offsets
15921-15926 G154 P97 additional work offsets
15941-15946 G154 P98 additional work offsets
15961-15966 G154 P99 additional work offsets


On HAAS Mill

On page describing offsets
#5201-#5205 G52 X, Y, Z, A, B OFFSET VALUES


Under MACROS

#5201-#5205 Common offset
#5221-#5225 G54 work offsets
#5241-#5245 G55 work offsets
#5261-#5265 G56 work offsets
#5281-#5285 G57 work offsets
#5301-#5305 G58 work offsets
#5321-#5325 G59 work offsets

#7001-#7006 (#14001-#14006) G110 (G154 P1) additional work offsets
#7021-#7026 (#14021-#14026) G111 (G154 P2) additional work offsets
.....
#7361-#7366 (#14361-#14366) G128 (G154 P19) additional work offsets
#7381-#7386 (#14381-#14386) G129 (G154 P20) additional work offsets

#14401-#14406 G154 P21 additional work offsets
#14421-#14426 G154 P22 additional work offsets
.....
#14561-#14566 G154 P29 additional work offsets
#14581-#14586 G154 P30 additional work offsets

etc like the lathe.

.
Reply With Quote

  #8   Ban this user!
Old 03-07-2007, 10:26 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by chakaloso View Post
...I added G53 x-8.0 and I got the working piece in front of the door...
-8.0 to move in front of the door; are you working with a MiniMill?

Here is another hint; put in G53 G00 Z3.5 and that will lift your tool up out of the way for unloading and reloading the vise.
Reply With Quote

  #9   Ban this user!
Old 03-07-2007, 11:13 AM
jackson's Avatar  
Join Date: Oct 2006
Location: United States
Posts: 586
jackson is on a distinguished road

I just use
G0 X (what ever direction you need to move)
G28 G91 Z0 Y0
__________________
individual who perceives a solution and is willing to take command. Very often, that individual is crazy.
Reply With Quote

  #10   Ban this user!
Old 03-07-2007, 11:38 AM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by gar View Post
070307-0951 EST USA

Continuing the discussion:

As I previously mentioned G53 is a motion command. It does not set any variable locations that define a reference point, or offset. Rather it is a G00 motion relative to machine absolute zero.....
According to the Haas manual G53 is a coordinate selection command:

"G53 Non-Modal Machine Coordinate Selection (Group 00)
This code temporarily cancels work coordinate offsets and uses the machine coordinate system. In the machine coordinate system, the zero point for each axis is the position where the machine goes when a Zero Return is
performed. G53 will revert to this system for the block it is commanded in."


When a move to a G53 coordinate is commanded it will use whichever motion command, G00 or G01, is active at the time. Or a motion command may be included.

It is correct that it does not set a variable reference point, it uses the fixed reference point of machine zero.

Jackson; Your; "G0 X (what ever direction you need to move)" will move to this X coordinate using whatever work coordinate (G54 to G??) is active at the time. If you want the table to stop at the same location relative to the door of the machine you need different X's for different work coordinate locations. It is much simpler to specify the location relative to machine zero using G53 because this is the same for any program.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 03-07-2007, 03:07 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070307-1542 EST USA

Geof:

Last night on our 1993 VF-2 I checked G53 feed rate and it was rapid independent of any previous line containing G01. However, I did not check G01 on the same line as G53.

A command line
G53 X something
causes a motion but changes no accessable variables.

I think that the HAAS description is misleading to some extent.
Basically G53 is a motion command that uses machine absolute zero as its reference. If you issue G53 X something you get motion. If you issue G54 there is no machine motion, but you change the current coordinate system to G54.

In the HAAS description there is no mention of machine motion.


The equivalent function to G53 is to make a particular G5x, for example G59, all zeros. Then,

G54
....
G59
G00 X something or G01 X something
G54
....

is equivalent to G53 X something,

but this does not automatically revert to the previous G5x, I had to put in G54. However, I can write the code to avoid this problem if necessary, but it gets even more complex. That is the reason G53 exists.

.
Reply With Quote

  #12   Ban this user!
Old 03-07-2007, 04:34 PM
 
Join Date: Jul 2005
Location: Canada
Posts: 11,565
Geof will become famous soon enough

Originally Posted by gar View Post
070307-1542 EST USA

Geof:

Last night on our 1993 VF-2 I checked G53 feed rate and it was rapid independent of any previous line containing G01. However, I did not check G01 on the same line as G53....
I think Haas has changed things. Here are some motion commands in a small program. The G54 was at -70. in X and -45. in Y . The comments I added here.
%
O00000
N1 G00
N2 G28 Moves home
N3 G53 X-10. Rapid move
N4 G53 Y-10. Rapid move
N5 G54 Y20. Rapid move
N6 G54 X50. Rapid move
N7 G53 G01 X0. Y0. F400. Feed move
N8 G53 X-10. Feed move
N9 G53 Y-10. Feed move
N10 G54 Y20. Feed move
N11 G54 X50. Feed move
N12 G53 X-10. Feed move
N13 G53 Y-10. Feed move
N14 G54 Y20. Feed move
N15 G54 X50. Feed move
N16 M30
%

I ran this program through, then edited out the G00 on line N1and ran it again and all the motion was Feed.

If hit RESET and then ran the version without the G00 on line N1 the result was as below;

%
O00000
N1
N2 G28
N3 G53 X-10. Alarm No Feed Rate
N4 G53 Y-10.
etc

My conclusion is that the G53 motion does depend on the preceding G00 or G01. At the first run through the program ended with G01 active; this meant that when the line N1 G00 was removed the motion was still using the G01. When the feed was cancelled by RESET G01 was still active but with no feed rate. Adding a feed command at line N3 allowed it to run with all motion feed.

So I think the Haas manual as I copied it is correct with regards to the way the machines operate now. These tests were done on a 2005 Gantry Router.
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
CNC programming - HELP kyo_ysh General Metalwork Discussion 3 01-11-2010 09:42 PM
Programming Manual innovator Bridgeport and Hardinge Mills 2 08-31-2005 07:09 PM
programming a .5 rad jammer99 General Metalwork Discussion 1 08-19-2005 08:53 PM
API Programming Anyone Al_The_Man Computers and Networking 3 02-14-2005 08:31 PM
Sub programming JuiceMan General CAM Discussion 3 10-08-2003 08:32 PM




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