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. Cobot Help and Discussion Center
  4. KUKA LBR IIWA
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

Problem with HRC safety configuration in Sunrise Workbench for manual guidance of KUKA IIWA 7 R800 robot.

  • empowered
  • July 22, 2022 at 9:05 AM
  • Thread is Unresolved
  • empowered
    Trophies
    1
    Posts
    2
    • July 22, 2022 at 9:05 AM
    • #1

    Hello,

    I'm trying to write a manual guidance program for KUKA IIWA 7 R800 robot in Sunrise Workbench and I have some issues. The manual guidance mode is working, I can guide the robotic arm by hand, but I can't quit the manual guidance mode. Even when I stop pressing the button that is responsible for it the robot just stops but I can press it again and the manual guidance mode is back on. We are still in ESM2 state and I am getting an error that is prohibiting me from making any movement using KUKA HMI. The program stays in ESM2 state even tho that it should go to ESM1 state as you will see in the code below.

    I came to a conclussion that there is a problem with ESM states configuration. I think that I don't have the AMF available that is responsible for manual guidance mode. I also don't have HRC in installed software in StationSetup. I don't know if this is the case, because I am doing it for the first time and I am not sure if I am programming it the right way. I will attach screenshots and code below.

    I will be really greatfull for your help!

    Code
    @Override
        public void run() {        
            motion = handGuiding().setAxisLimitsMax(Math.toRadians(150), Math.toRadians(100),Math.toRadians(150),Math.toRadians(100),
                    Math.toRadians(150),Math.toRadians(110),Math.toRadians(155))
                    .setAxisLimitsMin(Math.toRadians(-150), Math.toRadians(-100),Math.toRadians(-150),Math.toRadians(-100),
                    Math.toRadians(-150),Math.toRadians(-100),Math.toRadians(-155))
                    .setAxisLimitsEnabled(true,true,true,true,true,true,true)
                    .setAxisLimitViolationFreezesAll(true)
                    .setPermanentPullOnViolationAtStart(true);
    
            gripper.attachTo(robot.getFlange());
            gripper.moveAsync(ptpHome());
            robot.setESMState("1");
            gripper.move(ptp(getApplicationData().getFrame("/BazaStol/P0_b/PositionHG")));
            getLogger().info("Move in manual guidance");
            robot.setESMState("2");
            gripper.move(motion);
            getLogger().info("End of manual guidance");
            robot.setESMState("1");
            gripper.move(ptp(getApplicationData().getFrame("/BazaStol/P0_b/PositionHG")));
        }
    Display More

    Files

    jpg2pdf.pdf 660.11 kB – 12 Downloads
  • mabot
    Trophies
    2
    Posts
    17
    • July 22, 2022 at 5:55 PM
    • #2

    I think you can have a look at this thread.

    Thread

    Enabling hand-guiding on the KUKA iiwa without the hand-guiding flange.

    I'm trying to use hand-guiding on a KUKA iiwa R820 with the "Medien-Flansch IO pneumatisch" installed like a few other posts today. Ive read those posts but am having some difficulties in setting up.

    I will connect an enabling switch Input CIB_SR.5 on the X11 to enable hand-guiding and then call "robot.move(handGuiding());" to enable the hand guiding mode. I have imported "import static com.kuka.roboticsAPI.motionModel.MMCMotions.*;" into my code. Is this method correct and is there further code…
    EdChamberlain
    February 10, 2017 at 4:30 PM

    Basically "Hand guiding device enabling active" and "Hand guiding device enabling inactive" is available with only HRC.

    Best and quick way is to ask Kuka customer servie and purchase the HRC option.

    There would be various way to achieve your application.

    Instead of using ESM and buttons you can try to read external torque of certain axis to stop hand guiding mode, etc..

  • empowered
    Trophies
    1
    Posts
    2
    • August 16, 2022 at 10:53 AM
    • #3

    Unfortunately I have contacted KUKA already and I got all the packages and the problem still occures.

    I still don't see any package named HRC in StationSetup.cat even tho I've added it through Help --> Install new software.

  • mabot
    Trophies
    2
    Posts
    17
    • August 25, 2022 at 9:14 AM
    • #4

    Hello empowered

    I see your situation.

    Possible options to take might be

    ・Create new project from the beginning

    ・Re-install sunrise workbench and its options

    Sunrise Workbench sometimes face to a bug with its ".git" systems.

    Have you tried re-install from the beginning? if you dont have lists in the below picture, then installation might be failed.

    You should tell about it to your local KUKA CS.

    Best

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

  • KUKA
  • iiwa
  • Sunrise.Workbench
  • iiwa7
  • manual guidance
  • safety configuration
  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