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

Offset with PR along the axis of the UF of the current point

  • MoEL
  • November 15, 2023 at 10:34 AM
  • Thread is Resolved
  • MoEL
    Reactions Received
    1
    Trophies
    2
    Posts
    109
    • November 15, 2023 at 10:34 AM
    • #1

    Hello,

    I would like to make an offset from the current point along the X axis of the same UserFrame in the point.

    What I understood from my reserches is that the offset with the PR is allong world axis.

    Is that posible?

    Thank you

  • Foxtrot2050
    Reactions Received
    2
    Trophies
    1
    Posts
    48
    • November 15, 2023 at 12:52 PM
    • #2

    If I am understanding you correctly, yes you would make a PR offset then attach it to that point to make the offset work correctly. Then in the future if something needs moved you could in theory make those adjustments in the Offset and be good to go :grinning_face_with_smiling_eyes: . We use this all the time for our adhesive paths since we have panels that come in bent up.

  • hermann
    Reactions Received
    407
    Trophies
    9
    Posts
    2,612
    • November 15, 2023 at 2:47 PM
    • #3
    Quote from MoEL

    .. What I understood from my reserches is that the offset with the PR is allong world axis....

    No. When you give an offset in a movement instruction, this instruction is done with actual tool frame in the actual user frame. So the offset also describes the offset in the actual user frame.

  • HalbesYoyo
    Persona non grata
    Reactions Received
    47
    Trophies
    3
    Posts
    151
    • November 15, 2023 at 2:57 PM
    • #4

    Hi MoEL,

    you can use offsets according to world, any uframe or any tool:

    Code
      PR[99,1:temp_99]=200
      PR[99,2:temp_99]=0
      PR[99,3:temp_99]=0
      PR[99,4:temp_99]=0
      PR[99,5:temp_99]=0
      PR[99,6:temp_99]=0
    
      ! Offset in world
      UFRAME_NUM=0
      UTOOL_NUM=1
    J P[1] 100% FINE Offset,PR[99:temp_99]
    
      ! Offset in uframe 1
      UFRAME_NUM=1
      UTOOL_NUM=2
    J P[1] 100% FINE Offset,PR[99:temp_99]
    
      ! Offset in tool 3
      UFRAME_NUM=1
      UTOOL_NUM=3
    J P[1] 100% FINE Tool_Offset,PR[99:temp_99]
    Display More

    If you'd like to use the menu to change the UFRAME to world you may chose

    [MENU] > [SETUP] > [Frames] > [OTHER] > [User Frame] > [CLRIND]

    to clear the $MNUFRAMENUM (= set to zero) or you chose

    [MENU] > [SETUP] > [Frames] > [OTHER] > [User Frame] > [SETIND]

    to set to a specific UFRAME number.

    Be aware, that UFRAME and UTOOL for Positions (P in program) are stored along with the other values of the position. Using Position Registers (PR in program) will use the currently set UFRAME and UTOOL (indicated by the F).

    Edited once, last by HalbesYoyo (November 15, 2023 at 3:12 PM).

  • MoEL
    Reactions Received
    1
    Trophies
    2
    Posts
    109
    • November 16, 2023 at 3:48 PM
    • #5
    Quote from HalbesYoyo

    Hi MoEL,

    you can use offsets according to world, any uframe or any tool:

    Code
      PR[99,1:temp_99]=200
      PR[99,2:temp_99]=0
      PR[99,3:temp_99]=0
      PR[99,4:temp_99]=0
      PR[99,5:temp_99]=0
      PR[99,6:temp_99]=0
    
      ! Offset in world
      UFRAME_NUM=0
      UTOOL_NUM=1
    J P[1] 100% FINE Offset,PR[99:temp_99]
    
      ! Offset in uframe 1
      UFRAME_NUM=1
      UTOOL_NUM=2
    J P[1] 100% FINE Offset,PR[99:temp_99]
    
      ! Offset in tool 3
      UFRAME_NUM=1
      UTOOL_NUM=3
    J P[1] 100% FINE Tool_Offset,PR[99:temp_99]
    Display More

    If you'd like to use the menu to change the UFRAME to world you may chose

    [MENU] > [SETUP] > [Frames] > [OTHER] > [User Frame] > [CLRIND]

    to clear the $MNUFRAMENUM (= set to zero) or you chose

    [MENU] > [SETUP] > [Frames] > [OTHER] > [User Frame] > [SETIND]

    to set to a specific UFRAME number.

    Be aware, that UFRAME and UTOOL for Positions (P in program) are stored along with the other values of the position. Using Position Registers (PR in program) will use the currently set UFRAME and UTOOL (indicated by the F).

    Display More

    This is a master class explanation,
    Thank you all

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

  • Finding Distance between two positions with probe.

    • El Zapato
    • January 27, 2023 at 5:06 AM
    • Fanuc Robot Forum
  • Down the rabbit hole...Who wants to join in the fun?

    • Elderwild
    • November 30, 2021 at 8:25 PM
    • ABB Robot Forum
  • Very peculiar path bug... or possibly haunted robot

    • WhyDoesMyRobotHateMe
    • February 21, 2020 at 7:41 PM
    • Yaskawa Motoman 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