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! > Machine Controllers Software and Solutions > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-17-2009, 12:04 PM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road
G54, G50 confusion on 6t controll

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.
Reply With Quote

  #2   Ban this user!
Old 02-17-2009, 12:31 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

PM sent.

Stevo
Reply With Quote

  #3   Ban this user!
Old 02-17-2009, 12:43 PM
 
Join Date: Oct 2007
Location: USA
Posts: 32
Tcooper571 is on a distinguished road

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).
Reply With Quote

  #4   Ban this user!
Old 02-17-2009, 03:41 PM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road

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?
Reply With Quote

  #5   Ban this user!
Old 02-17-2009, 05:41 PM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

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.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-17-2009, 10:51 PM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road

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?
Reply With Quote

  #7   Ban this user!
Old 02-18-2009, 03:50 AM
 
Join Date: Feb 2009
Location: NewZealand
Posts: 3
Nathan k is on a distinguished road

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
Reply With Quote

  #8   Ban this user!
Old 02-18-2009, 12:06 PM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road

Here is an upload of photos of the machine, and I also included the page that is on the offset button.







So there is NO 1, X, Z, R, T.

So how would these numbers be associated with the G50 Pos?
Reply With Quote

  #9   Ban this user!
Old 02-18-2009, 05:15 PM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road

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?
Reply With Quote

  #10   Ban this user!
Old 02-19-2009, 03:12 AM
 
Join Date: Feb 2009
Location: NewZealand
Posts: 3
Nathan k is on a distinguished road

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.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-19-2009, 10:19 AM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road

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?
Reply With Quote

  #12   Ban this user!
Old 02-19-2009, 10:09 PM
 
Join Date: Feb 2009
Location: NewZealand
Posts: 3
Nathan k is on a distinguished road

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.
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
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




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