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 a position in joint

  • K-Sky
  • May 3, 2017 at 1:52 PM
  • Thread is Resolved
  • K-Sky
    Reactions Received
    4
    Trophies
    3
    Posts
    196
    • May 3, 2017 at 1:52 PM
    • #1

    I have a robot that we are setting up that needs to go to an air blowoff station. I need to move the EOA around in the blowoff station to get all the coolant/chips off the parts. I would like to just have 1 PR that I teach and then use offsets from there for the other positions so that I would only ever need to touchup a single point, or at least ideally that is all I'd ever need to do. I am familiar with adding a standard Cartesian PR offset, but would like to just do a joint offset. All I really want to do is rotate J6 +/- from my taught point. I tried playing around with it and couldn't find a way to just have it rotate J6 without teaching additional points.

  • Im not a robot
    Trophies
    3
    Posts
    39
    • May 3, 2017 at 2:13 PM
    • #2

    When you are in the PR looking at its data, there is an option on the bottom right that says [REPRE].

    This option will let you change the data in the PR from Cartesian to Joint, so you can now use joint offsets.

    Therefore:
    X => J1
    Y => J2
    Z => J3
    W => J4
    P => J5
    R => J6

  • stare284
    Reactions Received
    25
    Trophies
    4
    Posts
    373
    • May 3, 2017 at 2:14 PM
    • #3

    PR1 Blowoff (Taught position)
    PR2 MoveBlow


    L PR[1]4000mm/sec FINE ;

    PR[2]=JPOS ;

    PR[2,6]=PR[2,6]+180 ;

    J PR[2] 4000mm/sec CNT60

    This should work for what you are asking. Hope it helps
    Only teach PR1 then PR2 will always follow it and you can change how much you want to rotate and which direction. You can even go + then - to unwind the EOAT.

  • DaveP
    Reactions Received
    23
    Trophies
    4
    Posts
    201
    • May 3, 2017 at 2:22 PM
    • #4

    Here is another method that just worked in Roboguide. I tested this with an uninitialized PR and the JPOS=JPOS zeroed out the PR and made it appear in the Joint representation in DATA.

    L PR[1] 1000mm/sec FINE

    PR[2]=JPOS-JPOS

    PR[2,6]=30

    J PR[1] 30% FINE Offset, PR[2]

    Edited once, last by DaveP (May 3, 2017 at 2:24 PM).

  • Nation
    Typical Robot Error
    Reactions Received
    556
    Trophies
    9
    Posts
    1,937
    • May 3, 2017 at 2:34 PM
    • #5

    Another method:

    Code
    PR[99]=JPOS ;
      PR[99]=PR[99]-PR[99] ;
      PR[99,6]=180 ;
    J PR[99] 10% FINE INC ;
      PR[99,6]=(-180) ;
    J PR[99] 10% FINE INC ;

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • K-Sky
    Reactions Received
    4
    Trophies
    3
    Posts
    196
    • May 5, 2017 at 4:10 PM
    • #6

    Thanks for all the suggestions!

    Here is what I ultimately ended up doing. I created PR[60] that is taught using UTOOL=0. From there I use Pr[60] with Tool_Offset, PR[XX] added to it. I use a couple of PRs for the tool offsets, and I set everything to 0 except the R value of those PRs. Whatever value the R is set to is how many degree J6 rotates +/-. This is working just the way I wanted so that I can roll just J6 whichever way I want.

    I played around with a couple of the methods from the posts above and came across an issue I couldn't find an explanation for. When I tried using the following:

    PR[2]=JPOS-JPOS

    And then when I looked at the values in PR[2] it set J1-J3 to 0, but did nothing to J4-J6. The values in J4-J6 did not zero out for some reason. Any ideas? I've since tried it in Roboguide and it set all joint values to 0, but not on the actual robot. Now when I tried using this method all joint values did get set to 0 on the robot:

    PR[2]=JPOS
    PR[2]=PR[2]-PR[2]

    Thanks for all the help guys!

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

Users Viewing This Thread

  • 1 Guest
  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