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

Changing bases with a turn table

  • iiQKA
  • December 22, 2022 at 5:08 PM
  • Thread is Unresolved
  • iiQKA
    Trophies
    2
    Posts
    31
    • December 22, 2022 at 5:08 PM
    • #1

    Hi All,

    Robot: KR 120 R2700 extra HA

    KSS: V8.3.29

    Turntable: KP1-V500-1000

    I'm working with a robot setup with a turn table and I have to switch tools during the KRL, I initialise using base 1, which is set to 0,0,0,0,0,0 which is on the top centre of the turntable.

    The integrator setup the tool change for different sawblades on the spindle, my code works well until I load the subroutine, where it successfully picks the new blade using BASE 2, once the subroutine is completed in my parent KRL I have used several KRL codes (see below) to switch back to BASE 1.

    Seems to be one of two things happen, either it doesn't accept the command and the active base remains set to BASE 2 or BASE 1 is selected, and shown on the smart pad, but it loses the turn table and is using the robot root coordinate system?

    Code attempted immediately after leaving the subroutine was:

    Code
    BAS (#BASE, 1)
    $BASE = BASE_DATA[1]
    FDAT_ACT = {TOOL_NO 2,BASE_NO 1,IPO_FRAME #BASE}

    None worked in the way I expected. Reset the program, and base 1 is once again with the turntable?

    Images

    • 20221222_160458.jpg
      • 192.28 kB
      • 1,426 × 1,200
      • 12
  • MOM
    Reactions Received
    175
    Trophies
    7
    Posts
    1,418
    • December 22, 2022 at 5:28 PM
    • #2

    It should look like this:


    $BASE=BASE_DATA[1]

    $ACT_BASE = 1

    (This number will then be displayed)

  • hermann
    Reactions Received
    403
    Trophies
    9
    Posts
    2,593
    • December 22, 2022 at 5:32 PM
    • #3

    The call of bas(#base, 1) should do the trick for itself.

    But if turntable is integrated into transformation just setting $base and $act_base is not enough,

  • Fubini
    Reactions Received
    270
    Trophies
    9
    Posts
    1,866
    • December 22, 2022 at 5:34 PM
    • #4

    And if you want to not loose geometric coupling to the external kinematic read about the EK command. When asxigning the base like you its not associated with the table.

    Post

    KRC2 EK/Offset base functions

    Hello,

    Below is my original Query, I think I have narrowed down the problem to not having set the offset of my external kinematic system properly, or called it in the code. When I measure the offset, do I give it a different number and name from the kinematic root? Do I simply call the base data this relates to (eg. $BASE=BASE_DATA[x]) or do I need to be using $BASE=EK(...)?

    Another issue I can't understand, is when I measure the kinematic offset as the center of the turntable, I get very small…
    sam-hhi
    June 7, 2022 at 9:05 PM
    Post

    RE: TCP speed in conjunction with positioner speed

    Read about EK-Command and EX_BASE in this forum. It allows you to activate geomtric coupling between external kinematic and robot, see e.g.

    robot-forum.com/robotforum/thread/?postID=181344#post181344 You need at least a base measured in on the external kinematic and where the external kinematic root is in relation robot base. Also your external drive needs to be configured as an external kinematic in R1/ $machine.dat, see e.g.

    robot-forum.com/robotforum/thread/?postID=84216#post84216

    Fubini
    Fubini
    March 14, 2022 at 11:04 AM

    Fubini

  • iiQKA
    Trophies
    2
    Posts
    31
    • December 22, 2022 at 5:38 PM
    • #5
    Quote from hermann

    The call of bas(#base, 1) should do the trick for itself.

    But if turntable is integrated into transformation just setting $base and $act_base is not enough,

    Unfortunately not, BAS (#BASE, 1) still loses the turntable as its root?

  • hermann
    Reactions Received
    403
    Trophies
    9
    Posts
    2,593
    • December 22, 2022 at 5:39 PM
    • #6

    Read fubinis post above.

  • iiQKA
    Trophies
    2
    Posts
    31
    • December 22, 2022 at 6:11 PM
    • #7

    I missed that fubini's post, but having gone through them replacing the BAS (#BASE, 1) with $BASE=EK(MACHINE_DEF[2].ROOT,MACHINE_DEF[2].MECH_TYPE,BASE_DATA[1]:{x 0,y 0,z 0,a 0,b 0,c 0})

    Seems to have done the trick.. thanks again Robot-Forum!

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