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 09-03-2008, 01:20 AM
 
Join Date: Jul 2007
Location: australia
Posts: 9
jimmyjolly is on a distinguished road
9000 programs?

Hi all, I am running a yang vmc with a fanuc om g controller and it wont tool change in mdi mode, it will however tool change if running a program automatically. I remember years ago having a similar problem and was to do with missing a program O9000 that was locked in the controller. I am relatively unfamiliar with fanuc controllers, does anyone have any idea of what I may be able to do to both program this and get it into the controller? Thanks in advance for any help, jimmy
Reply With Quote

  #2  
Old 09-03-2008, 08:32 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,539
Al_The_Man is on a distinguished road
Buy me a Beer?

If you want to gain access to the 9000 programs you need para 0010 bit #4 set to 1.
Be aware that while this bit is set, it is possible to erase them through the clear programs command.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3   Ban this user!
Old 09-03-2008, 09:04 PM
 
Join Date: May 2008
Location: Viet Nam
Posts: 47
Namnp2007 is on a distinguished road

Hi jimmyjolly
Pls. sent me this O9000 program( when you can access it), I need it for my VMC machine . Thanks.
Reply With Quote

  #4   Ban this user!
Old 12-16-2008, 11:20 AM
 
Join Date: Jan 2008
Location: Canada
Posts: 59
crazycnc is on a distinguished road

Hi Jimmy,
Are you sure that the 9000 program is missing?
We have a VMC with a O-Mate M control, and I couldn't figure out how to do the tool change in MDI mode either. But finally figured out you had to be in AUTO mode and run the appropriate 9000 program from there. Our machine has a tool change button that would index the changer one slot every time the button was pressed while in this program. Hope this helps.

Now maybe you can help me yet, if you ever get a hold of this toolchange macro. I accidently deleted mine, and my backup got lost, so I'm wondering if yours would be similar enough that I could make it work on my control. I know it wasn't a long program at all. I think maybe 5 lines long.

Thanks,
Lorne
Reply With Quote

  #5   Ban this user!
Old 12-16-2008, 01:59 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

O9020(TOOL CHANGE PROGRAM)
#20=#4120--(sets #20 equal to modal T)
G40G80—(tool dia cancel & canned cycle cancel)
IF[#20EQ#xxxx]GOTO1--(skips tool change if calling tool in spindle)
G91G28Z0M9—(tool change position in Z & coolant off)
M19--(tool orientation)
G28Y0M5—(tool change position in Y & spindle stop)
M6—(tool call of modal T value)
N1—(address to jump to if calling current tool in the spindle)
G90G49Z#5043—(cancel tool offsets no tool movement)
#535=#20—(sets #535 equal to the tool that was called to the spindle)
M99

You must change the XXXX in the 3rd line to the variable that specifies your current tool in the spindle. Mine is #1033. Also if you don’t like the #20 in your program take it out. Remove the first line #20=#4120 then change your 3rd line to IF[#4120EQ#xxxx]GOTO1. #4120 is your modal T command. I use the #20 so I can set #535 at the end of the program equal to the tool in the spindle because some of my machine displays don’t show the T on the program check screen. So all the operator has to do is look at #535 to see what tool is in the spindle.

There is also a lot of other things that I have in my tool change macro like setting the H value so you don’t have to keep programming it at every tool change and the Z won’t move. I also set my S&F’s there. This is stripped down and basic so with a few adjustments this should work for you.

In your control you have to change macro parameter to call the tool change program with an M6. On the OM control they are as follows:
#230-#239 calls programs 9020-9029
#240-#242 calls programs 9001-9003

Just an FYI I would think jimmyjolly got it fixed since he has not posted here since this thread in September.

Good luck,
Stevo
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-16-2008, 05:22 PM
 
Join Date: Jan 2008
Location: Canada
Posts: 59
crazycnc is on a distinguished road

Thanks Stevo,
You might regret replying to my question, I might need a lot of coaching! First problem, when I try creating my 9000 program by typing in O9000 [INSERT] on the operator panel I get this error: "074 P/S Alarm". According to the manual this means 'The program number is other than 1 to 9999'. And yes I did try this with a few other 9000 numbers, and yes it does work with a 'regular' program number such as '101'.
Reply With Quote

  #7   Ban this user!
Old 12-17-2008, 01:53 AM
 
Join Date: May 2006
Location: Netherlands
Posts: 99
Stebedeff is on a distinguished road

________________________________________
:9020 (TOOL CHANGE MACRO)
IF[#1015 EQ1 ]GOTO50
IF[#20 EQ#0 ]GOTO60
#1100 =1
#106 =BIN[#1032 ]
IF[#106 EQ#20 ]GOTO40
#101 =#4001
#102 =#4002
#103 =#4003
G17 G91 G80 G0 M86
M19
M85
G30 Z0.
M82
M84
M07
G28 Z0.
T#20
M07
G30 Z0.
M83
M88
M81
N30 G#101 G#102 G#103
N40 M87
G90
#1100 =0
M99
N60 #3000 =1 (M06-NO-T-CODE)
G90
M99
N50 #3000 =2 (MACHINE/MST-LOCKED)
G90
M99

There may be some machine specific parameters that need to be changed as this is from a Yang Eagle machine.
Best of luck


* Don't know where I got this from but thought I'd post it anyway. This was copied from another post wich I pasted to word a while ago. Hope it could help. Good luck
Reply With Quote

  #8   Ban this user!
Old 12-17-2008, 07:56 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

I don’t mind helping that’s what where all here for.

I am assuming you are using an Om control? Your 9000 programs are probably locked. You have to change parameter 10.4 to get access to them. You should then be able to create 9000-9999 programs. Just an FYI parameter 384.2 is the locking of the 8000-8999 programs.

What was your old tool change program number before you lost it? 9000? There is no way to have the M6 call a 9000. You can have the 9000 called with a T code if parameter 40.5 is set. If this is how your machine was set up in the past then you could do a tool change with just a T code no M6 needed in your main program.

I however always set mine up to use the M6 call which means you have to use programs 9001-9003 or 9020-9029. So as I stated in my last post if you set parameter 203=6 now every time an M6 is programmed it will call program 9020. If you set parameter 204=6 it will call 9021 with an M6 ect.

Let me know if you get hung up or you want to add anything else like setting the H value or S&F's ect.

Stevo
Reply With Quote

  #9   Ban this user!
Old 12-18-2008, 11:21 AM
 
Join Date: Jan 2008
Location: Canada
Posts: 59
crazycnc is on a distinguished road

OK, now I can create my 9001 program, and I can see the main program is calling up the 9001 program, but now I need to study up on my macro programming as the code is not working yet. I'll also have to figure out yet what variable references my current tool. See if I can find it in the manual.

'You must change the XXXX in the 3rd line to the variable that specifies your current tool in the spindle. Mine is #1033.'
Is this 1033 actually parameter 1033?
Reply With Quote

  #10   Ban this user!
Old 12-18-2008, 12:13 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

What part of the program is not working? The main reason the #1033 and #4120 are in there is so that if you are calling a tool that is already in the spindle then it will bypass the M6 command. So to try out the code you can remove these and do a tool call. Just make sure every time you call a tool it is not the same one that is in the spindle. This will help you at least prove out the positioning and M6 ect. until we find the parameter for the tool in the spindle

Yes that is parameter 1033. These are the input signals. I cannot write to #1033 this gets set every time the tool changes. So I can read from it. This is not going to be in your Fanuc manual this will be in your MTB manual. I am pretty sure that these are the same input/output numbers on the OM control so we should be able to find the one that tracks your tool(there should be one, I hope). So there are a few things that you can do to try and find the parameter that is tracking the tool.

The input/output parameters are as follows:
#1000-#1035 input
#1100-#1135 output

So if you run this program
#1=0
#2=0
WHILE[#1LT35]DO1
#[100+#2]=#[1000+#2]
#[136+#2]=#[1100+#2]
#1=#1+1
#2=#2+1
END1
M30

Now your common variables #100-#135 are set to #1000-#1035 in sequential order. #136-#171 are set to #1100-#1135. Look at the variables and see if any one of them are set to the current tool in the spindle. If so then do a tool change to a different tool number and run the program again. If it is the same variable that changed to the tool in the spindle you have found your tool tracking parameter.

Stevo
Reply With Quote

Sponsored Links
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
Back up 9000 range on Fanuc 0M-C OC_ Fanuc 5 01-16-2008 02:32 PM
11M 9000 parameters chuy Fanuc 1 07-25-2007 09:03 AM
9000 macros problem mike c Fanuc 9 05-22-2007 08:24 PM
Need 9000 parameters from Fanuc 18T help please Lex_1972 Fanuc 2 02-14-2007 08:10 PM
9000 series parameter list IcutPoly Fanuc 1 11-12-2006 05:08 AM




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