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

Abort the current program and resume the main

  • Fabdom
  • November 12, 2019 at 10:09 AM
  • Thread is Unresolved
  • Fabdom
    Trophies
    3
    Posts
    10
    • November 12, 2019 at 10:09 AM
    • #1

    Hello again to everyone!

    I have a new question, thanks to all for your help.

    On my Fanuc R-30iB Plus i have a main program that is like an "handshake" that allow to select a program by remote using the shared memory correctly configurated.

    My need is to stop a program when is running, and resume the main handshake by remote using the UOP.

    I have already configurated the UOP with the Flag rack and i have seleceted on system/config:

    - Enable UI signal = True

    - CSTOPI for ABORT = True

    - Abort all program by CSTOPI = True

    and on the setup/prog select:

    - Program select mode: OTHER , DETAIL: $shell_wrk.$cust_name = MAIN

    Now i can from remote start a program, reset fault, hold the robot etc., but i'm not sure what is the way to resume the MAIN program correctly.

    In example, during a movement program when i try to set on CYCLE_STOP and then START flag, sometimes the program start from MAIN, sometimes it continue from the last line in the last movement program.

    Anyone can help me?

    Thank you in advance for all of your advices.

  • HawkME
    Reactions Received
    568
    Trophies
    10
    Posts
    3,268
    • November 12, 2019 at 11:42 AM
    • #2

    You need to use the Prod Start signal UI[18], not start UI[6].

  • Fabdom
    Trophies
    3
    Posts
    10
    • November 12, 2019 at 3:07 PM
    • #3

    Thank you so much!

    So i can just Hold -> Cycle_Stop-> No_Hold -> Prod_Start the robot for stop a program and restart the main.

  • HawkME
    Reactions Received
    568
    Trophies
    10
    Posts
    3,268
    • November 12, 2019 at 9:35 PM
    • #4

    Yes. You shouldn't need the hold. The cycle stop should stop the robot.

  • Fabdom
    Trophies
    3
    Posts
    10
    • November 13, 2019 at 4:59 PM
    • #5
    Quote
    Yes. You shouldn't need the hold. The cycle stop should stop the robot.

    Great it's works fine. Thank you.

    I use it for a sort of "threshold control" for the force of the end-effector along the Z axis.

    Moving forward the end-effector of the robot, when the force is bigger than a threshold i just stop the robot and reset the handshake program.

    Maybe i'm wrong, but is not possible to implement a sort of speed control on the Fanuc right ?

  • HawkME
    Reactions Received
    568
    Trophies
    10
    Posts
    3,268
    • November 14, 2019 at 11:36 AM
    • #6

    There are multiple ways to control speed. The general override is one option.

    Check out this blog post explaining it:

    https://www.onerobotics.com/posts/2019/fou…speed-override/

  • Fabdom
    Trophies
    3
    Posts
    10
    • November 15, 2019 at 9:04 AM
    • #7

    Sorry, maybe i didn't explain well my question.

    For speed control i mean to give to the joints (or to the end-effector cartesian space) of the robots a speed or a position reference for a closed loop control.

    In example, i want to move the robot along a single/multiple axis/axes (or an angle) until my reference (like a distance sensor, force sensor) have a value that i have choice.

  • HawkME
    Reactions Received
    568
    Trophies
    10
    Posts
    3,268
    • November 15, 2019 at 12:38 PM
    • #8

    Can you explain in more detail what you are trying to do?

    To set your speed and position target you just use a linear move command:

    L P[1] 300 mm/s fine.

    Then If you want to stop at an earlier point along that path use the Skip command. To alter speed dynamically follow the advice in my last post.

  • Fabdom
    Trophies
    3
    Posts
    10
    • November 19, 2019 at 8:48 PM
    • #9

    Hi HawkMe, sorry for the delay of the answer.

    I'm trying to implement a force control of the robot.

    In particular i need to limit the force of the end effector while is moving along the Z axis, using a force feedback obtained by a sensor.

    Now my approach is to read the force of the sensor while the end effector move forward, when the force is bigger than a value i send the Cycle Stop Signal, and restart the main program using the Prod start signal.

    Unfortunately the latency beetween the plc and the Fanuc BL logic program (in high priority mode) is too big with the movement speed that i have set.

    i will try to override the speed using:

    Quote

    There are multiple ways to control speed. The general override is one option.

    Check out this blog post explaining it:

    https://www.onerobotics.com/po…uc-robots-speed-override/

    in function of the distance.

    There is another way to do the same thing ?

  • pdl
    Reactions Received
    266
    Trophies
    9
    Posts
    1,506
    • November 19, 2019 at 11:52 PM
    • #10

    If latency is an issue, you're going to want to feed the force control signal directly to the robot as an analog input and use the high speed skip instruction to hold your robot.

  • Fabdom
    Trophies
    3
    Posts
    10
    • November 20, 2019 at 11:32 AM
    • #11

    Hi pdl,

    Quote

    If latency is an issue, you're going to want to feed the force control signal directly to the robot as an analog input and use the high speed skip instruction to hold your robot.

    If i have understand your reply, i have to write the force value directly as an analog input to the robot and use the skip condition inside the Fanuc program.

    Unfortunately i can't plug directly the force sensor to the robot due the architecture choice.

    The skip command can abort a current moving program with an ONLINE check of a DI right ?

    I have reduced the cycle time of the PLC, without using a BL program for the cycle stop but using directly a DI with the skip condition can i have a better performance?

    Are the same the brake time of the robot using the cycle stop and the skip condition at equal mm/s speeds ?

  • pdl
    Reactions Received
    266
    Trophies
    9
    Posts
    1,506
    • November 20, 2019 at 5:41 PM
    • #12

    What type of force sensor are you using? How is it currently connected? What type of PLC do you have?

  • Fabdom
    Trophies
    3
    Posts
    10
    • November 20, 2019 at 6:18 PM
    • #13
    Quote

    What type of force sensor are you using?

    A Force Torque industrial sensor with a frequency conversion equal or more than 1khz.

    Quote

    How is it currently connected?

    Using  EtherCAT Protocol

    Quote

    What type of PLC do you have?

    Beckhoff model with a 1ms Cycle time set.

    If you want more accurately info (about the model) tomorrow i will check the manuals, now are not with me.

  • HawkME
    Reactions Received
    568
    Trophies
    10
    Posts
    3,268
    • November 20, 2019 at 6:58 PM
    • #14

    Use the skip condition with the Digital input. That is exactly the kind of situation it is for.

  • Fabdom
    Trophies
    3
    Posts
    10
    • November 20, 2019 at 7:45 PM
    • #15
    Quote

    Use the skip condition with the Digital input. That is exactly the kind of situation it is for.

    Thank you! I will try this solution.

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

Similar Threads

  • stack overflow error

    • chris051873
    • January 14, 2019 at 4:23 PM
    • Fanuc Robot Forum
  • Motion Interlock FANUC

    • a00948630
    • June 19, 2019 at 7:59 PM
    • Fanuc Robot Forum
  • help with fanuc

    • jonatan
    • September 27, 2018 at 11:53 AM
    • Fanuc Robot Forum

Tags

  • fanuc programming
  • cyclestop
  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