![]() | |
| 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
| |||
| |||
Hello, I've been working on yet another macro, and most of it seems to be working, atleast my testing program, but today i tried it out on the machine instead. It worked until i got to the (Z) part in the macro, and then pops up the Alarm 126, and i cant seem to figure out whats wrong with it. I'd be very greatfull if you guys would take a look at the macro
Nick. DP
__________________ Nick, The Newbie Programmer Last edited by NickDP; 07-09-2009 at 04:12 AM. |
|
#2
| ||||
| ||||
| DO is limited from 1 to 3. You have DO 4, which is causing the alarm. WHILE [#113GT0] DO 4 <------- MUST BE 1, 2 or 3 From the manual: "While the specified condition is satisfied, the program from DO to END after WHILE is executed. If the specified condition is not satisfied, program execution proceeds to the block after END. The same format as for the IF statement applies. A number after DO and a number after END are identification numbers for specifying the range of execution. The numbers 1, 2, and 3 can be used. When a number other than 1, 2, and 3 is used, P/S alarm No. 126 occurs." |
|
#3
| |||
| |||
Couldent find anything about it in "our" alarm manual. But it works now , Thanks again
__________________ Nick, The Newbie Programmer |
![]() |
| 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 |
| AutoCAD 2 G-Code macro | ger21 | Autodesk Software (Autocad, Inventor etc) | 224 | 11-06-2011 12:02 PM |
| Bar Code MACRO Variables???? | Ziegler | NCPlot G-Code editor / backplotter | 3 | 10-12-2009 11:06 AM |
| In Macro #5221 gives alarm 115 | wayne mitchell | Fanuc | 3 | 07-23-2008 02:30 AM |
| alarm 408 servo alarm "serial not RDY", αP18 fanuc mtor code | sting | Fanuc | 0 | 01-01-2008 09:03 AM |
| Macro alarm | jorgehrr | G-Code Programing | 3 | 06-22-2007 02:34 PM |