![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Fanuc Discuss Fanuc controllers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Ok, so When I build a program in mastercam, when I go to post, the begining of the program looks like this: G20 (TOOL - 1 OFFSET - 1) (OD ROUGH RIGHT - 80 DEG. INSERT - CNMG-432) G0 T0101 G18 G97 S431 M03 G0 G54 X1.7742 Z2.5769 G50 S3600 G96 S200 G99 G1 Z2.4769 F.01 So it wants a G54 position. But my Miyano 6bc with a 6T controll, does not have option for a G54 posistion. How I understand it is that it was an option with fanuc. Some guys say that you need to use a G50 command. So would I just home the machine, then replace the G54 with the G50 in that mastercam post? This is the last step I need before I can make race car parts So any help is greatly appreciated. |
|
#3
| |||
| |||
| The G50 in that example just limits your spindle RPM it has nothing to do with any positions. The G54 is an option in a Fanuc control but not necessary to run as long as you teach you tools to the face of your material and/or use a WORK SHIFT. You should be able to just delete the G54 from your program if your machine does to have the Work Coordinate option turned on and leave the G50 (Max spindle speed setting). |
|
#4
| |||
| |||
| So your saying in that sample program I just put there, I should be able to delete just the G54 itself and leave everything else the same? So as long as I home the machine then start that program without that G54 in there it will run as normal as long as the tool offsets are correct? |
|
#5
| |||
| |||
| G50 is used to BOTH lmit the spindle speed in CSS and also to pre-set the position registers. If you specify : G50 X1.2345 Z2.3456 The X absolute position display changes to 1.2345 and the Z position display changes to 2.3456. All X and Y motions are then relative to those points. Before the G54-G59 offsets were available, most 6T programmers would move a tool to a known position relative to the part, then give it the G50 X----- Z----- command, then select a tool offset and begin cutting with that tool. After moving back to a known tool change position, they would cancel that offset, change to the next tool, give it another G50 command with different X and Z numbers (to compensate for the tool length) then activate the new tool offset and begin cutting again. Using a G50 statement for each tool permitted tool offset values to remain very small, usually to only compensate for wear. When setting up a job, the procedure would be to zero out all the offset registers, touch off each tool, set the "relative" position display to X0 Z0, then move back to a safe tool change point and lift the G50 numbers from the relative display. If you command a G50 S1000, then start the spindle in constant surface speed, the spindle speed will not go higher than 1000 rpm, even if the tool approaches the spindle centerline. You can give all three together if you wish: G50 X1.2345 Z2.3456 S1000 Other programmers liked to take the LONGEST tool, touch off, back away, then use only one G50 command for the entire program. Then, the tool offset values for that longest tool are near zero, but all the other tools will probably have large tool offset values. This can be a problem because a T-command will activate or cancel the offset, causing a larger motion than the operator might expect from looking at the program. Either method works. I liked to use a G50 for each tool. |
| Sponsored Links |
|
#6
| |||
| |||
| First of all, thank you so much for your very usefull reply. Ok, I am a comoplete Lathe newb but very fluent in mill and manual lathe and mills. Ok, lets say I have two tools. ONe is a facer and a turner, and the other is a part off tool. If I set my program to where its origin is the face of the chuck jaws. So where would I touch off my tools? ON the od of the part? I guess I am just confused on how to set the G50 command and the tool offsets. I looked in the offsets and the tool offsets are REALLY small, sorta like you were saying they would be, from the previous owner of the lathe. Any help is appreciated! THanks for any help. When you draw a part on mastercam, you set the centerline on the centerline of the part, so I would figure you would set your G50 command to where the center of the part is the very tip of EACH tool for the x pos. And the Z position would always be on the face of the chuck, as long as that is how the program was written. ALso another side note, When you send a new program to the CNC, if you dont give it another program number it errors out with a 073 error, which means that, that program number has already been used. So when you build a new program with a new program number, does it automaticly delete the previous program, or since it has a new number it is stoard somewhere? |
|
#7
| |||
| |||
| Hi there. If you don't have the g54 option there should be a work shift page/button on the control that you can use to set the X and Z coordinates. The X coord should already be set to the center of the chuck and there for should not be touched. The z coord should be set according to your datum in the program. ie. Off the face of the chuck or off the front face of the job. Then as stated you can simply delete the g54 from the program and it should work. Also in your program you have a g50 setting your spindle speed to 3600 max. Remember to make sure you slow everything down when you first run every program (Rapid,feedrate) and put the optional stop and single block on aswell and put the position screen on it should have a distance to go coordinate so you can see where you are. ie if it says you have 200mm to go and your 10mm from the job then there is something wrong. Also all programs are stored in the program library untill YOU delete them. So make sure your programs are stored on computer so you can delete them off the control otherwise you will run out of space. Hope this helps |
|
#9
| |||
| |||
| Ok, I have been at this all day. I am having so many problems. 1. When I bring the machine about 3-4 inches away from the home position after starting the machine. I go G28 u0 w0. It will error out about half the time with a X or Z OT, I have checked the limit switches (micro switches) and they all seem good, unless they are out of adjustment. 2. When I write a program like this: O0000 G20 G0 T0101 G18 G97 S3000 M03 G0 X-.016 Z2.3818 M8 G50 S3000 G96 S200 G99 G1 Z2.2818 F.01 X.9691 Z1.7324 G18 G3 X.9842 Z1.7168 R.0312 G2 X1.9056 Z1.0674 R.9166 G3 X1.9378 Z1.04 R.0313 G1 X1.9379 Z0. X2.0793 Z.0707 M9 G28 U0. V0. W0. M05 T0100 M30 It will go to the tool, but then will error out saying overtravel. I guess I am still unsure on which line the G50 needs to be used. So if you use a G50 command and have your X, Z and R values at Zero, your tool will tip will use that exact G50 position for its origin? So if you draw the part to where the origin is at the face of the chuck and on the centerline of the part, and you zero the machine, bring T1 down to the face of the chuck, and write that number down. Then chuck a 2" bar in the chuck, touch off on that bar with the x axis, then add one to that number and that will give the x position? Then if you have your values at zero for the offsets for t0101, your tool will be offset correctly? So would the program look like this, if my x and z cordinate were 5.0 and 5.0 for a tool touch off? O0000 G20 G0 T0101 G18 G97 S3000 M03 G50 x5.0 z5.0 G0 X-.016 Z2.3818 M8 G50 S3000 G96 S200 G99 G1 Z2.2818 F.01 X.9691 Z1.7324 G18 G3 X.9842 Z1.7168 R.0312 G2 X1.9056 Z1.0674 R.9166 G3 X1.9378 Z1.04 R.0313 G1 X1.9379 Z0. X2.0793 Z.0707 M9 G28 U0. V0. W0. M05 T0100 M30 Am I on the write track or WAY off? |
|
#10
| |||
| |||
| Hi there. I think your machine calls the tool and then over travels because it then tries to move Z2.3818 incrementally so it's trying to go backwards instead of towards the job. Try this to stop over travel problem. O0000 G20 G18 G91 G28 U0. W0.T0000(G91 to move home in incremental) G50 S3000 G0 T0101 G90 G96 S200 M3(G90 so it moves in absolute) G50 G0 X-.016 Z2.3818 M8 G99 G1 Z2.2818 F.01 X.9691 Z1.7324 G3 X.9842 Z1.7168 R.0312 G2 X1.9056 Z1.0674 R.9166 G3 X1.9378 Z1.04 R.0313 G1 X1.9379 Z0. X2.0793 Z.0707 M9 G91 G28 U0. W0. T0000 M05 (G91 to move home in incremental) M30 Once again make sure you slow everything down before running! Now its been a while since i ran a lathe with G50 work co ordinate. The lathe i run at the moment has a fanuc ot control and has a work shift page that's not g54 to set the job z/x o. When you touch the tool tip on the chuck how do you enter the z offset into the offset page. ie. do you press (MZ0. and then press enter?) I have a fanuc manual at work ill dust it off and try to brush up on the G50 work co ord programming. Then run your program through the lathe and see what i come up with. Last edited by Nathan k; 02-19-2009 at 09:29 PM. |
| Sponsored Links |
|
#11
| |||
| |||
| Ok, couple of things. My machine does not recognize a G91 command. It alarms with error #10 Second I keep getting this error while either trying to zero the machine or just move it in the correct direction: #213 or #212 By definition these erros mean it was moving in the plus or minus direction and it entered into the forbidden area of the stored stroke limit 1. What is the stored stroke limit 1? |
|
#12
| |||
| |||
| A stored stroke limit is a restricted area that has been set in the parameters. The tool should not enter these areas otherwise the system will show an alarm and all movements will stop. On the mdi screen see if your machine will respond to a G23 comand that should cancel the stored stroke check function. Then see if it will run. Last edited by Nathan k; 02-20-2009 at 03:58 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Where to set G54 position for 6T controll. | blakemachine | Fanuc | 4 | 02-09-2009 07:59 AM |
| Problem- drill post to c6 controll | idealtool | Milltronics | 8 | 11-06-2008 03:08 PM |
| Need Help!- C code for CNC machine controll | stan2323 | General CNC (Mill and Lathe) Control Software (NC) | 3 | 10-26-2008 09:12 PM |
| Need Help!- Post for Mitsubishi Controll | Maguillacutty | Surfcam | 4 | 08-02-2008 09:18 AM |
| GN10T-F symbolic controll | Craig F | Fanuc | 2 | 05-25-2006 12:32 PM |