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 > General Metalwork Discussion


General Metalwork Discussion Discuss everything relating to metal work.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 09-02-2006, 12:27 AM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road
Starting position of a CNC Mill Head

I have a feeling I'm going to need to find a book like "CNC for dummy's."

Anyway, I'm getting my new (to me) CNC tomorrow and I'm just now realizing all of the basic questions I have.

For instance, with the G-codes you can specify whether you want to move the head to a relative or absolute position. What I'm wondering is how does someone usually establish a baseline for alignment of the part and the cutting head. I imagine this would need to be done with every cutting tool change.

Is there an absolute Zero position that people use as a reference point (and then apply the appropriate offset for a starting point)?

How is this usually done?
Tweet this Post!Share on Facebook
Reply With Quote

  #2  
Old 09-02-2006, 12:33 AM
*Registered*
 
Join Date: Mar 2006
Location: Boston
Posts: 1,628
lakeside is on a distinguished road

Originally Posted by Chris64 View Post
I have a feeling I'm going to need to find a book like "CNC for dummy's."
How is this usually done?
At this time you might want to try just x and y moves and don't put a cutter in yet. It sound like you should spend some time and do a web seach on G and M code.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 09-02-2006, 08:34 AM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

Originally Posted by lakeside View Post
At this time you might want to try just x and y moves and don't put a cutter in yet. It sound like you should spend some time and do a web seach on G and M code.
The G/M codes don't worry me that much. I've read through all the documentation and believe me...I'm going to take baby steps when it comes to cutting.

Regardless of my lack of experience in every other area...I still wonder how people usually determine where to either put the mill head if they program everything "relative" or measure the objects distance if they are programming absolute. Or am I way off? I don't think my controller was outfitted with an x,y & z position indicator (which could make this very challenging). Apparently this was an "option" on the Bandit controller...who would have thought?
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 09-02-2006, 10:48 AM
Gold Member
 
Join Date: Jun 2006
Location: USA
Posts: 13
Chincia is on a distinguished road

There are two good books by Peter Smid that show why a particular X,Y position is chosen for absolute zero. One is the CNC programming handbook and the other is CNC programming techniques. I got both from Amazon.com.

The first is like a textbook with a CD. The second goes through making a particular part using what you learned from the first. It is the second that makes you appreciate what a good machinist has to know to get the job done.
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 09-02-2006, 01:10 PM
*Registered*
 
Join Date: Mar 2006
Location: Boston
Posts: 1,628
lakeside is on a distinguished road

Originally Posted by Chris64 View Post
...I still wonder how people usually determine where to either put the mill head if they program everything "relative" or measure the objects distance if they are programming absolute.
The machine home point is not the part zero. I use either the lower left corner if part is on table then all your moves are (+)or part center for Zero then your moves are (+,-). If I using a vise either left or right side for x and solid jaw for Y.
You may want to read this thread for some info on cnc CNC Dictionary
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-03-2006, 01:15 AM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

OK...So I'm not sure that I understand the answer entirely. I'm going to re-ask the question because I'm not sure if I'm being clear. I'm guessing base on the repliese that I'm using the wrong terminology so I appologize for the lingo...I'm trying my best.

What is the normal practice for starting a job with a CNC. I know I could manually line the cutting tool up to a reference point or I could attempt to start at CNC home reference and enter in the coordinates to move to that same reference point. The biggest problem to me seems to be that I don't have an x,y,z readout...and this option seems to not be necessary so there must be some way to work around this. But to me, this means that with the first method I will have trouble putting it in the exact same position with each cut. The problem with the second method is that I don't have an easy way calculate the distance it moves from point zero without a ton of trial and error. I should note that I do have a distance reference with the windows looking at the dial indicators where the servos connect...but this seems less than desirable.

Lakeside, you mention you use the lower left...how do you line up to the exact same position if you are cutting multiple parts...or do you just eyeball it?
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 09-03-2006, 08:59 AM
 
Join Date: Oct 2005
Location: usa
Posts: 8
stymye is on a distinguished road

Hi chris64,
what type of cnc mill are you working with?
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 09-03-2006, 10:06 AM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

Originally Posted by stymye View Post
Hi chris64,
what type of cnc mill are you working with?
It's a Wells Index 750 with the stock Bandit controller. We just shoe-horned it into my garage yesterday. I'm so anxious to get this thing running!
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 09-03-2006, 11:31 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

Chris,
You may not find a lot on the web to help you with the Bandit controller. I don't think their own documentation even gives you a clue about how to do it They ASSumed you knew how to use G92.

There have been discussions on the zone here about using G92. You could research that topic.

Bandit has no work offsets, so forget that option, it does not exist.

I assume your Bandit at least has axis displays? I was coaxing another user who had one without axis displays!! Tough to understand with zero visual feedback on position information.

When you power up the control, the axis displays are all zeros. So essentially, this is your one and only coordinate system. Fat chance that where the machine is sitting, and where your work reference point is, happen to coincide perfectly

G92 and G93 are your friends G92 is a command to set a new zero point. G93 is a command to set the content on the axis displays. Neither command causes any motion. I used to use these two commands in sequence, because I wanted the axis displays to coincide with the machine coordinate system. G92 alone will change the zero point of the coordinate system without altering the displays (if I recall correctly). So, this can get quite confusing if you forget where the machine was when the command was issued. So, by renaming the axis positions with G93, then you can keep things straight in mind.

X0Y0Z0 G92 START sets the current position to zero (machine zero).
X0Y0Z0 G93 START sets the axis displays to zero but does not change where machine zero is.
G98 START causes the machine to rapid back to zero. The Z retracts first, then X and/or Y move.

Get in the habit of working in Absolute coordinates. Use a G90 in your programs. You can also force Absolute mode in MDI by issuing
G90 START
This is necessary because the control reverts to incremental (G91) mode on power up.

So you power up and let's say you ignore the axis displays to begin with, simply use your edge finder to locate a reference point on the part (in X and Y). So you jog your way over there. Now the displays indicate some random position.
Go into MDI and enter
X0Y0G92 (X0 ENTER Y0 ENTER G92 START)
X0Y0G93 (X0 ENTER Y0 ENTER G93 START)
This sets the current position in X and Y to zero. You could achieve the same effect by powering the machine down and back up again at the current position.

Note the method of entering multi-word commands in Bandit shown above, using the ENTER key to link the 'words' in the multi-word command into a single executable command. In MDI, you use the START key to execute the command. In programming mode you would instead use the STORE key to put the command into memory as a linked multi-word.

Back to the part setup: Now if you need tool change clearance, it might be necessary to set the machine zero somewhere away from the workpiece. Lets say you barely have room to get the next tool in, so you would like to start 4" left of the part in X. So you have jogged as before so that the tool is over the X0Y0 of the part.
Type X0Y0 G92 START to zero the machine coordinate system.
Type /X-4. START To make a rapid move 4" left.
Type X0 Y0 G92 START to zero the machine coordinate system (again).
Type X-4. Y0 G93 to make the axis displays correctly display the position.

For practise, jog away some random distance. Then try a return to the new home position:
Type G98 START
The machine should rapid back to the zero position, which will be shown on the display as X-4.0 Y0 Z0

Now, as a caution to you, the G98 command always returns to zero in the machine coordinate system. It is possible to program a program start point directly with something like:
X-4. Y0 G92 START
X-4. Y0 G93 START
A G98 command will not return you to this position, but will instead return the machine to the G92 X0. Thus, be mindful of what you type. Build a routine and stick to it.

I did not address the Z axis in this discussion. Z axis zero is intimately linked with tool offsets. Maybe that should go into a later disussion. Suffice to say here that the Z axis can be zeroed and the position renamed exactly the same as X and Y can. The difference would be that you might not want to touch the tool off the part and call it Z0 because it creates some butt-puckering situations

Note: when programming it is necessary to use a decimal for axis moves, even whole inches. Otherwise your move will be considered to be in units of resolution which might be .001 or .0001
eg /X1 START
is a rapid move of X.0001
/X1. START
is a move of 1 inch.

Only the zero axis move requires no decimal.
__________________
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

  #10  
Old 09-03-2006, 11:51 AM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

A seperate word of warning about G92. The choice is between a rock and a hard place

Programming a G92 inside your program is dangerous. This is because if you abort your program (or the machine stops somewhere because you made a programming error), the current position is random. If you start the program over now, you can imagine your surprise when this UNKNOWN location somehow has become your new machine zero. Usually, you understand this right after the shards of your endmill go whizzing past your ear

There is at this moment no way to go back to the original machine zero that you worked so hard to establish. Get the edge finder back out. Cancel all tool offsets with a T0. Move the Z back to where is was supposed to be at the start.

So, if you use the G92 in MDI mode only, then the machine will never get lost because it will never encounter another G92 command in your program.

The only danger of doing the G92 in MDI, is that you must remember to do it every time you power down and power the machine back up (if the machine drifts out of position, you need to reacquire the reference point on the work.). If you forget, you could encounter the same situation with an incorrect start point. I still think it is safer to do it only in MDI and write yourself a reminder note to do this whenever powering back up to continue using a program from yesterday.

The Bandit is an unforgiving task master. So are all cnc's for that matter. The strict rules of safe operation are more arduous with the Bandit because it is such a basic machine, with only one coordinate system. The newer cncs are better, because the use of work offsets keeps the machine coordinate system intact all the time. This is why the use of the G92 is discouraged in modern machining center operation, because it can have the same disastrous consequences.
__________________
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   Ban this user!
Old 09-03-2006, 12:39 PM
 
Join Date: Aug 2006
Location: US
Posts: 281
Chris64 is on a distinguished road

Thanks for all the info!

Well, I happen to be one of the lucky few who have a Bandit with no position indicator. After talking with someone who is considered a specialist with these machines, he said that this was pretty common and that the display's were an option. I have the three little spots where they should be but no circuitry components are there. After seeing the machine run that was just not something I thought to look for. I'm sure I'll figure a way to work around it.

I'm still not sure about something...which was really my only question.

How do you actually line up the tool to part that you're cutting? Do you just eyeball it up to the point right when it looks like it's starting to touch the part? If so is it normal to do this with the spindle off or on? This just seems open to inaccuracies compared to the way most machinists think. I'm fine to do it this way...I just figured there would be a better way.
Tweet this Post!Share on Facebook
Reply With Quote

  #12  
Old 09-03-2006, 07:10 PM
HuFlungDung's Avatar
Moderator
 
Join Date: Mar 2003
Location: Canada
Posts: 4,823
HuFlungDung is on a distinguished road

We use a tool called an edge finder. This is a little tool which you put in the spindle (chuck) and run maybe 500 rpm. Then you carefully jog the machine until the tip approaches the workpiece. Keep jogging....in Bandit low jog, each push of the button is .001" and when the tip of the edge finder actually touches the part, it will jump a little bit sideways to show you that there is no longer room for the tip to rotate concentric with the spindle. The tip is springloaded, that is how this is possible. So, whatever the radius of the edge finder is, that is how far the spindle remains from the true edge of the part. Allow for that and you will be right on the edge. In Bandit, Hi jog is .1", so you will find an edge finder with a .2" dia tip to be most convenient to get the machine right on the edge with one push of an axis key in Hi jog.

This does not apply to the Z axis.

Sorry to hear about no displays. Nonetheless, if you practice with care the instructions I gave you, you can still play with it until you understand what is going on.
__________________
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

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 03:20 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