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

Skip condition on force system variable not triggering fast enough

  • goTVm
  • June 30, 2023 at 1:51 PM
  • Thread is Unresolved
  • goTVm
    Trophies
    1
    Posts
    3
    • June 30, 2023 at 1:51 PM
    • #1

    I'm trying to make a program that behaves similarly to the collaborative Touch-skip function. So far I've set up a skip condition that should stop the movement as soon as the part is recognized (as soon as the force sensor detects a Z force higher than 5N), but from all the runs I've done the robot stops way further down, when the force reaches as high as 80N, triggering the Contact force limit error and Push to Escape.

    The code is as follows:

    Code
    SKIP CONDITION $DCSS_CLLB[1].$EXT_FORCE[3] >= 5 
    L P[1] 100mm/sec FINE Skip,LBL[1]

    If I try to stop the robot with my hand, as soon as the force goes above 5.1 it detects it. If I place the part where it should be, the robot no longer stops and keeps going until it eventually collides.

    Am I doing something wrong? Is there something that I can change or must add to the motion instruction to make it stop earlier?

    Is there a way to set a maximum force for the motion instruction, so it doesn't try to mash the part into the table?

  • Lemster68 June 30, 2023 at 2:25 PM

    Approved the thread.
  • PnsStarter
    Reactions Received
    92
    Trophies
    6
    Posts
    329
    • June 30, 2023 at 2:44 PM
    • #2

    Hi goTVm,

    Use HIGH-SPEED SKIP:

    note the (extra) , PR[5]=LPOS instruction. --> HIGH-SPEED SKIP

    11: L P[1] 100mm/sec FINE Skip,LBL[1], PR[5]=LPOS


    $DCSS_CLLB[1].$EXT_FORCE[3]

    Is this var really Z-force or maybe Axis 3? . I don't know :frowning_face:

    Quote from goTVm

    Is there a way to set a maximum force for the motion instruction, so it doesn't try to mash the part into the table?

    At yellow robots use COLLISION GUARD

    • COL DETECT ON, COL DETECT OFF

    • COL GUARD ADJUST

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

  • goTVm
    Trophies
    1
    Posts
    3
    • June 30, 2023 at 2:53 PM
    • #3
    Quote from PnsStarter

    $DCSS_CLLB[1].$EXT_FORCE[3]

    Is this var really Z-force or maybe Axis 3? . I don't know :frowning_face:

    From what I know it is. It would make sense for it to be, since it rises as soon as it comes into contact with anything from above.

    Quote from PnsStarter

    Use HIGH-SPEED SKIP:

    note the (extra) , PR[5]=LPOS instruction. --> HIGH-SPEED SKIP

    11: L P[1] 100mm/sec FINE Skip,LBL[1], PR[5]=LPOS

    I put 100mm/sec as the speed, but I've tried with speeds as low as 10mm/sec and it still collides. Also, I don't really need to know where the robot is when it stops, do I need to save the position as a PR? Would that help avoid collisions?

    The robot I'm working on is not yellow, and as far as I know it does not have collision guard installed.

  • Online
    SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,423
    • June 30, 2023 at 3:45 PM
    • #4
    Quote from goTVm

    The robot I'm working on is not yellow

    That... doesn't narrow things down. It would be helpful to know the actual model of your robot.

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • June 30, 2023 at 3:56 PM
    • #5

    The skip with PR is a faster stop method whether you need the position or not. It's worth trying.

  • BD_710
    Reactions Received
    1
    Trophies
    1
    Posts
    4
    • April 26, 2024 at 3:07 PM
    • #6
    Quote from PnsStarter

    Hi goTVm,

    Use HIGH-SPEED SKIP:

    note the (extra) , PR[5]=LPOS instruction. --> HIGH-SPEED SKIP

    11: L P[1] 100mm/sec FINE Skip,LBL[1], PR[5]=LPOS


    $DCSS_CLLB[1].$EXT_FORCE[3]

    Is this var really Z-force or maybe Axis 3? . I don't know :frowning_face:

    At yellow robots use COLLISION GUARD

    • COL DETECT ON, COL DETECT OFF

    • COL GUARD ADJUST

    Display More

    Hello, im happy i found this thread because im having the same issue kind of.
    In my case the aplication is about placing one box in top of another but the height variates, so im trying to use the skip method as well but im having colision quite often. the robot im using is a colaborative fanuc crx 25ia

    I haven´t tried yet adding PR[5]=LPOS, the question is if i have to add a move l to the PR after de line "11: L P[1] 100mm/sec FINE Skip,LBL[1], PR[5]=LPOS"? like:

    11: L P[1] 100mm/sec FINE Skip,LBL[1], PR[5]=LPOS
    12: L PR[5] 100mm/sec FINE.

    In my case, beacuse of the cycle time i have to fulfill, the robot is in high speed mode . how those the col guard works, its like deativate when im placing and activating after? what is the way to implement it?

    Edited 2 times, last by BD_710 (April 26, 2024 at 7:48 PM).

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • April 26, 2024 at 7:52 PM
    • #7

    It would do no good to move to PR[5] because you would literally already be there.


    You want to use an offset with PR[5].

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

Tags

  • force
  • CRX
  • Skip Condition
  • skip
  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