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

How to setup an automatic tool height adjustment system ?

  • Wall-E
  • November 5, 2021 at 3:39 PM
  • Thread is Unresolved
  • Wall-E
    Reactions Received
    3
    Trophies
    3
    Posts
    245
    • November 5, 2021 at 3:39 PM
    • #1

    I'd like to set up an automatic tool height adjustment system, as in this video :

    External Content youtu.be
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    That would be on a KRC4 system ; Robot : KR210 r3100.

    I plan to do mostly milling and my spindle has an automatic tool changer too, so even though my tools will be preset, I'd like to have a systematic re-adjustment performed at each tool change.

    Advice, someone ?

  • Go to Best Answer
  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,026
    • November 5, 2021 at 4:21 PM
    • #2

    there are ready products for this or if DIY it is a simple interrupt based search. this was covered zillion times already

    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

  • Dzonzi
    Reactions Received
    10
    Trophies
    3
    Posts
    221
    • November 5, 2021 at 11:56 PM
    • #3

    Buy this https://vmt-vision-technology.com/765/en/automotive/vmt-toolbox-3d

  • Wall-E
    Reactions Received
    3
    Trophies
    3
    Posts
    245
    • November 7, 2021 at 3:11 PM
    • #4

    Thanks for the link, but I'm not looking for a fancy 3d optic scanning tool.

    Just a basic tool tip contact.

  • Wall-E
    Reactions Received
    3
    Trophies
    3
    Posts
    245
    • November 7, 2021 at 3:17 PM
    • #5

    Hi Panic,

    I must be a very bad keyword search guy, or the search engine sucks, I don't know...

    Would you mind pointing me towards one of those zillion posts ?

  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,026
    • November 7, 2021 at 4:15 PM
    • #6

    if you click on top link that takes you do manuals section, top post in there is an interrupt example

    Interrupt Example

    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

  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,026
    • November 7, 2021 at 5:29 PM
    • #7

    or something like this:

    ISR_Search_And_Stop.SRC

    Code
    DEF ISR_Search_And_Stop( )
    
    BAS(#INITMOV,0)  ; INI 
    BAS(#TOOL, 1)    ; set tool 1
    BAS(#BASE, 0)    ; set base as WORLD
    
    ; move to initial position
    BAS(#VEL_PTP,50)  ; 50%
    BAS(#ACC_PTP,100) ; 100%
    PTP $AXIS_ACT   ; do a BCO (exteral axes too!)
    PTP {A1 0, A2 -90, A3 90, A4 0, A5 90, A6 0} 
    
    ; first - setup search
    INTERRUPT DECL 10 WHEN MySensor==TRUE DO Found_It()
    FoundPos = {X 0} ; clear search result
    WAIT FOR MySensor==FALSE ; make sure sensor is off
    
    ; then - perform search
    INTERRUPT ON 10
    Search()
    INTERRUPT OFF 10
    
    ; then - display results
    WAIT SEC 0 ; stop advance run pointer
    IF VarState("FoundPos.Z")==#INITIALIZED THEN
      MsgNotify("Found at Z= %1 mm",,FoundPos.Z)
    ELSE
      MsgNotify("Not Found")
    ENDIF
    
    END
    
    DEF Search()
        ; for search use slow LIN motion 
      BAS(#VEL_CP,0.1) ; 0.1 m/s
      BAS(#ACC_CP,100) ; 100%
      LIN_REL {Z -200} ; move down - max 200mm
      WAIT SEC 0 ; stop advance run pointer
    END
    
    DEF Found_It()
      BRAKE  ; stop search motion
      FoundPos=$POS_INT ; save everything, not jut Z
      RESUME ; abort SEARCH() and resume main program
    END
    Display More


    ISR_Search_And_Stop.DAT

    Code
    DEFDAT  ISR_Search_And_Stop PUBLIC
    SIGNAL MySensor $IN[666] ; adapt as needed
    DECL POS FoundPos={X 0}
    ENDDAT

    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

  • Wall-E
    Reactions Received
    3
    Trophies
    3
    Posts
    245
    • November 9, 2021 at 9:34 AM
    • #8

    Great ! I'm looking around for hardware and found this :

    https://www.amazon.fr/Capteur-automa…005&sr=8-2&th=1

    It looks like there is two versions :

    -"Normally open"

    -"Normally closed"

    I guess that it will just either continuously be at "0" state or at "1" state until it is touched by the tool, and then it switches.

    But what's the advantage of one over the other ?

    Also, I see it has some kind of blower to clean the tool. I suppose it can be activated through the robot controller with an output and a solenoid valve...

    Edited once, last by Wall-E (November 9, 2021 at 11:14 AM).

  • Mentat
    Reactions Received
    61
    Trophies
    5
    Posts
    243
    • November 10, 2021 at 1:26 PM
    • Best Answer
    • #9
    Quote from Wall-E

    But what's the advantage of one over the other ?

    Safety - when it inevitably breaks and always returns 0. The one that normally is at 0 won't seem any different from when it wasn't broken.

  • Online
    SkyeFire
    Reactions Received
    1,037
    Trophies
    12
    Posts
    9,369
    • November 11, 2021 at 12:26 AM
    • #10
    Quote from Wall-E

    But what's the advantage of one over the other ?

    Quote from Mentat

    Safety - when it inevitably breaks and always returns 0. The one that normally is at 0 won't seem any different from when it wasn't broken.

    As Mentat said. Imagine what would happen if someone unplugged the sensor, or just tripped over the cable and damaged it, or it just wore out. You want to pick your components such that, if a typical failure happens, you can see some indication of the issue before the robot hits something.

  • Wall-E
    Reactions Received
    3
    Trophies
    3
    Posts
    245
    • November 15, 2021 at 4:53 PM
    • #11

    OK, so the "Always closed" is to one to go for.

    Thanks fellows.

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