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 11-01-2008, 05:11 PM
 
Join Date: Dec 2007
Location: USA
Posts: 3
CNC-John is on a distinguished road
G10 won't recognize B-axis (FANUC O-M)

Hi,

We have an older Makino A55 HMC with two pallets. This machine has been sitting idle for a while and the guy who really knew how to program it is gone.

We now have a project for the machine and have got the program running for the first article. We now want to populate the tombstone (5 positions per side, 4 sides) but the G10 code seems to be misbehaving.

We want to set the fixture offset with a G10 and then call the part program as a subprogram, but we are having problems.

The G10 line correctly sets the X, Y, and Z values, but when it hits the B-axis value it sees this as a new command and rotates the pallet without setting the fixture offset for the B-axis.

Here is the line of code:

G90 G10 L2 P0 X0 Y0 Z-21.076 B0 ;

Any help or work-arounds would be greatly appreciated.


Thanks,

-John-
Reply With Quote

  #2   Ban this user!
Old 11-03-2008, 09:18 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

In your work coordinate page does it display a B value?

X0
Y0
Z-21.076
B0----------is this displayed?

Stevo
Reply With Quote

  #3   Ban this user!
Old 11-03-2008, 02:23 PM
 
Join Date: Dec 2007
Location: USA
Posts: 3
CNC-John is on a distinguished road

Stevo,

Yes, its does show the position on all four axis.



The thing that has us puzzled is that up until now the machine has behaved normally. The part that we are doing is machined on 3 sides by rotating the B-axis. Then we flip it over and machine the other three sides.

Everything works just fine until it came time to use up all the positions in the fixture plate. Then the G10 didn't recognize the B coordinate. Interestingly, the G92 command also does not recognize the B coordinate.

I have included a picture of the coordinate screen on the controller, just in case it is helpful.

(Hmm, the picture doesn't seem to show up. You can see it here: http://picasaweb.google.com/johnhuntdesign )

-John-

Last edited by CNC-John; 11-03-2008 at 04:37 PM.
Reply With Quote

  #4   Ban this user!
Old 11-03-2008, 02:53 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

So are you saying you can set the B-offset using the G10 setting up until you have used all of the work coordinates? Or does it not work at all. You described it works fine until you use all the positions in the fixture plate???

Are you using all the workoffsets? P1,P2,P3,P4,P5,P6 and then after these have been used you try to reset one of them with the G10 and it does not set?

I see you have P0 in your line of code. Were you using the 0 for example or are you exclusively using the P0 coordinate for all shifts?

Stevo
Reply With Quote

  #5   Ban this user!
Old 11-03-2008, 03:14 PM
cnc-king's Avatar  
Join Date: Jul 2003
Location: united states
Posts: 232
cnc-king is on a distinguished road

on the older fanuc controller we have to set the B coordinate on a separate line for it to work correctly eg
G90 G10 L20 P1 X10.000 Y10.000 Z10.000
G90 G10 L20 P1 B90.0
don't know if this will work for you
__________________
If you can ENVISION it I can make it
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-03-2008, 04:28 PM
 
Join Date: Dec 2007
Location: USA
Posts: 3
CNC-John is on a distinguished road

The B-offset does not work at all.

We wrote the program and proved it out for the first position on the fixture plate for the first operation, and then for the first position on the fixture plate for the second operation.

The 4-sided tombstone has two first operation fixture plates and two second operation fixture plates.

Then we tried to write a main program that was basically a series of G10 work offset lines and subprogram calls. It worked fine as long as we only changed the work offsets in X, Y, and Z.

When we tried to change to work offset in B to use the other two fixture plates, it did not recognize the B coordinate as part of the work offset. It treated the B as a new command and rotated the pallet, but did not change the work offset for B.

We did try a separate G10 line just for the B-offset, but it still did not recognize the B argument and treated it as a new command, rotating the pallet. This same behavior occurs with the G92 command.

The P0 was an example, but we may also be using it for all of the shifts. I will find out if this is the case and post the info.

Also, I notice that we are using L2, and that you used L20. Is this something that I should look into?

Right now we are running the part, but only using 2 of the 4 sides of the pallet.

Just for general info, each operation works on 3 sides of the part, and therefore contains B-axis commands as part of the program. The part programs are long and we just barely managed to get everything to fit as it is, so we can't just duplicate the programs with different B values to get to the other sides of the pallet.

Right now we are just stumped as to why the G10 and G92 commands don't recognize a B value as a valid argument, and any help is greatly appreciated.

Thanks,

-John-
Reply With Quote

  #7   Ban this user!
Old 11-03-2008, 04:56 PM
beege's Avatar  
Join Date: Feb 2008
Location: USA
Posts: 518
beege is on a distinguished road

Have you tried using A or C instead of B(with your G10 or G92)? I see it shows B on your display, but maybe its looking for an A in the program?

I'm thinking that a parameter needs changing, but I've no clue to which one that is.
Reply With Quote

  #8   Ban this user!
Old 11-03-2008, 05:43 PM
Mitsui Seiki's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 464
Mitsui Seiki is on a distinguished road

Originally Posted by CNC-John View Post
Hi,

We have an older Makino A55 HMC with two pallets. This machine has been sitting idle for a while and the guy who really knew how to program it is gone.

We now have a project for the machine and have got the program running for the first article. We now want to populate the tombstone (5 positions per side, 4 sides) but the G10 code seems to be misbehaving.

We want to set the fixture offset with a G10 and then call the part program as a subprogram, but we are having problems.

The G10 line correctly sets the X, Y, and Z values, but when it hits the B-axis value it sees this as a new command and rotates the pallet without setting the fixture offset for the B-axis.

Here is the line of code:

G90 G10 L2 P0 X0 Y0 Z-21.076 B0 ;

Any help or work-arounds would be greatly appreciated.


Thanks,

-John-

You don't need the B0 in that line.

You can do it this way:
G90 G10 L2 P1 X0 Y0 Z-21.076
G0G90B0
and for the others sides perhaps:
G0 G90 G10 L2 P2 X10 Y5 Z-.5
G90B90
__________________
Stefan Vendin
Reply With Quote

  #9   Ban this user!
Old 11-04-2008, 01:36 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Have you tried PUNCHing out the Work Offsets to see what the format looks like?
Reply With Quote

  #10   Ban this user!
Old 05-30-2009, 12:35 PM
 
Join Date: May 2009
Location: usa
Posts: 1
massprecision is on a distinguished road
Thumbs up

We had the same problem with an older A55. I ended up leaving the B out of the G10 line and then call it up in the program. You will have to decide how you want to call your rotations. Either a seperate line for the B using a G10 or calling it in the program and last manual imput into the work offset.
Reply With Quote

Sponsored Links
Reply

Tags
b axis, fanuc om, g10




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
Does anyone recognize this Fanuc? Dancy Fanuc 14 02-24-2010 11:42 PM
Anyone recognize this connector? cnczoner General Metal Working Machines 3 09-09-2008 09:34 PM
SHW UF-2 & ISA 40 anybody recognize? innova General Metal Working Machines 5 04-12-2007 04:13 PM
servos...how to recognize? STUG Servo Motors and Drives 2 02-03-2005 01:26 AM
Can you recognize yourself? ESjaavik CNCzone Club House 4 05-28-2004 09:32 PM




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