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

FANUC Move Relative to Tool

  • AwfulAutomation
  • August 29, 2019 at 12:37 PM
  • Thread is Unresolved
  • AwfulAutomation
    Reactions Received
    5
    Trophies
    3
    Posts
    16
    • August 29, 2019 at 12:37 PM
    • #1

    Hi,

    I am working on a FANUC Robot and have not been able to get any training done prior to this,

    Just wondering if anyone can point me in the right direction regards trying to get the Robot to move ''Relative to Tool''

    For example I want to be able to as part of the Homing movement, Move to Tool -200mm on the Z axis to move it of the way of any obtrusions etc

    I have been able to do movements like this no problem in the ABB robots and Epson robots.

    Thanks in Advance for any help provided.

  • fastfingers
    Reactions Received
    25
    Trophies
    5
    Posts
    190
    • August 29, 2019 at 12:49 PM
    • #2

    Use the 'Tool Offset, PR[...]' motion modifier at the end of the line that contains the home motion instruction. The position register should be taught in Cartesian representation with all values zero except for Z which would be -200mm.

  • AwfulAutomation
    Reactions Received
    5
    Trophies
    3
    Posts
    16
    • August 29, 2019 at 2:03 PM
    • #3

    Brilliant mate, One more questions,

    As I move through different programs and create new points. Th TP creates P Numbers that have been used prior.

    For example if in program 1

    J p[1] 80% CNT 5

    J p[2] 80% CNT 5

    J p[3] 80% CNT 5

    Then when I am in program two and want to create a new point it automatically defines its as

    J p[1] again,

    Does this mean that the P numbers are tied to specific programs and are not global across the robot ?

  • fastfingers
    Reactions Received
    25
    Trophies
    5
    Posts
    190
    • August 29, 2019 at 2:10 PM
    • #4

    You are correct. P designates a point that is unique to the program in which it resides while PR designates a position register that is global.

  • AwfulAutomation
    Reactions Received
    5
    Trophies
    3
    Posts
    16
    • August 29, 2019 at 2:16 PM
    • #5

    Cheers mate ,

    Thanks for taking the time to help.

  • domo_arigato
    Reactions Received
    8
    Trophies
    3
    Posts
    14
    • August 29, 2019 at 2:31 PM
    • #6

    Going to throw some additional info in here that may be helpful in the future:

    If you want to copy positions from one program to the next, you want to perform a Copy (EDCMD -> Copy/Cut -> F2[Select] -> Highlight lines -> Copy) from the first program, then perform a POSITION (NOT POSID) paste in the second program. This will copy the positional data (including XYZWPR, Frame Numbers, configuration, etc) into the second program, storing the data in the next available positional index number in the second program. Keep in mind this just copies the position data over, but will not link the two programs' positional data; a change or touchup to P[1] in the first program will not reflect to P[1] in the second program.

  • AwfulAutomation
    Reactions Received
    5
    Trophies
    3
    Posts
    16
    • October 22, 2019 at 6:57 PM
    • #7

    Thanks for the Input,

    I now have a FANCUC Robot pretty much humming, Main Process wise anyways.

    I have another Question if you could help with,

    Currently ''Trying'' to make the machine Operator Proof so want to perform homing via this method,

    Define current pos of robot to [p1]

    Offset 1 z 50mm

    Define current pos of robot to [p1]

    Offset 1 Y 150mm

    I am struggling to find the command that lets me update current position to a Robot Positions Variable ?

  • fastfingers
    Reactions Received
    25
    Trophies
    5
    Posts
    190
    • October 22, 2019 at 8:13 PM
    • #8

    You can use the LPOS and JPOS commands.

    PR[ x ] = LPOS and PR[ x ] = JPOS

    LPOS will record the position in Cartesian coordinates while JPOS will record the position in joint coordinates.

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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • Developing Epson N2 with Cognex Insight

    • elvicash
    • March 19, 2019 at 6:30 PM
    • Robot Vision and Vision Products
  • UF 0 and UT 0

    • robcren
    • January 16, 2019 at 6:13 PM
    • Fanuc Robot Forum
  • Frame Transforms

    • atomic_robo
    • June 28, 2018 at 6:55 PM
    • KUKA Robot Forum
  • Application frame vs grid calibration frame in IR Vision

    • csd
    • March 11, 2014 at 1:49 PM
    • Fanuc Robot Forum
  • Fanuc Tool frame changes World frame

    • mehiatt
    • May 5, 2017 at 3:39 PM
    • Fanuc Robot Forum
  • Over ride vision offsets

    • kmcgregor
    • September 27, 2014 at 6:26 PM
    • Fanuc Robot Forum

Tags

  • FANUC TP Programming
  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