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

Error KSS29002 - Object Stop returns error RSIBad - pops up sometimes

  • ManMan88
  • January 25, 2020 at 1:32 PM
  • Thread is Unresolved
  • ManMan88
    Reactions Received
    1
    Trophies
    3
    Posts
    28
    • January 25, 2020 at 1:32 PM
    • #1

    Hi everyone,

    We're using a kr10 r1100-2, with KRC4 Compact, KSS 8.5.8 and RSI 4.0.9.

    Our system works with auto_ext, where the main computer controls which krl programs runs each time.

    One of the programs, allows to choose which rsi file to load and then enters the RSI_MOVECORR mode.

    The rsi diagram contains a stop block which command to exit the RSI_MOVECORR mode. This stop block is triggered from a channel in the Ethernet block.

    Usually, everything works perfectly fine. But once in a while (could be several hours), the following error appears:

    Error KSS29002 - Object Stop_1 returns error RSIBad (Stop_1 is the stop object I was talking about).

    It does happen at the same krl line every time, but as I said, it just happens sometimes with no appearing reason.

    The code looks like the following:

    Code
    Switch $SEN_PINT[4]
             Case 0 ; relative cartesian
                ; Create RSI Context 
                GLOB_RSI_RET = RSI_CREATE(RSI_TOOL_CART_FILE_NAME[],GLOB_CONTID,TRUE)
                IF (GLOB_RSI_RET <> RSIOK) THEN
                  HALT
                ENDIF
                
                ; Start RSI execution
                GLOB_RSI_RET = RSI_ON(#RELATIVE)
                IF (GLOB_RSI_RET <> RSIOK) THEN
                  HALT
                ENDIF
             Case 1 ; relative joint
                ; Create RSI Context 
                GLOB_RSI_RET = RSI_CREATE(RSI_JOINT_FILE_NAME[],GLOB_CONTID,TRUE)
                IF (GLOB_RSI_RET <> RSIOK) THEN
                  HALT
                ENDIF
                
                ; Start RSI execution
                GLOB_RSI_RET = RSI_ON(#RELATIVE)
                IF (GLOB_RSI_RET <> RSIOK) THEN
                  HALT
                ENDIF
             Case 2 ; absolute cartesian
                ; Create RSI Context 
                GLOB_RSI_RET = RSI_CREATE(RSI_BASE_CART_FILE_NAME[],GLOB_CONTID,TRUE)
                IF (GLOB_RSI_RET <> RSIOK) THEN
                  HALT
                ENDIF
                
                ; Start RSI execution
                GLOB_RSI_RET = RSI_ON(#ABSOLUTE)
                IF (GLOB_RSI_RET <> RSIOK) THEN
                  HALT
                ENDIF
             Case 3 ; absolute joint
                ; Create RSI Context 
                GLOB_RSI_RET = RSI_CREATE(RSI_JOINT_FILE_NAME[],GLOB_CONTID,TRUE)
                IF (GLOB_RSI_RET <> RSIOK) THEN
                  HALT
                ENDIF
                
                ; Start RSI execution
                GLOB_RSI_RET = RSI_ON(#ABSOLUTE)
                IF (GLOB_RSI_RET <> RSIOK) THEN
                  HALT
                ENDIF
             Default
                ; Create RSI Context 
                GLOB_RSI_RET = RSI_CREATE(RSI_TOOL_CART_FILE_NAME[],GLOB_CONTID,TRUE)
                IF (GLOB_RSI_RET <> RSIOK) THEN
                  HALT
                ENDIF
                
                ; Start RSI execution
                GLOB_RSI_RET = RSI_ON(#RELATIVE)
                IF (GLOB_RSI_RET <> RSIOK) THEN
                  HALT
                ENDIF
          EndSwitch
    
          TRIGGER WHEN DISTANCE=1 DELAY=0 DO $SEN_PINT[1] = 1
          TRIGGER WHEN DISTANCE=1 DELAY=0 DO $SEN_PINT[2] = 1
          LIN_REL {X 0}
          RSI_MOVECORR()
    Display More

    The error is pointing on the LIN_REL {X 0} line.

    The reason I'm using

    Code
    TRIGGER WHEN DISTANCE=1 DELAY=0 DO $SEN_PINT[1] = 1      
    TRIGGER WHEN DISTANCE=1 DELAY=0 DO $SEN_PINT[2] = 1      
    LIN_REL {X 0}

    and not just:

    Code
    $SEN_PINT[1] = 1
    $SEN_PINT[2] = 1

    Is because the second one is not working well, and I found the first one to work well.

    What does the RSIBad means? That the stop object expects a boolean value and gets a different value?

    I can't understand why it only happens once in a while when working repetitively executing the exact same programs.

    I would appreciate any help.

    Thanks!

  • Online
    SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,423
    • January 27, 2020 at 3:56 PM
    • #2

    According to the manual, 29002 indicates an error in the RSI object, that it has not been configured properly. So the actual RSIVisual project is the first place to look.

    The other thing to do would be to add an RSIMonitor object to the RSI project, linked to the various input states to the Stop object, and compare a trace when the error occurs to a "normal" trace. If the error is intermittent, then there almost has to be some unique condition causing the Stop object to fail this way. A trace should make it visible.

  • ManMan88
    Reactions Received
    1
    Trophies
    3
    Posts
    28
    • March 1, 2020 at 4:19 PM
    • #3

    Thanks SkyeFire.

    I found the source of the error today.

    This error is triggered in case a 'Stop' rsi block with mode: 'ExitMoveCorr' is triggered while the robot is not in RSI_MOVECORR mode.

  • ruiming hu
    Trophies
    2
    Posts
    15
    • June 4, 2021 at 2:54 PM
    • #4
    Quote from ManMan88

    感谢 SkyeFire。

    我今天找到了错误的根源。

    如果在机器人未处于 RSI_MOVECORR 模式时触发了具有模式的 'Stop' rsi 块:'ExitMoveCorr',则会触发此错误。

    Hey, I meet the same problem. Could you tell me how to fix it in detail?

  • zhaojing
    Trophies
    1
    Posts
    10
    • December 21, 2023 at 8:20 AM
    • #5

    Hey, I meet the same problem. Could you tell me how to fix it in detail?

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

  • RSI
  • error
  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