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

Interpreter stop on KRC2

  • robot-cnc
  • May 5, 2022 at 11:58 AM
  • Thread is Unresolved
  • robot-cnc
    Reactions Received
    10
    Trophies
    4
    Posts
    414
    • May 5, 2022 at 11:58 AM
    • #1

    Hi

    I have a kuka KR210 -2 KRC2ed 2005, standard, year 2008. It worked find fir 2 years but now while running stop suddenly, like interpreter I decouple and become red.

    After many trials, I observed that keeping in manual T1 switch enabled to keep I green , after a while without moving at all the robot, I decouple, relay is heard , and become red.

    S is green all the time.

    That means could be hardware problem.

    Can someone advise me what could be?

    I suspect KPS 600. Or its relayes.

    Thank you .

  • hermann
    Reactions Received
    405
    Trophies
    9
    Posts
    2,596
    • May 5, 2022 at 12:24 PM
    • #2

    Any messages?

  • robot-cnc
    Reactions Received
    10
    Trophies
    4
    Posts
    414
    • May 5, 2022 at 4:43 PM
    • #3

    programed path reached BCO

    driver contactors offVID-20220505-WA0010.mp4

    VID-20220505-WA0010.mp4

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • May 5, 2022 at 10:30 PM
    • #4

    it is a hardware problem. something in your safety circuit trips and quickly recovers. drives icon goes red and quickly changes back to green but - the damage is done and process is stopped.

    it is interesting to see that it actually changes back to green so quickly suggesting that it was most likely without user intervention. in AUT that is done by pressing drives on button and that - should not be something spontaneous. Perhaps bad KCP (buttons or more likely KCP cable).

    Another thing to keep in mind is that displayed messages are not all messages. there is more...

    And some are removed automatically if problem is cleared. so check the diagnostic logbook for details... there could be something to hint at the root cause.

    it could be many other things....

    but i would first check the KCP. that is easy if you have another robot. if not try to force the problem and see if you can reproduce it. you already said that it happened when robot was not moving. but... was the KCP moving? if the cable is damaged and you pull on it or bend it a bit at the problem spot it should easily reproduce the issue.

    it could be thermal issue too. DSE-RDW tool allows you to monitor temperature of various components.

    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

  • robot-cnc
    Reactions Received
    10
    Trophies
    4
    Posts
    414
    • May 7, 2022 at 6:34 AM
    • #5

    Thank you .

    we ordered a contactor relay LC1D12 from KPS 600/20 that we suspect working unproper. Is the one that feeding with 24v DC drivers after coupling.

    Coupling sounds weird and force when push middle "button" show a hard sliding.

  • robot-cnc
    Reactions Received
    10
    Trophies
    4
    Posts
    414
    • May 13, 2022 at 7:57 PM
    • #6

    KCP has been changed and behaviour is same, therfore is not its fault.

    contactor relay LC1D12 on KPS 600/20 has been changed with new one, same , robot stop.

    Now the error is 1222 Ackn Brake error on E1.

    Cable has been checked especially for E1 brake feeding , there is continuity , no interruption.

    We will check if X 12 on KPS 600/20 provide 24 V when enabling robot moving.

    If KPS 600/20 do not feed on x 12 or does with interruptions, could be a reason for brakes to stop suddenly.

  • robot-cnc
    Reactions Received
    10
    Trophies
    4
    Posts
    414
    • May 20, 2022 at 6:49 AM
    • #7

    Solved. Intermitent contact on one phase feeding the E1 axis driver N7. Loosing the contact , robot were stopping.

  • hassanhp82
    Trophies
    2
    Posts
    13
    • May 24, 2022 at 7:42 AM
    • #8

    Hello

    I want to move axis to a fixed point, but on the way, if the sensor is activated, it will stop moving. I used Arduino and serial port for the sensor. Now I want to use interrupt. when i read sensor status ptp moving stop move.

    flag=true

    Global Interrupt Decl 3 when ch[1]="1" do sub1()

    interrupt on 3

    loop

    CRead(...,...,"%s",ch[])

    if flag=false then endloop

    ptp(a3 130)

    endloop

    DEF sub1()

    Interrupt off 3

    flag=false

    End

    Stop A3 Moving when It see position 1 in the sensor path

  • Fubini
    Reactions Received
    272
    Trophies
    9
    Posts
    1,872
    • May 24, 2022 at 8:09 AM
    • #9

    And this relates to this thread how?

    Use break command and read about advance run and how to break advance run in intertupts. Also looking up resume might be what you want.

    Honestly I have a little bit difficulties understanding your question.

    Do you want to stop the robot when the interrupt is triggered or are you asking why it stops.

    Fubini

  • hassanhp82
    Trophies
    2
    Posts
    13
    • May 24, 2022 at 9:04 AM
    • #10

    Hi Fubini,

    I want stop the robot when the interrupt is triggered

    check variable in CREAD.

    I want to stop the path that is in a command.

    It stands like the water we want to take from the water bowl when we reach the beginning of the water.

  • Fubini
    Reactions Received
    272
    Trophies
    9
    Posts
    1,872
    • May 24, 2022 at 9:28 AM
    • #11

    Then use break and resume and add an advance run stop at the end off the interrupt.

    Can be found many times by searching in the forum with keyword resume, e.g.

    Post

    RE: Interrupt Example

    […]

    So you are saying, that is should just be like this?

    (Code, 6 lines)

    ChristianLiinHansen
    December 30, 2021 at 8:31 PM


    BTW:

    if flag=false then endloop

    is no valid krl code Comparision is "==" and endloop after then is nothing you can do at all whatever you wanted to achieve with this statement.

    Fubini

  • hassanhp82
    Trophies
    2
    Posts
    13
    • May 24, 2022 at 9:47 AM
    • #12

    It doesn't stop dynamic move, i want stop moving in path

  • Fubini
    Reactions Received
    272
    Trophies
    9
    Posts
    1,872
    • May 24, 2022 at 12:26 PM
    • #13

    Sorry I do not understand. Maybe try deepl.com to translate from your native language and try to describe again what exactly you want to achieve.

    Whats dynamic move, whats it, whats stoping in path?

    Do you want to abort/cancel a movement or just halt and continue later on?

    Do you mean the robot is not approximating/blending?

    ...

    Fubini

  • hassanhp82
    Trophies
    2
    Posts
    13
    • May 24, 2022 at 1:23 PM
    • #14

    I want to go from point 1 to point 2. and want Stop on the track if the sensor is seen. Point 1 to point 2 is done with the ptp command.

    Sensors data read with CREAD Command.

    ptp{1----------------------2}

  • Fubini
    Reactions Received
    272
    Trophies
    9
    Posts
    1,872
    • May 24, 2022 at 1:46 PM
    • #15

    Whats your sensor data and why do you need to read it with CREAD? Normal way of triggering an interrupt is using IOs. You could use an input directly or declare a signal to react on. You need to handle concurrency between your sensor data and the robot movement. With inputs or a signal this is easy and should look something like this

    Code
    ...
    Interrupt Decl 3 when $IN[<YOUR INPUT>]== #TRUE do sub1()
    
    interrupt on 
    
    ptp(a3 130)
    ...
    
    
    DEF sub1()
    
    Interrupt off 3
    
    BRAKE
    
    ; do whatever you want after robot stopped current movement
    
    RESUME ; leave out if you do not want to abort current movement
    WAIT FOR TRUE
    
    End
    Display More


    If you really need the CREAD to parse your sensor data I would do the parse in submit and set a flag that triggers the interrupt instead of the input or signal.

    Fubini

  • hassanhp82
    Trophies
    2
    Posts
    13
    • May 24, 2022 at 1:57 PM
    • #16

    Sorry, In and Out is broken :confused_face: and i can't use them :loudly_crying_face: . so i had to use com port to control sensor.

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • May 25, 2022 at 1:35 AM
    • #17

    note, there is a slight mistake in the example, RESUME requires motion to be in a subprogram. motion to be interrupted by RESUME cannot be at the same program level where interrupt is declared. Also at the moment RESUME command is executed, advance run pointer must be in the subprogram and not at level where interrupt is declared.

    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

  • hassanhp82
    Trophies
    2
    Posts
    13
    • May 25, 2022 at 6:01 PM
    • #18

    Ok Panic thanks, But I tell to Fubini my interrupt is software interrupt not Hardware

    i want to stop movement when interrupted.

    my program interrupt checking value of variable from serial port in COM3 . My problem is that it does not stop until it reaches the target and the sensor is seen.

    The PTP {a3 130} command is executed to the end then the Interrupt executed. do you Understand what i want? (maybe sensor seen in 120) But it goes up to 130 and does not stop at 120.

    :loudly_crying_face: :loudly_crying_face: :loudly_crying_face:

    Edited once, last by hassanhp82 (May 25, 2022 at 6:07 PM).

  • panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • May 25, 2022 at 6:42 PM
    • #19

    i don't know what you have there. why not post your code...?

    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

  • Fubini
    Reactions Received
    272
    Trophies
    9
    Posts
    1,872
    • May 25, 2022 at 7:48 PM
    • #20
    Quote from hassanhp82

    But I tell to Fubini my interrupt is software interrupt not Hardware

    i want to stop movement when interrupted.

    Thats why I suggested to create flag that you can set whenever your desired condition is met. You could also set this flag by hand to test using display -> variable -> single if your interrupt is setup correctly. Only after this verification start incorporating the COM evaluation. If your interrupt program is triggered and is containing a BRAKE command the robot definetly will stop.

    Quote from hassanhp82

    Understand what i want? (maybe sensor seen in 120) But it goes up to 130 and does not stop at 120.

    How do you know that? How did you verify that interrupt trigger does not simply come too late. Also robot might have stopped and continued to target position after the interrupt finished because you did not use RESUME in interrupt program to cancel the ptp. I would try to run your movement with a very low velocity and see if it behaves as you expect. Also you could add a HALT at the end of the interrupt to see where robot is when you are at tbe end of the interrupt program. Then you can also use $pos_int to check where interrupt was triggered.

    Fubini

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

  • Trying to edit $machine.dat

    • Wall-E
    • March 15, 2022 at 9:38 AM
    • KUKA Robot Forum
  • AUT EXT with KRC2

    • nc56
    • March 11, 2015 at 5:23 PM
    • KUKA Robot Forum

Tags

  • krc2 ed05
  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