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

Deactivating ESM??

  • JM212
  • December 3, 2020 at 11:27 PM
  • Thread is Unresolved
  • JM212
    Reactions Received
    1
    Trophies
    2
    Posts
    43
    • December 3, 2020 at 11:27 PM
    • #1

    Im working on an application with Kuka sunrise 1.16.

    I have a few ESM functions that I activate in one of my applications. I got an error from that application so I tried to jog my Kuka iiwa 7 r800 back to its start position. However, it wouldnt allow me to as the ESM was still triggering - even after deselecting the application. I then go to try and run a different application - that doesnt consist of any ESMs to be activated however it is still triggering a stop of motion in that application which i believe is due to the ESM currently active.

    Is there a way to deactive an ESM in a new application and is it possible to jog the robot without the ESM not being triggered.

  • Online
    panic mode
    Reactions Received
    1,267
    Trophies
    11
    Posts
    13,037
    • December 4, 2020 at 6:03 PM
    • #2

    when using ESMs, there is always one active -the one you activated last... and it does not matter which program selected ESM. once you use ESM, you need to ensure to correct ESM is selected - in EVERY program... because one that selected ESM may have crashed before restoring another ESM selection and controller does not automatically switch back to previous ESM when program ends

    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

  • JM212
    Reactions Received
    1
    Trophies
    2
    Posts
    43
    • December 4, 2020 at 8:03 PM
    • #3

    So pretty much I should make an ESM that is appropriate for jogging and set it in a background application

  • Seulki
    Reactions Received
    8
    Trophies
    3
    Posts
    84
    • December 8, 2020 at 8:41 AM
    • #4

    Hello,

    A simple way to make a function of "deactivating ESM" is making an ESM which has no extra effect of safety such as "Emergency stop Local".

    It is already set on KUKA-PSM, and by changing the ESM state to this one, it will work like there's no additional AMF. -But you will see two errors when Local E-stop is pressed-.

    Switch to KRF when ESM is violated. You will still be able to jog the robot and once the safety is insured, the mode will be automatically switched to T1.

  • JM212
    Reactions Received
    1
    Trophies
    2
    Posts
    43
    • December 9, 2020 at 2:05 AM
    • #5

    Yeah I did something similar I just created a new ESM that I call whenever there is no application running

  • Just Me
    Trophies
    3
    Posts
    11
    • December 9, 2020 at 9:58 AM
    • #6

    Hello JM212,

    I am currently experiencing the same problem as you but I am new to kuka iiwa. I don't know how to retrieve the information of whether a program is running or not to change EMS.

    Can you share your background task code?

    I will be very grateful.

  • Seulki
    Reactions Received
    8
    Trophies
    3
    Posts
    84
    • December 10, 2020 at 4:59 AM
    • #7

    Hello JM,

    I think you can't do it with a one line code from a background task if you're not using Sunrise,StatusController option.

    However you can still make use of other things.

    You could get ITask instance of your Application class.

    Code
    --Your backgroundTask
    
    @Inject
    private ITaskManager taskManager;
    
    run() {
        ITask robotApp = taskManager.getTask(YourApplicationName.class);
        // use try-catch - You will get TaskNotAvailableException if your Application is not running.
    }

    You could also make use of ProccessData as a Flag to see if your Application is running.

    Code
    --Your mainApplication
    
    initialize() {
        getApplicationData().getProcessData( "AppRunningFlag" ).setValue( true );
    }
    
    --Your backgroundTask
    
    run() {
        boolean appRunFlag = getApplicationData().getProcessData( "AppRunningFlag" ).getValue();
    }
    
    --Your RoboticsAPI.data.xml - You need to review related chapter on manual first.
    
      <processDataContainer>
        <processData dataType="java.lang.Boolean" defaultValue="false" displayName="AppRunningFlag" id="AppRunningFlag" value="False"/>
      </processDataContainer>
    Display More

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

  • Safety Configuration Problem

    • emh1812
    • February 26, 2019 at 1:35 PM
    • KUKA LBR IIWA
  • UR Pause and Play

    • moelsayed
    • September 30, 2020 at 5:15 PM
    • Universal Robots
  • COMAU External call of master job

    • Silverstamp
    • March 30, 2020 at 5:07 PM
    • Comau Robots
  • File transfer limit on KRC2

    • yourspk
    • February 13, 2020 at 11:56 AM
    • KUKA Robot Forum
  • Iiwa 7 R800 HRC handguiding

    • Poltoract
    • May 26, 2019 at 6:35 AM
    • KUKA LBR IIWA
  • Deactivating Profisafe for DCS R30i

    • hermann
    • October 26, 2018 at 9:34 AM
    • Fanuc Robot Forum
  • Error at safe input of media flange (Input Enable)

    • amp
    • September 14, 2018 at 11:43 AM
    • KUKA LBR IIWA
  • Autoextern tool and base are lost?

    • knowledgesharing
    • November 9, 2017 at 12:38 PM
    • KUKA Robot Forum
  • Problem with axis motion of KRC4

    • Mansoor Ahmad
    • December 1, 2016 at 8:45 AM
    • 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