![]() | |
| 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
| |||
| |||
hi all i have frist VMC with fanuc oi control . before it i was working on okuma VMC with okuma control . i found more diffrent between them , i think okuma control it was very easy than fanuc . so, now i stooped on some programming problems . fristly i need when i write prametric program by (#) .... in the beginning of the program by example : #1=1 ; z-#1 ; control accepted it and read . after i finished the cutting path with this depth ... i need to modify 1 mm to #1 and repeat the path again with the new #1 value . i try : #1=#1+1 if [#1 = 18 ]GOTO N** pls. advise . |
|
#3
| |||
| |||
hi stevo, thanks for your replay , so my friend , alarm appear with format i told you before is : " illegal macro sequence number " despite the sequence is truewhat do you think about that ? and can you send to me any manuales may be its useful for me in the programming process |
|
#4
| |||
| |||
| Can you post the code that he is trying to run? This looks to me that it is searching for the N address but can not find it. Make sure that if he is jumping to address like N100 that the N100 is somewhere in the program. IF[#1EQ18]GOTO100---i assume that you know it has to be a number not ** ... ... N100--------this must be somewhere in the program. PM me your email and I will see what I can dig up for manuals. Stevo |
|
#5
| |||
| |||
| OOOOOOOOOOOOh nooo, stevo .... i working in programming field for 8 years ago . " heidenhaine - semiens - sunumirik 840 - okuma " but not professional in fanuc only . i know it should be number of block ... just i give you [**] for example . so, my e-mail is : tarek_atef_497@hotmail.com |
| Sponsored Links |
|
#6
| |||
| |||
| I figured it was just an example but wanted to be sure. No offense. I still think you should check to see if the address is in the program. What number is he using?? I will send you the manuals when I find them. Stevo |
|
#7
| ||||
| ||||
| Perhaps a typo in the N word? If you'd typed GOTON1OO instead of GOTON100 (note the difference between Ohs and Zeroes) perhaps it would alarm It would be easy since we're in the Oh neighborhood on the keyboard to type the N1OO instead. Or maybe your N100 is mistyped (although I don't think any of this is possible at the control.) |
|
#8
| |||
| |||
.I sent traxxtito the manuals and he shot me some code back and he was using the =,<, > symbols. This I am sure is the problem. I gave him macroB quick reference for Fanuc to advise him of the symbols they use. EQ, LT, GT etc. Stevo |
|
#11
| |||
| |||
| GOTO N100 is not correct syntax-wise. So, even if it works (I have not checked), it should not be used. GOTO 100 or GO 100 can be used. Interestingly, GOTO 100.49999 is equivalent to GOTO 100, and GOTO 100.5 is equivalent to GOTO 101! There would be no alarm. Funny indeed. |
![]() |
| 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 |
| GOTO jump instruction | maximusek | G-Code Programing | 22 | 09-06-2008 11:22 PM |
| 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 |