Results 1 to 10 of 10

Thread: Fanuc O-MD ILLEGAL ADDRESS INPUT

  1. #1
    Registered
    Join Date
    Sep 2008
    Location
    Turkey
    Posts
    16
    Downloads
    0
    Uploads
    0

    Fanuc O-MD ILLEGAL ADDRESS INPUT

    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. #2
    Registered beege's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    546
    Downloads
    0
    Uploads
    0
    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. #3
    Registered
    Join Date
    Sep 2008
    Location
    Turkey
    Posts
    16
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by beege View Post
    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!
    I don't use any macro on this machine. How can I enable Macro B? Thanks.


  4. #4
    Registered
    Join Date
    Feb 2009
    Location
    USA
    Posts
    64
    Downloads
    0
    Uploads
    0

    Enabling Macros

    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
    Registered
    Join Date
    Sep 2008
    Location
    Turkey
    Posts
    16
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by James L View Post
    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.
    how can I find which macro used my cnc controller?


  • #6
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    PM sent.

    Stevo


  • #7
    Registered
    Join Date
    Sep 2008
    Location
    Turkey
    Posts
    16
    Downloads
    0
    Uploads
    0

    MACRO A WHILE DO LOOP

    How can I use while ... do loop in macro a? please help me?


  • #8
    Registered
    Join Date
    Jun 2008
    Location
    United States
    Posts
    1,509
    Downloads
    0
    Uploads
    0
    Macrosat....I do not believe that macroA supports the WHILE DO loops or IF statments. You are going to need macroB option for this.

    I have responded to your PM.

    Stevo


  • #9
    Registered
    Join Date
    Sep 2008
    Location
    Turkey
    Posts
    16
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by stevo1 View Post
    Macrosat....I do not believe that macroA supports the WHILE DO loops or IF statments. You are going to need macroB option for this.

    I have responded to your PM.

    Stevo
    Thank you Stevo....


  • #10
    Registered
    Join Date
    Apr 2008
    Location
    PORTUGAL
    Posts
    2
    Downloads
    0
    Uploads
    0
    how can I turn off the drive enable for SVM Fanuc?


  • Similar Threads

    1. GE Fanuc & FANUC proprietary posts
      By CNCadmin in forum Fanuc
      Replies: 52
      Last Post: 03-20-2013, 10:54 AM
    2. FANUC & GE FANUC Repairs
      By RRL in forum Product and Manufacturer Announcements
      Replies: 1
      Last Post: 04-17-2011, 12:50 PM
    3. Replies: 5
      Last Post: 03-09-2011, 10:11 AM
    4. Fanuc & GE Fanuc Repairs
      By RRL in forum Product and Manufacturer Announcements
      Replies: 0
      Last Post: 10-01-2008, 01:42 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.