![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi In Nakamura TW-10 with controller Fanuc 18T I'm not able to jump over the block of the program GOTO10, GOTO#10 (as book says) gives me back alarm message 004 adress not found. I'm sure there is block N10 in my program. Any clue?? Thank You for any advise |
|
#3
| |||
| |||
| Code: #10 = 10 GOTO#10 . . . . N10 ... |
|
#6
| |||
| |||
| Thank U Guys, I think "You have to enable macros in your machine" is correct :-); In my swiss simple GOTO10 works without any problem, GOTO#10 is taken from Fanuc Programing Manual. Now I have to figure out how to check "macros enabling" in my TW-10, heh I love this job...:-) for all |
|
#7
| ||||
| ||||
If you do have macro option, then GOTO10 should work just fine-Jim |
|
#8
| |||
| |||
| It has been a while since I used it and now that I think of it some controls may want the variable in []. I have used this type of program on both Mit and Fanuc controls. GOTO[#10] It is just like when you use a variable in a gcode word like the code below. Set #3 to 0 and the path goes around counter clockwise, set it to 1 and the path goes around clockwise. You can do this type of thing when you want to mirror the cut but still climb mill on both mirrored and non mirrored parts. Code: #3=1 (0 COUNTER CLOCKWISE, 1 CLOCKWISE) G0X0Y0 G1G[41+#3] X1.000 D1 F20.0 G1 Y[-0.750*[[#3*2]-1]] G[3-#3] X0.750 Y[-1.000*[[#3*2]-1]] R0.250 G1 X-0.750 G[3-#3] X-1.000 Y[-0.750*[[#3*2]-1]] R0.250 G1 Y[0.750*[[#3*2]-1]] G[3-#3] X-0.750 Y[1.000*[[#3*2]-1]] R0.250 G1 X0.750 G[3-#3] X1.000 Y[0.750*[[#3*2]-1]] R0.250 G1 Y0.000 G1G40 X0 Y0 |
|
#9
| |||
| |||
| Thank You for second part of your post... Last edited by maximusek; 08-27-2008 at 04:00 PM. |
|
#10
| ||||
| ||||
| maximusek, I wasn't calling you a liar! and your right its in my macro section as well...so i'm the liar! It doesnt give a example how to use this GOTO#10 I will have to check this out today. I've never seen such a thing??? learn something new all the time. Did you find out if you have macros? % #10=1; GOTO#10; ; ; N2; N1; M30; % Okay, this does work. My apolgies to everyone involved in this thread. I learned macros on Allen/Bradley contols and this doesn't work there. I learn new stuff all the time. Which is why I like to program macros in the first place. I think what I was thinking was this...N#10. That would not work.(or would it??? ) Last edited by jamesweed; 08-27-2008 at 10:14 AM. Reason: checked on control |
| Sponsored Links |
|
#11
| |||
| |||
| jamesweed, I know You didn't call me liar, maybe I should answer different way, I apologize. The reason I asked about is: making program is one thing but setup is another. Many times I have to compromise cycle time and f.ex. good surface finish or tool life. It is very usefull to jump over the part of the program using just GOTO (next block) to change the order of operations etc.etc. When First Part Raport is done and spindles are still in the same place I clean everything to prepare final version to back it up, but during setup, program looks like war zone :-). I was very suprise when in my swiss GOTO100 works ok and in tw-10 Nakamura not. Maybe tomorrow I'll check it out, interface looks like MS-DOS, I suspect I don't have macros enabled. That lathe is the oldest machine we have. That may be a problem. Anyway thank You Guys for help- jamesweed, Andre'B, beege - |
![]() |
| 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 |
| Using GOTO in a mazak program | CAMCRASH | G-Code Programing | 8 | 03-16-2012 05:31 AM |
| GOTO Z button | TMaster | Mach Mill | 10 | 05-30-2009 07:18 AM |
| Z goto 0 first ? | SScnc | Mach Mill | 7 | 08-10-2008 12:31 PM |
| Need Help!- GOTO Z | monte55 | Mach Software (ArtSoft software) | 12 | 02-06-2008 09:03 AM |
| Goto Z's button... also the @#$%#$% wizard... | InspirationTool | Mach Mill | 2 | 04-01-2007 09:54 PM |