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 04-28-2009, 05:27 PM
 
Join Date: Apr 2008
Location: United States
Posts: 9
bikebasher is on a distinguished road
Parameter #128

Is this the parameter for tool # in spindle?
Reply With Quote

  #2   Ban this user!
Old 04-29-2009, 06:51 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Bikebasher...welcome to the group.

Variables #100-#199 are your common variables. This may or may not be the variable that is tracking the tool in the spindle. I doubt that it is because these variables clear at power down. I usually use variables #500-#999 for this as these never clear.

I noticed that your other post says the machine does not know what tool is in the spindle. This can be tracked a few ways. Does your machine use a macro program for the tool change? If so can you post it?

Do you have any MTB books on this machine? They usually tell you in these books what they use to track the tool. It will probably either be a change of a variable or a change in the PMC parameter to get your tools back on track.

Stevo
Reply With Quote

  #3   Ban this user!
Old 04-29-2009, 12:29 PM
 
Join Date: Apr 2008
Location: United States
Posts: 9
bikebasher is on a distinguished road
tool change program

#3003=1
IF[#20EQ#0]GOTO100(WITHOUT T ALARM)
M70T#20(TF CHECK)
G4X0.1
IF[#1008EQ1]GOTO300(TF ON SPINDLE)
IF[#20EQ0]GOTO100(T=0 ALARM)
IF[#20GE100]GOTO90(T-LIFE T 3 CODE)
IF[#20GE21]GOTO100(T>MAGAZINE ALARM)
N90IF[#1012EQ1]GOTO101(SP=EMPTY ALARM)
#140=0
#149=#4003
#148=#4001
#147=#4006
G0G91G80G49M19
M6(TOOL CHANGE IN PLC)
IF[#1009EQ1]GOTO10(ATC POSITION 1)
WHILE[#1009EQ0]DO1(ATC POSITION 1 CHECK)
#140=#140+1


Is this enough?

Currently the tool in spindle is "0" and the next tool reads "6".

Now if I try a tool change Alarm 1032 shows up about a "door open". The mill will run w/ the door open. I have never seen this alarm before.
Reply With Quote

  #4   Ban this user!
Old 04-29-2009, 12:54 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

That’s not really enough as you can’t see were the program is jumping to when conditions are met. Is the program long that you can’t copy and paste the whole thing?

I am not sure why you are getting the door alarm if you can run with the door open. It could be trying to refer to the tool change or magazine door maybe has a problem.

So you have tool #0 in the spindle and #6 at wait? Does the machine reflect this? Besides the door alarm the problem is that the machine thinks you have #0 in the machine which you don’t and #6 at wait which you do. If you can manually put tools in the magazine I would take the tool out of the spindle and do a tool call of #6 to the spindle that way the machine will think that you have #6 in the spindle which you do and it will think #0 is at wait. Now put the tool that you took out of the spindle and put it in the proper tool magazine spot. Now call that tool to make sure everything is set proper.

If you can post the rest of the tool change program and I can try to decipher it so maybe there will be an easier way to fix this the next time or we can add or take out things to improve the tool change process. It will also give you a better understanding of which system variables do what.

Stevo
Reply With Quote

  #5   Ban this user!
Old 04-29-2009, 01:21 PM
 
Join Date: Apr 2008
Location: United States
Posts: 9
bikebasher is on a distinguished road

No tool #0. Just #1-20. #6 is the tool changer location facing the spindle.

I was swapping tools when it happened:
Spindle went up, changer rotated to tool pot #6, spindle went down, axis interlock occured. Tool pot#6 was empty.


O9020(20T M6 TOOL CHANGE)
#3003=1
IF[#20EQ#0]GOTO100(WITHOUT T ALARM)
M70T#20(TF CHECK)
G4X0.1
IF[#1008EQ1]GOTO300(TF ON SPINDLE)
IF[#20EQ0]GOTO100(T=0 ALARM0
IF[#20GE100]GOTO90(T-LIFE T 3 CODE)
IF[#20GE21]GOTO100(T>MAGAZINE ALARM)
N90IF[#1012EQ1]GOTO101(SP=EMPTY ALARM)
#140=0
#149=#4003
#148=#4001
#147=#4006
G0G91G80G49M19
M6(TOOL CHANGE IN PLC)
IF[#1009EQ1]GOTO10(ATC POSITION 1)
WHILE[#1009EQ0]DO1(ATC POSITION 1 CHECK)
#140=#140+1
IF[140GE4]GOTO99
G30ZO
END1
#140=0
N10M71(MAG FORWARD)
M72(UNCLAMP)
WHILE[#1010EQ0]DO1(ATC POS. 2 CHECK)
#140=#140+1
IF[#140GE4.]GOTO98
G30P3Z0
END1
#140=0
M73T#20(MAG ROTATE)
WHILE[#10009EQ0]DO1(ATC POS 1 CHECK)
#140=#140+1
IF[#140GE4.]GOTO99
G30Z0
END1
M74(SP TOOL CLAMP)
G#148G#149G#147
M75(MAG BACK)
GOTO300
N98#3000=20(ATC POSITION 2 ERROR)
N99#3000=21(ATC POS 1 ERROR)
N100#3000=22(T/M6 ERROR)
N101#3000=28(SP=EMPTY ERROR)
N300
#3003=0
M99
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-30-2009, 02:16 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Sorry I have been quite busy the last few days. I will review your program when I get some spare time.

So back to what I asked before. You say there is no #0 only #1-#20 then where did the #0 come from when you said “currently tool in the spindle is #0”? What does the machine “think” you have in the spindle and what is actually in there?

So if you get past the door alarm can you not just call #6 to the spindle and all is well?

Stevo
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
Need Help!- parameter hongjianming Fanuc 7 05-25-2011 05:20 AM
ymc 60A parameter saptyawan CNCzone Club House 0 06-16-2008 11:45 PM
parameter davek Fanuc 6 11-08-2007 07:45 AM
dnc parameter help shepherd Machine Problems, Solutions , Wireless DNC, serial port 1 06-27-2007 12:28 AM




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