![]() | |
| 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
| |||
| |||
009 P/S ALARM (ILLEGAL ADDRESS INPUT) on line N124 % O5000 N104 G90 G17 N106 G80 G49 G40 N108 G54 N110 G91 G28 Z0 N112 G90 N114 M01 N116 M6 T1 N118 G90 G00 G40 G58 N120 G43 H7 D37 G0 X-86.726 Y-112.951 Z50. S3000 M3 N122 M8 N124 #21 = 0 N126 WHILE [#21 LT 4] DO 1 N128 #22 = 0 N130 WHILE [#22 LT 4] DO 2 N132 (----------------) N134 (S-SLOT-T7 - SLOT) N136 (----------------) N138 G0 X-86.726 Y-112.951 Z10. N140 Z2. |
|
#2
| ||||
| ||||
| Have you used MacroB on this machine before? Perhaps you don't have Macro B enabled? Try writing this in Macro A instead. I don't remember the syntax for A, nor do I recall id Macro A has a WHILE/DO loop. Since it doesn't get to line N126, does the WHILE statement even work? Good luck! |
|
#3
| |||
| |||
|
|
#4
| |||
| |||
You will have to browse through your parameters. The order varies from control to control but there will be a parameter that says Enable Macro. On my machine you can select '1' for on or '0' for off. I use a HAAS control which is fanuc based and the enable macro option is in the first page of the parameters. Also refer to the paperwork that came with your machine. |
|
#5
| |||
| |||
|
| Sponsored Links |
![]() |
| 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 |
| GE Fanuc & FANUC proprietary posts | CNCadmin | Fanuc | 44 | 01-05-2012 08:54 AM |
| FANUC & GE FANUC Repairs | RRL | Product Announcements & Manufacturer News | 1 | 04-17-2011 11:50 AM |
| can fanuc ac digital servo amplifiers be run by a controller other than fanuc? | js412000 | Servo Motors and Drives | 5 | 03-09-2011 09:11 AM |
| Fanuc & GE Fanuc Repairs | RRL | Product Announcements & Manufacturer News | 0 | 10-01-2008 12:42 PM |