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

Frame function

  • nimius83
  • February 7, 2023 at 12:26 PM
  • Thread is Unresolved
  • nimius83
    Trophies
    3
    Posts
    18
    • February 7, 2023 at 12:26 PM
    • #1

    Hello everybody,

    I would like to replicate the function "Frame" on other robots, like Kuka.

    SET pallet = FRAME(loc.origin, loc.x.axis, loc.pos.y, loc.origin)

    The new frame pallet has a different orientation than loc.origin, loc.x,axis and loc.pos.y (let's suppose these 3 points has the same orientation Rx,Ry,Rz)

    This difference can be calculated as: SET dif = INVERSE(pallet) :loc.origin

    Then, I can move on the pallet:

    SET pick = pallet:TRANS(0*x.distance, 2*y.distance):dif

    What I don't understand is why the frame pallet comes out with a different orientation, even though the 3 points have the same orientation between them.

    Do you have any idea?

    Thanks

  • SerVas
    Trophies
    2
    Posts
    7
    • June 19, 2023 at 12:44 PM
    • #2

    Hi,

    you can find very good and sipmle explanation of FRAME function by Kawasaki Youtube Channel:

    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.

    The AS language is very similar to V+. Just consider instead of "SET" in V+ it is "POINT" in AS, instead of ":" in V+ it is "+" in AS and instead of "INVERSE" it is "-" (MINUS) in AS.

  • TygerDawg
    Reactions Received
    6
    Trophies
    3
    Posts
    187
    • June 21, 2023 at 4:55 PM
    • #3

    It has been many years since I was deep into V+ language, but something doesn't seem correct with your code. Perhaps. Maybe. Possibly.

    Your method of calculating and using the INVERSE transform dif bothers me for some reason, and I cannot discern why (too many years ago). :sleeping_face:

    Establish a frame (user coord sys) in space with

    SET pallet = FRAME(loc.origin, loc.x.axis, loc.y.axis, loc.origin)

    This assumes that you taught the three frame locations properly (and taught with an accurate tool):

    • loc.origin is at the ORIGIN of the new frame
    • loc.x.axis is ON the X-AXIS of the new frame
    • loc.y.axis is somewhere in the positive X-Y plane of the new frame (not required to be ON the Y-AXIS of the frame, but is nice if it is)
    • fourth argument defines the location of the new frame origin
    • orientation of the three frame location points is irrelevant, only X, Y, Z are used to calculate the frame

    Do all of that, then your command to calculate a point relative to the new frame pallet is:

    SET pick = pallet:TRANS(x_offset, y_offset, z_offset)

    BUT it is critical to recognize that the new point pick has the orientation of the new frame pallet. That is, if your frame pallet Z-AXIS is pointing UP (e.g., towards the ceiling) and you desire to have your gripper Tool Coord Sys Z-AXIS pointing DOWN to the workpiece (e.g, towards the floor), then you must reverse the orientation.

    SET pick = pallet:TRANS(x_offset, y_offset, z_offset):TRANS( <either RX = 180, or RY = 180> )

    If frame pallet is taught with foresight, then the pallet Z-AXIS is pointed the direction you need for the tool Z-AXIS, you just have to adapt the X, Y, Z offsets to match your physical position.

    TygerDawg

    Blue Technik

    http://www.bluetechnik.com

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

  • Program transfer

    • Chardafon
    • July 13, 2022 at 1:51 PM
    • Fanuc Robot Forum
  • Vision Programming NiryoOne

    • astabc34
    • June 6, 2022 at 9:39 AM
    • other Cobots
  • What is KRC2 doing when you set an array of frame equal to a single frame?

    • mjnewsum
    • February 22, 2021 at 10:00 PM
    • KUKA Robot Forum
  • Cartesian impedance creating offset

    • Just Me
    • December 23, 2020 at 3:28 PM
    • KUKA LBR IIWA
  • kuka robot needs to wait for an input to be on for a certain amount of time

    • n_makin
    • December 3, 2019 at 1:34 PM
    • KUKA Robot Forum
  • FrameDistanceCondition

    • Radicz
    • February 18, 2020 at 8:25 AM
    • KUKA LBR IIWA
  • Vehicle Zero Coordinate - Robot Base Reference Set Up

    • darek8711
    • September 29, 2019 at 7:49 PM
    • General Discussion of Industrial Robots Only
  • Create User FRAME

    • balrog
    • May 9, 2019 at 12:30 PM
    • Manuals, Software and Tools for Kawasaki Robots

Tags

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