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 should i set tool z height offset ?

  • SYED
  • August 28, 2016 at 9:54 AM
  • Thread is Resolved
  • SYED
    Trophies
    3
    Posts
    1
    • August 28, 2016 at 9:54 AM
    • #1

    Hello ,
    I am New user , we have KUKA krc2 . we already have setting of tool 1,2&3 ! now i want to change the existing tool with new tool or i want to add new tool as tool number 4.
    i have calibrated the tool No. 4 with xyz 4 point . i have used the conic fix part for calibrating the tool xyz4 points , the fix part i have placed on top of the machining block.
    now ! my question is how should i set the z height offset ? the tool length is 100 mm from adapter !
    Please guide me to solve tool offset ,

    SYED-

    Edited once, last by SYED (August 28, 2016 at 10:04 AM).

  • s2007.ravi
    Reactions Received
    14
    Trophies
    4
    Posts
    585
    • August 28, 2016 at 12:29 PM
    • #2

    There are two ways you can use the TOOL and BASE in your program.

    1). Inline Form: If you are using inline forms of the motions in your program, you have to define TOOL and BASE while introducing the motion into your program.

    Code
    ;FOLD PTP STANDBY Vel=60 % PDAT4 Tool[7]:Gripper Base[0];%{PE}%R 8.2.24,%MKUKATPBASIS,%CMOVE,%VPTP,%P 1:PTP, 2:STANDBY, 3:, 5:60, 7:PDAT4
    	$BWDSTART=FALSE
    	PDAT_ACT=PPDAT4
    	FDAT_ACT=FSTANDBY
    	BAS(#PTP_PARAMS,60)
    	PTP XSTANDBY 
    	;ENDFOLD

    In above code, you can see its BASE is zero and TOOL is 7.

    2). You can set TOOL and BASE with an assignment before your motion command if you do not want to use inline form.

    Code
    $BASE = $NULLFRAME
    $TOOL = TOOL_DATA[7]
    
    
    PTP STANDBY

    In both cases, you are always allowed to modify the values of your BASE or TOOL as per your requirement before making an assignment.

    Code
    BASE_DATA[16] = BASE_DATA[1]
    TOOL_DATA[16] = TOOL_DATA[1]
    
    
    BASE_DATA[16].Z = BASE_DATA[16].Z + 50;
    TOOL_DATA[16].Z = TOOL_DATA[16].Z - 50;
    
    
    $BASE = BASE_DATA[16]
    $TOOL = TOOL_DATA[16]
    
    
    PTP STANDBY
    Display More

    In above code, I offset BASE and TOOL by 50 mm and before doing that I kept the original value intact in BASE_DATA[1] so that you can go back to use original value if you want.

    I hope this will help you to understand.

    Thanks

  • panic mode
    Reactions Received
    1,280
    Trophies
    11
    Posts
    13,088
    • August 28, 2016 at 5:44 PM
    • #3

    For test make tool appear 50mm longer so robot will keep the distance from product.
    lookup geometric operator

    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

    Edited once, last by panic mode (August 28, 2016 at 6:37 PM).

  • s2007.ravi
    Reactions Received
    14
    Trophies
    4
    Posts
    585
    • August 28, 2016 at 6:44 PM
    • #4

    As Panic suggested, you can offset your tool by 50 or 100 mm depending on your requirement. Something like

    TOOL_DATA[16].Z = TOOL_DATA[16].Z + 100;

    This will give you ample space to carry out your tests.

    Good Luck :top:

  • Spl
    Reactions Received
    5
    Trophies
    3
    Posts
    178
    • August 28, 2016 at 7:59 PM
    • #5

    TOOL_DATA[16].Z = TOOL_DATA[16].Z + 100;

    That will only work if the tcp's z-axis is parallel to the flange's z-axis. So, I would rather use $TOOL = TOOL_DATA[16]:{x 0, y 0, z 100, a 0, b 0, c 0}. Also, I would rather raise the base instead of offsetting the tcp for testing paths, which can be done like this $base = $base:{x 0, y 0, z 50, a 0, b 0, c 0}

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