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

Move to Home Pos in Ext mode

  • Stampy
  • March 6, 2021 at 12:26 PM
  • Thread is Unresolved
  • Stampy
    Trophies
    2
    Posts
    15
    • March 6, 2021 at 12:26 PM
    • #1

    Hi,

    I have a KRC4 running 8.5.8 and have set up external mode to be controlled via PLC.

    I have tested all of the External IO signals required and everything works correctly with regards the calling of the program and program starting, etc.

    However for all of my testing I have been selecting T1 mode selecting cell.src, performing BCO, then selecting Ext mode and program starts.....

    I would like to not have to perform the selecting of T1 and manually running cell& BCO. I would like to have all of this handled automatically. I have powered down the controller and restarted in Ext mode and the cell.src program opens on the smartpad but stops on the line "CHECK HOME". A fault message then appears stating "move to home position in T1 mode"

    From reading the documentation and other posts I had assumed once the system booted up in ext mode, a BCO run would not be required.

    Is there something that I have missed that needs to be modified to achieve this?

    Thankyou

  • Stampy
    Trophies
    2
    Posts
    15
    • March 6, 2021 at 3:06 PM
    • #2

    As a test, commenting out the IF statement within this "CHECK HOME" section seems to have allowed the auto home PNP move to complete and the robot to start as I intend. However I am unsure whether this the correct procedure.

    Another issue that is present, is that on initial power up or after a safety stop the PERI_RDY signal does not go high after a DRIVES_ON pulse from the PLC. If I go into T1 mode and enable the drives via the SP, then back in Auto Ext mode everything works fine.

    While running the running program I can stop the program via a CWRITE Stop then cancel command and restart it via a it CWRITE Run cell() command and it stops and restarts no problem because the drives do not turn off. See some images of my External IO status while pulsing the DRIVES_ON signal and PERI_RDY not turning on.Drives_ON.docx

    Edited once, last by Stampy (March 6, 2021 at 3:24 PM).

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,041
    • March 6, 2021 at 5:06 PM
    • #3

    you need to refer to manual...

    timing diagrams show what need to happen before next transition can take place. before pulsing $DRIVES_ON, signals $DRIVES_OFF and $MOVE_ENABLE need to be on.

    there is no reason to comment out that IF statement. it is enough to simply toggle variable called CHECK_HOME

    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

  • Koppel
    Reactions Received
    19
    Trophies
    3
    Posts
    132
    • December 21, 2022 at 10:09 AM
    • #4

    If the CELL.SRC requires the robot to be HOME then I cannot use the CELL.SRC to run a program to safely take me to home.

    If I just change the variable CHECK_HOME = FALSE ... no evaluation is done and the robot will accelerate directly to home with 100% velocity.

    Is it advisable then to get rid of both the

    ;FOLD CHECK HOME

    ;FOLD PTP HOME

    So that the CELL.SRC will start running the CASE loops.
    Then I can use my PLC logic to check if the robot is not Home I can run the "BringMeHomeSafely()" program.

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,041
    • December 21, 2022 at 2:03 PM
    • #5

    Yes, you are correct...

    You can remove them and add call to own hone recovery routine.

    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

  • hermann
    Reactions Received
    405
    Trophies
    9
    Posts
    2,597
    • December 21, 2022 at 2:28 PM
    • #6

    As panic mode already said, you can do it, but doing it:

    Quote from Koppel

    Then I can use my PLC logic to check if the robot is not Home I can run the "BringMeHomeSafely()" program.

    is a bad Idea. At least without doing some more check in the other routines called by cell.src.

    Robot program is responsible for not creating a crash. So robot has to move to home before doing something else, he has not to wait for any job and 'hope' that PLC will call the homing routine if he is not in home. Have seen some cells that acted like that and have been crashed.

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,041
    • December 21, 2022 at 2:37 PM
    • #7

    that is true. and it is not just robot movements that need to be considered but also state of tooling. if the robot is using gripper to hold something that is also clamped by something else for example (CNC chuck or whatever). so creating own home recovery can be tricky and require a lot of attention to detail.

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

  • Interrupt and Resume Program Control

    • macraesk
    • October 27, 2020 at 8:33 PM
    • KUKA Robot Forum
  • How to reset the running program automatically in Ext through PLC?

    • sky12138
    • March 13, 2018 at 3:10 AM
    • KUKA Robot Forum
  • Change battery and reset 6 axis for Panasonic

    • Fukuoka
    • December 3, 2019 at 1:54 AM
    • Panasonic Robots
  • Miller/Panasonic Performarc: increase size of ClrWork safety cube

    • MartyScriven
    • March 5, 2021 at 6:03 AM
    • Panasonic Robots
  • Safely withdraw the robot to a HOME position if the power drops

    • mihnea0071
    • January 24, 2021 at 1:13 PM
    • KUKA Robot Forum
  • Kuka Resume Program after Estop

    • macraesk
    • October 8, 2020 at 9:22 PM
    • KUKA Robot Forum
  • Writing Homeout Routine using an Interrupt

    • swr98
    • March 4, 2020 at 9:28 PM
    • KUKA Robot Forum
  • Fanuc robot not working in Auto mode.

    • Atinder Singh
    • January 24, 2018 at 3:42 PM
    • Fanuc Robot Forum
  • Check home

    • MetsaToll
    • April 7, 2017 at 9:19 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