![]() | |
| 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 |
|
#1
| ||||
| ||||
| Hey Guys, I need to orientate the spindle on some mills for a job. One has a Fanuc 16i control, the other an 18i. The thing is I need to orientate it a different angles and I'm not sure haw to do this. Has anyone done this before? Thanks, JK |
|
#4
| ||||
| ||||
| Thanks Mitsui Seiki, I tried this out but it only orientates the spindle and then changes the speed value. Too bad it wasen't this simple on this control. So short of writing a macro which changes the value of the #4077 parameter and then back again, is there any other simple ways of doing this? Thanks Guys, JK |
|
#6
| |||
| |||
| You could do it with G10. I also have a macro here somewhere that lets you actually do an M19S# without writing to the actual parameter. I'll dig it up when I get home from work. G10L50; N4077R(SETTING VALUE); G11; M19; |
|
#8
| ||||
| ||||
This is what the Fanuc 18i manual says. M190 = Orient Tool to angle required . M190 : Spindle orientation Execution of the M5/M3/M4 command or pressing the RESET key will release the spindle orientation command. Last edited by Mitsui Seiki; 09-07-2007 at 03:10 PM. |
|
#11
| |||
| |||
| dug it up, but I had forgotten that I had to make some ladder edits to make it work. Explanation is below. If you're interested I could walk you through doing the edits required to make it work, but a G10 would probably be a lot easier. O9020(MACRO FOR M119 S.....) #5=0 #5=#19*11.3777 #1133=#5 #1100=1 M219 M19 #1100=0 G04X0.0 M99 Basically what I did was add some logic so that I could fire M119S*** to position to an angle. M119 would jump to the sub, from there I would set local variable #5 to 0, then set it equal to the value of S(#19)X the value of one pulse of the encoder(4096/360=11.377). Set #1133 equal to the new value. Set #1100=1 (ON), and this bit turns on in the ladder, fire M219, which writes the value from #1133 into a window read function and fire M19, which orients to this value. It will only orient to a specific angle when the value from #1133 is moved into the window read. I can orient to an angle, and follow it up with an M19 and go back to the original position because I'm basically just telling the PMC to look around the setting it actually wants. |
|
#12
| ||||
| ||||
| Codyst, Would you mind? I think the effort would be worth it. This is going to be used on a 6 spindle transfer machine so the more bullet proof the better. I get the concept but you lost me at the #1113 & #1100. I've never used those registers before. I take it I have to set #6080 to 119 for the M code to work and then it will pick up your macro? But the ladder stuff is pretty far over my head. Thanks again, JK |
![]() |
| 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 |
| Will Mach do spindle orientation? | KKutt | Mach Software (ArtSoft software) | 11 | 04-09-2007 05:52 PM |
| Tree 750 Spindle Orientation | CFMold | Tree | 3 | 12-11-2006 12:41 PM |
| Spindle Orientation Position Adjust | pinguS | Fanuc | 4 | 11-16-2006 10:02 AM |
| Spindle Orientation | machinist39 | Haas Mills | 7 | 05-04-2006 08:58 PM |