![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Mori lathes Discuss Mori lathes here. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
We have a sl 25 mf-t6 I think, Fanuc control, I want to try some conditional programming, IFs and GOTOs and such I have the prog and op manual here with me but cannot pinpoint this topic, is it in the FANUC book Ileft at work? Can anyone give me the proper format for IF/GOTO statements ie G0Z.2 X[#100] Z.1 G71U.150 G71P21Q22U.02W.005F.014 N21G0X[#101]Z.05 G01Z-[#107] ?? IF [#102 EQ 0] N22 X[#102] Z-[#107+#108] ?? IF [#103 EQ 0] N22 blah blah blah N22X[#100] IS THIS ON THE RIGHT TRACK?
__________________ I'm just a butcher masquerading as a machinist |
|
#2
| |||
| |||
I use variables in G71 cycles a lot, but have never tried a GOTO inside the cycle. Don't see why it shouldn't work okay. |
![]() |
| 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 |
| Newbie- Best Cam prog? | greven2010 | Mazak, Mitsubishi, Mazatrol | 6 | 06-13-2010 03:11 PM |
| Need Help!- Prog ex Mazatrol M2 | sve0019 | Mazak, Mitsubishi, Mazatrol | 0 | 05-30-2010 12:48 AM |
| G320/G340 'Required Direction Setup' and 'Required Direction Hold' times? | margni74 | Gecko Drives | 2 | 12-05-2008 08:10 PM |
| Sample prog? | Edster | Okuma | 11 | 09-25-2008 01:52 PM |
| EMC2 variable pitch / variable diameter threading. | samco | General Metalwork Discussion | 0 | 03-09-2008 01:40 PM |