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

Resuming program after HOLD

  • edimmy
  • July 18, 2023 at 5:57 PM
  • Thread is Resolved
  • edimmy
    Reactions Received
    1
    Trophies
    1
    Posts
    19
    • July 18, 2023 at 5:57 PM
    • #1

    Hello, I am fairly new to fanuc and would appreciate some help on a hold issue I'm facing.

    I have two SR-6iA robots working near each other and am setting up an 'unsafe zone' so that while one robot is in that zone the other will not enter.

    Currently, I have this program running with my movement program:

    LBL[1]

    IF (DI [3: LISTEN RB2 POS] = OFF AND R [11: YPOS] >= R [4: EXTRA_SAFE]), $MCR_GRP[1].$HOLD = (ON)

    // if robot 2 is in the unsafe position and robot 1 is past the 'extra safe' position, then hold is turned on for robot 1

    IF (DI [3: LISTEN RB2 POS] = ON, $MCR_GRP[1].$HOLD = (OFF)

    // if robot 2 is in a safe position, the hold for robot 1 is turned off

    WAIT .10 (sec)

    JMP LBL [1]

    However, when the hold is turned on it will not turn back off even though the input is going from off to on. Is there any way to fix this or to achieve the same function with a different method?

  • MOM July 18, 2023 at 6:02 PM

    Approved the thread.
  • PnsStarter
    Reactions Received
    95
    Trophies
    6
    Posts
    337
    • July 18, 2023 at 6:25 PM
    • #2

    Hi edimmy

    Why don't you just do it via space function?

    Backdate/TP-Tools: A small collection of tools that simplify the commissioning and programming of Fanuc robots. (github.com)

  • edimmy
    Reactions Received
    1
    Trophies
    1
    Posts
    19
    • July 18, 2023 at 7:09 PM
    • #3

    Thanks for the suggestion. I'm looking into it now, and correct me if I'm wrong but this looks like a method to set up the 'unsafe zone'; would I be able to use this to get one robot to stop while the other is in this zone and then resume working once the robot has left?

  • saberdud
    Reactions Received
    6
    Trophies
    1
    Posts
    46
    • July 18, 2023 at 7:25 PM
    • #4

    Whenever I've done something like this were robots are sharing a space, I use bits from a PLC to control permissions to enter the space. The robots wait for permission, rather than holding the program. This makes it restart as soon as the PLC gives permission to move ahead. I assume you could do this without the PLC, just between the two robots.

    This has worked really well for us when the application doesn't really involve humans in the zone so the worst that can happen is that the robots hit each other. We also had an alarm if both the robots were in the shared zone, that threw a hold the operator would have to reset. This was our failsafe, and we measured it by looking at J1 angles, because of where the shared zone was in relation to everything else.

  • HawkME
    Reactions Received
    570
    Trophies
    11
    Posts
    3,270
    • July 19, 2023 at 2:20 AM
    • #5

    Hold stops your program execution. Once you hold you are done. Instead, you could use wait commands.

    Hold should only be used through UOP control, typically with a PLC.

  • edimmy
    Reactions Received
    1
    Trophies
    1
    Posts
    19
    • July 19, 2023 at 2:21 PM
    • #6

    Thank you everyone for the help, I was trying to practice using the robot positions to communicate as needed but I ended up hard coding lines to wait for inputs from the other robot.

  • I3ooI3oo
    Reactions Received
    5
    Trophies
    3
    Posts
    77
    • July 25, 2023 at 10:29 PM
    • #7

    Personally I have used reference positions with I/O to prevent motion into collision areas. Then check the I/O before moving there. I use 2 outs and 2 In for each area. One is controlled by Ref_pos the other is controlled by the program. The program controlled bits are "Going to location" once the robot is in the area it turns the bit off and allows the ref_pos to handle it.

  • jstolaruk
    Reactions Received
    16
    Trophies
    4
    Posts
    191
    • July 26, 2023 at 12:06 PM
    • #8

    Often, I have 2-5 robots competing for access to a common space. I use a safety PLC along with DCS to only allow one robot at a time access to the common space. A TP program must first request access from the cell PLC and if given, the CPC zone is "enabled" for access. Once done and clear, the TP program releases it. The PLC logic gives access on first-asked-first-allowed.

    This works well to protect the robots from crashing and if a programmer without system knowledge tries to program a robot to access that space without going through the request-release protocol, a DCS CPC zone violation occurs before the robot gets in harms way. And for the programming, a simple wait-on-a-OK-to-access-input is inserted in the routine.

  • pdl
    Reactions Received
    272
    Trophies
    9
    Posts
    1,549
    • July 26, 2023 at 9:33 PM
    • #9

    If you have a safety PLC and DCS it sounds like you should RTFM.

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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Tags

  • Fanuc
  • Program
  • help
  • Programming
  • Beginner
  • Hold
  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