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

KUKA Robot: Drives not turning on in certain cases of EXT Mode operation after user safety is turned Off and then ON

  • mihird
  • December 13, 2024 at 1:08 PM
  • Thread is Resolved
  • mihird
    Reactions Received
    1
    Posts
    3
    • December 13, 2024 at 1:08 PM
    • #1

    Hi,

    I am working with a KUKA KRC5 controller communicating via PROFINET with a SIEMENS PLC with Profisafe enabled. I have Safety hardware programmed in my PLC logic which is connected to the Profisafe tag of the robots. I have no problems in communicating and controlling the robot in safe mode.

    I am running into a random issue. When a subprogram is running and the Operator Safety is disabled (by opening Safety Door Lock) the robot pauses at it should. But after re-enabling Operator Safety. In some cases, the robot continues its program from where it had paused after Confrim Message signal is passed onto the robot. There are no issues. But at some specific points in certain subprograms, the robot doesn't resume operation after re-enabling safety since the Drives don't turn on. In that case, after Confirm Message, Robot has Control Ready active but Peri_RDY is not active and drives of robot are not on. In these cases the program on robot is stuck in error mode.

    I have been unable to find a pattern or reason why it happens for some parts of a program and not for others. My safety integration has no other issues and without operator safety being disabled in Aut_EXT mode, the robot runs very smoothly with no errors.

    Can someone please help with this?

  • massula December 13, 2024 at 1:14 PM

    Approved the thread.
  • massula December 13, 2024 at 1:15 PM

    Moved the thread from forum General Discussion of Industrial Robots Only to forum KUKA Robot Forum.
  • panic mode
    Reactions Received
    1,296
    Trophies
    11
    Posts
    13,136
    • December 13, 2024 at 2:10 PM
    • #2
    Quote from mihird

    When a subprogram is running and the Operator Safety is disabled (by opening Safety Door Lock) the robot pauses at it should.

    Operator safety is tripped and will need to be acknowledged later on before process can resume

    Quote from mihird

    But at some specific points in certain subprograms, the robot doesn't resume operation after re-enabling safety since the Drives don't turn on.

    robot cannot move unless drives are on. in EXT mode robot is controlled by PLC. so it is the job of PLC to check if the drives are on or not. and it is PLCs job to turn them on... this has nothing to do with robot programs/subprograms. it does not matter if some robot program is selected or not. turning on drives is completely independent of robot interpreter state.

    Quote from mihird

    after Confirm Message, Robot has Control Ready active but Peri_RDY is not active and drives of robot are not on.

    PLC has to turn on Move Enable, and Drives Off signals... and then pulse on Drives On signal. and if needed pulse it again until drives are on... because Drives On input is edge sensitive. this means it responds to transition and not level of the signal. and this means that to see rising edge, Drives On first must be off...and not just off but off long enough so that robot sees that signal is low... KUKA used to state somewhere that this need to be at least 20ms. but even that may be too short. fieldbus alone may have RPI of some 10-20ms. then you have interpolation time of Submit that is 12ms... and PLC has scan time that may be 10-50ms... and all of those delays add up... so PLC programmers need to be aware of those things... i usually make it 50-100ms. because if PLC does not keep Drives On signal low long enough, robot may not see the rising edge... then you are stuck...

    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

  • mihird
    Reactions Received
    1
    Posts
    3
    • December 13, 2024 at 2:25 PM
    • #3

    This makes sense. I have to add a pulse logic to the Drives ON command. Maybe it is the difference in scan times of the robot controller and PLC that the edge is not getting detected as it should be. As for the Operator Safety Acknowledged point, I have not needed to do the same yet. It works automatically for me. But I will try it nonetheless.

    Thank you. I will try this.

  • mihird
    Reactions Received
    1
    Posts
    3
    • December 13, 2024 at 2:52 PM
    • #4

    panic mode The pulse idea worked like a charm. I used a TON delay to turn on Drives ON after Drives OFF.

    I increased the delay for turning Drives ON to 200 ms just to be safe. After confirmation of Operator Safety.

    Now in any situation with a Confirm Message enable the robot resumes the program.

    Thank you for the solution. Hadn't realized that the positive edge detection could've been the issue.

  • panic mode
    Reactions Received
    1,296
    Trophies
    11
    Posts
    13,136
    • December 13, 2024 at 3:14 PM
    • #5

    i know...

    Post

    Re: Understanding cell.src

    Hello,

    There are three types of PGNO, all are well docummented.

    For few programs type 3 may be simpler (specially if using wired signals between PLC and KRC). Note that control sequence is a bit different though...

    things to watch for is signal type - Some signals are EDGE-SENSITIVE, while others are LEVEL-SENSITIVE. this is a very important distinction. edge sensitive signals in this case are rising-edge sensitive. this means that if the signal is already true (or is not low long enough) edge may…
    panic mode
    May 18, 2018 at 5:53 PM

    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

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