![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General Metalwork Discussion Discuss everything relating to metal work. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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? |
|
#2
| |||
| |||
|
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. |
|
#3
| |||
| |||
| 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? |
|
#4
| |||
| |||
| 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. |
|
#5
| |||
| |||
| You may want to read this thread for some info on cnc CNC Dictionary |
| Sponsored Links |
|
#6
| |||
| |||
| 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? |
|
#8
| |||
| |||
|
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! |
|
#9
| ||||
| ||||
| 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) |
|
#10
| ||||
| ||||
| 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) |
| Sponsored Links |
|
#11
| |||
| |||
| 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. |
|
#12
| ||||
| ||||
| 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) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |