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. KUKA 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

pause and resume

  • Robotmei
  • October 13, 2020 at 1:54 PM
  • Thread is Unresolved
  • Robotmei
    Reactions Received
    1
    Trophies
    3
    Posts
    203
    • October 13, 2020 at 1:54 PM
    • #1

    hello,

    KSS V4.1.5

    are there any variables in KUKA with the exact functions of "STOP" and "START FORWARD" buttons on the pendants? I want to hold and resume the programs with two push buttons anytime within the programs running.

    thanks for any help

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • October 13, 2020 at 1:57 PM
    • #2

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Robotmei
    Reactions Received
    1
    Trophies
    3
    Posts
    203
    • October 13, 2020 at 3:05 PM
    • #3

    I want to use these two signals remotely not with KCP. on HMI or on my own operator panel

  • Online
    Fubini
    Reactions Received
    272
    Trophies
    9
    Posts
    1,873
    • October 13, 2020 at 3:15 PM
    • #4

    And how do you hope to handle SPOC? All you can do is use the specified automatic external interface.

    If you do not need to deselect the interpreter you might be able to stop the robot by setting $OV_PRO to zero using a signal and then restart by restoring its value.

    Fubini

  • MOM
    Reactions Received
    175
    Trophies
    7
    Posts
    1,419
    • October 13, 2020 at 3:28 PM
    • #5

    SPOC is only important while running in T1 or T2

    On AUT and EXT this is not an issue

    Reason:

    In T1 and T2 the safety gate may be open and any external action could cause someone gets killed (that is why SPOC)

    In AUT and EXT the safety gate has to be closed (and nobody in) and therefore you only can destroy your tool, part or robot - no personal harm(!?)

    Your boss does not like you anymore if you destroy a prototype part (costs app. 1,000,000.00 $) - at least my former boss would not like me anymore)

    Just think about:

    what are the problems you may run into?

    what are the advantages of doing it in the way you want to do it?

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • October 13, 2020 at 3:38 PM
    • #6
    Quote from Robotmey

    I want to use these two signals remotely not with KCP.

    the answers can be only as good as question asked, you mentioned two buttons and they are available :winking_face:

    if you want to use external signals to pause and resume program you need to be a bit more specific... like what operating mode... and if you have a PLC there... or at least several I/Os.

    for example you could use two inputs to set/reset $OV_PRO... or you could do pretty much anything with EXT mode.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Robotmei
    Reactions Received
    1
    Trophies
    3
    Posts
    203
    • October 14, 2020 at 4:36 PM
    • #7

    I have connected robot to PLC so I want pause and resume robot program in automatic external mode. I can't use $OV_PRO because i have at least 10 programs with different values of $OV_PRO.

    I used $MOVE_ENABLE signal to pause robot motion but it doesn't act like STOP botton on the pendant.

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • October 14, 2020 at 4:52 PM
    • #8

    oh my... i have seen such cases, not fun... in fact i cringe when $OV_PRO is repurposed like that.

    robot program should run fine (just at different speeds) with ANY value of $OV_PRO. only then $OV_PRO can be used as intended.

    in the SPS loop add something like (assuming input 43 is used to request stop)

    Code
    IF ($MODE_OP==#EX) AND $PRO_ACT AND $IN[43] THEN
       Stop_Robot_Program()
    ENDIF

    and here is what the STOP_ROBOT_PROGRAM.SRC should look like:

    Code
    DEF Stop_Robot_Program( )
      DECL STATE_T s
      DECL MODUS_T m
      CWRITE($CMD,s,m,"STOP 1")
      Wait sec 0.1
    END

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Robotmei
    Reactions Received
    1
    Trophies
    3
    Posts
    203
    • October 17, 2020 at 7:49 AM
    • #9

    you mean I must send stop and resume commands by serial channel ?

  • hermann
    Reactions Received
    405
    Trophies
    9
    Posts
    2,596
    • October 17, 2020 at 8:24 AM
    • #10

    Nope, if you look closer to the code you will see that the action is triggered by the input nr. 43.

    This cwrite ($cmd.... is an internal communication channel, where the robot interpreter can communicate to the system kernel.

  • DannyDJ
    Reactions Received
    62
    Trophies
    6
    Posts
    495
    • October 17, 2020 at 12:44 PM
    • #11

    You could also do it with interrupts if you just want to stop and resume the movement of the robot... For example if signal is FALSE the robot stops, if TRUE the robot continues with the program and movement...

  • Robotmei
    Reactions Received
    1
    Trophies
    3
    Posts
    203
    • October 18, 2020 at 11:16 AM
    • #12

    As @panic_mode said i wrote a program in SPS.sub and with $CMD command robot stops with an digital input. It acts exactly like STOP botton on the pendant.

    But RUN in CWRITE Line doesn't act like "START FORWARD" botton on the pendant.

    I am looking for appropriate resume signal.

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • October 18, 2020 at 4:54 PM
    • #13

    You don't want CWRITE for start... That is used to select and and run program from begin when no program is selected.

    But you have have program selected and particularly executed, you just need to continue....

    Which is what external start is for. Just pulse it

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Robotmei
    Reactions Received
    1
    Trophies
    3
    Posts
    203
    • October 21, 2020 at 11:52 AM
    • #14

    Thank you for your help @panic_mode, now in #EXT mode I can pause and resume program.

    Is there Program start signal (like $EXT_START) in #AUT mode for program resume ?

  • hermann
    Reactions Received
    405
    Trophies
    9
    Posts
    2,596
    • October 21, 2020 at 12:29 PM
    • #15

    No. That's what mode ext is used for.

  • SkyeFire
    Reactions Received
    1,044
    Trophies
    12
    Posts
    9,391
    • October 21, 2020 at 4:30 PM
    • #16
    Quote from Robotmey

    Is there Program start signal (like $EXT_START) in #AUT mode for program resume ?

    No. AUT is built on the assumption that you have no external I/O to use for the $EXT_START, $DRIVES_ON, $CONF_MESS, etc, signals. So for AUT mode, it is required to perform all these functions using the teach pendant. AUT mode actually ignores all the Auto-Extern signals, even if you have them configured.

    EXT mode is the opposite -- it ignores any teach pendant actions, and only pays attention to the external signals.

  • Robotmei
    Reactions Received
    1
    Trophies
    3
    Posts
    203
    • October 21, 2020 at 7:01 PM
    • #17

    Well, it is reasonable, thank you

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

  • BRAKE, RESUME, continues path and RESUME point

    • saeid ss
    • August 20, 2020 at 11:36 AM
    • KUKA Robot Forum
  • UR Pause and Play

    • moelsayed
    • September 30, 2020 at 5:15 PM
    • Universal Robots
  • Pausing a program with an input

    • Orange_Will
    • August 2, 2020 at 6:46 PM
    • KUKA Robot Forum
  • KUKA INTERRUPTS

    • rush22
    • May 7, 2019 at 11:59 AM
    • KUKA Robot Forum
  • How to Stop in phase a Fanuc Robot

    • VagosT
    • February 7, 2020 at 7:22 PM
    • Fanuc Robot Forum
  • Fanuc Interrupt

    • Robotmei
    • June 5, 2019 at 9:00 AM
    • Fanuc Robot Forum
  • Pause milling from remote control upgrade

    • Marco
    • April 14, 2017 at 12:44 PM
    • KUKA Robot Forum
  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