586,113 active members*
3,146 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Fanuc > #4114 reading N line number has no effect.
Results 1 to 2 of 2
  1. #1

    #4114 reading N line number has no effect.

    Hello experts,

    I have written a set of macros that utilize #4114 to capture N line numbers. This has been working normally on other machines, but recently, our company purchased a new machine model: FANUC 0iMF Plus. When entering the subroutine in single-step mode and continuing until the end, it operates normally. However, as soon as it enters the subroutine in automatic mode, it triggers an alarm.

    I've discovered that the issue lies with #4114; it can capture data in single-step mode but fails to do so in automatic mode. Attempting to switch to #4314 didn't resolve the issue. Finally, by adding G31 before each macro calculation, I managed to get it to run automatically.

    Is there any parameter that could solve this problem? Currently, having to add G31 isn't ideal, as it means writing a separate set of subprograms for one machine. I'm asking for your help, experts.

  2. #2
    Join Date
    Nov 2007
    Posts
    352

    Re: #4114 reading N line number has no effect.

    Very common in Fanuc and maybe look ahead function is to far
    I put () between Macro lines for this purpose as it just gives the control a think line and slows it down
    This error occurs in Jump statements especially on pallet change machines

Similar Threads

  1. Doubt reading line with arduino.
    By dck in forum Arduino
    Replies: 2
    Last Post: 05-11-2017, 02:28 PM
  2. reading tool number from parameters?
    By landslide1 in forum Fanuc
    Replies: 11
    Last Post: 08-16-2013, 02:33 AM
  3. no line number in comment line in mpos
    By MSFAB in forum Surfcam
    Replies: 5
    Last Post: 02-13-2012, 11:51 PM
  4. omit line number
    By asjad in forum Mastercam
    Replies: 2
    Last Post: 05-10-2007, 12:18 PM
  5. Line Number Range Error
    By gar in forum Haas Mills
    Replies: 2
    Last Post: 05-23-2006, 11:06 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •