![]() | |
| 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 |
|
#2
| |||
| |||
| 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 |
|
#3
| |||
| |||
#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. |
|
#4
| |||
| |||
| 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 |
|
#5
| |||
| |||
| 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 |
| Sponsored Links |
|
#6
| |||
| |||
| 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 |
![]() |
| 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 |
| 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 |