1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Fanuc Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Fanuc Robot Stuck "Busy"

  • Dan Turner
  • December 15, 2024 at 3:40 PM
  • Thread is Unresolved
  • Dan Turner
    Trophies
    2
    Posts
    4
    • December 15, 2024 at 3:40 PM
    • #1

    Hello, I am having a strange issue on a R30iB Plus V9.4 Controller. The controller sporadically gets stuck busy and running, it seems to always be on a motion instruction, it gets to the line in the program and then freezes for an amount of time without moving and then suddenly springs to life.

    I can press HOLD, turn on the teach pendant, even E-Stop the system and the Run and Busy indicators stay illuminated for an amount of time. The teach pendant is not frozen, I can still navigate perfectly fine.

    I have seen the issue both on Roboguide and on the physical system but can't find a pattern of what is causing it or reliable recreate the issue. I have two Ethernet IP connections, a Profinet connection, Proface HMI connection via SNPX and a few BG Logic programs.

    Ethernet IP are both only 2 words IN/OUT, Profinet is 16 Words IN/OUT, SNPX Assignments are 10 string registers, details of 5 current alarms and 200 registers.

    Any ideas would be appreciated :smiling_face:

  • Nation December 15, 2024 at 6:23 PM

    Approved the thread.
  • DylanNOEL
    Reactions Received
    18
    Posts
    82
    • December 16, 2024 at 5:27 PM
    • #2

    Do you have any karel program or any program that start automaticaly ?

    Please don't let me google it for you :winking_face:

  • EnergyAddict
    Reactions Received
    45
    Trophies
    4
    Posts
    133
    • December 16, 2024 at 7:07 PM
    • #3

    Is your Program setup in a loop that it always returns to that motion instruction at the top? (See my example below):

    Code
    :  !Main Loop ;
    :  LBL[1] ;
    :  !Start at Perch ;
    :J PR[1:Perch] 75% FINE    ;
    :  ;
    :  IF (Logic is Satisfied) THEN ;
    :  DO SOMETHING ;
    :  ENDIF ;
    :  ;
    :  !Finish Cycle ;
    :  JMP LBL[1] ;
    :  END ;
    Display More

    I've seen code similar to this where, the If logic isn't satisfied, and the busy lamp acts as you're describing. Simple solution was to throw a small wait statement after LBL[1].

  • Dan Turner
    Trophies
    2
    Posts
    4
    • December 18, 2024 at 11:06 AM
    • #4

    I have BG Logic programs but no Karel programs and no simultaneous programs.

    I do have a main loop but there are no motion instructions in the loop itself, the loop checks load/unload conditions of different stations in the system then calls the required load/unload program.

    I don't know if this helps but as far as I can tell, the issue doesn't happen if the program has been stopped

  • Dan Turner
    Trophies
    2
    Posts
    4
    • December 18, 2024 at 12:42 PM
    • #5

    Just noticed I didn't fully answer the first response, therr is no automatic program starting/stopping, there is one main loop that runs constantly

  • Dan Turner
    Trophies
    2
    Posts
    4
    • December 18, 2024 at 1:43 PM
    • #6

    Update: It seems that adding the wait to the start of the loop has fixed the issue, I had previously tried adding a wait just before the motion instructions that it gets stuck on but that didn't help so I nearly dismissed your suggestion xD

    I guess the controller gets bogged down running though the main loop so quickly when all conditions are false.

    Thank you!

  • HawkME
    Reactions Received
    568
    Trophies
    10
    Posts
    3,268
    • December 19, 2024 at 4:24 AM
    • #7

    There is really no reason to have a continuous running TP program on a robot. That isn't how they are intended to run and makes troubleshooting difficult. Use a wait instruction to wait on a start signal. The start signal can come from a PLC or the robots own BG Logic.

  • hermann
    Reactions Received
    404
    Trophies
    9
    Posts
    2,595
    • December 19, 2024 at 5:52 AM
    • #8
    Quote from HawkME

    There is really no reason to have a continuous running TP program on a robot. That isn't how they are intended to run and makes troubleshooting difficult. Use a wait instruction to wait on a start signal. The start signal can come from a PLC or the robots own BG Logic.

    Almost every main program on every robot I have written in the last 35 years is a continuous running one, after it has been started by a plc or background process, and until it has been stopped by PLC/BG process or safety devices.

    So I am doing it wrong all my programmers life:bawling:.

    On Fanuc and ABB robots one have to have a short wait instruction in a loop with only logic instructions without movements but Kuka Bots don't care about endless loops without wait instruction. Must have something to do with task scheduler of OS.

  • HawkME
    Reactions Received
    568
    Trophies
    10
    Posts
    3,268
    • December 22, 2024 at 7:03 PM
    • #9

    Depends on what we are talking about by continuous running loop. If the robot is continuously moving and doing stuff, that's great. I just don't like having a continuous running loop to check for a start signal. A Wait instruction that waits on the signal instead of time achieves the same thing and you can see which line of code it is waiting on instead of a constant blur.

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download