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

Best way to do intermediate point

  • pegermain
  • October 3, 2024 at 4:30 AM
  • Thread is Unresolved
  • pegermain
    Trophies
    3
    Posts
    16
    • October 3, 2024 at 4:30 AM
    • #1

    Hi there,

    I'm looking to go from right side of my robot to the left side passing by 1 or 2 intermediate point.

    Basicly I want to control the XYZ pos of this intermediate pos but I don't want to affect my J6.

    My first and last point are dynamic mean that I can have always a R different.

    So sometime it just make useless rotation from/to my intermediate point and it seems to slowdown the robot.


    Is there some way to check my J6 pick and J6 drop and put my intermediate point to half of his movement.

    ( I always point down my robot)

  • sborchshev
    Reactions Received
    4
    Trophies
    2
    Posts
    39
    • October 3, 2024 at 5:40 PM
    • #2

    Even if your pick drop positions are dynamic they are defined at some point, so do the math on z positions desired way and use position register (not a point) for your intermediate point with xyz independently calculated/assigned.

  • pegermain
    Trophies
    3
    Posts
    16
    • October 3, 2024 at 6:58 PM
    • #3

    XYZ position calculation is not the issue. The issue I'm having to calculate properly the J6 orientation. Sometime between my Indermediate and final my robot will make almost a 360 degree because I was near limit.

  • sborchshev
    Reactions Received
    4
    Trophies
    2
    Posts
    39
    • October 3, 2024 at 7:21 PM
    • #4

    I am pretty sure you can pass a rotation direction argument to position register as well...

  • sborchshev
    Reactions Received
    4
    Trophies
    2
    Posts
    39
    • October 3, 2024 at 7:45 PM
    • #5

    Also for J6 you can set in configuration to Flip (FUT000 to NUT000) N stands for no flip. And use WJNT as move option.

  • pegermain
    Trophies
    3
    Posts
    16
    • October 3, 2024 at 10:13 PM
    • #6

    Yes you can put a argument to R if you want. That not the issue here. In my case I would rather have kind of command that will "ignore" the R between the 2 movement.


    WJNT is for linear move only and just act like Joint movement. Will still go to the position that I have.

    FUT or NUT is neither configurations that affect/change my J6 rotation issue/ calculation.

  • cking8177
    Reactions Received
    11
    Trophies
    1
    Posts
    36
    • October 4, 2024 at 2:58 PM
    • #7
    Quote from pegermain

    Yes you can put a argument to R if you want. That not the issue here. In my case I would rather have kind of command that will "ignore" the R between the 2 movement.

    My understanding is that you would like to either A, see no major difference in J6 rotation between your initial and intermediate positions, or B, when there is a rotation difference between the initial and final points, the intermediate position should cause rotation that would occur anyway so that extra wrist motion does not occur.

    In the case of A, you could simply pass the R-value of the initial position to the PR of the intermediate position.

    Example:

    L PR[1: Initial position]

    PR[2,6]=PR[1,6]

    J PR[2: Intermediate position]

    In the case of B, you could subtract the R-value of the initial position from the R-value of the final position to find a good R-value along that path to use for the intermediate position.

    Example:

    L PR[1: Initial position]

    PR[2,6]=PR[3,6]-PR[1,6]

    J PR[2: Intermediate position]

    L PR[3: Final position]

    Obviously this is oversimplified. You would need to tailor the code to suit the needs of your application.

    Hopefully this helps.

  • pegermain
    Trophies
    3
    Posts
    16
    • October 5, 2024 at 1:30 AM
    • #8

    My rotation at final is not the same as initial.


    Let say I'm at -90 on J6, I would like to go at 90. With a substraction I will have 180 instead of 0. You see where I'm going ?

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • October 5, 2024 at 2:57 AM
    • #9

    You need to use linear motions to prevent flipping. Just make sure you unwind the wrist with a joint move when the gripper is empty.

  • pegermain
    Trophies
    3
    Posts
    16
    • October 5, 2024 at 5:05 AM
    • #10

    For now, flipping is not really an issue.

    So what I'm trying now. I took this routine :

    Thread

    Fanuc- Pos2Joint

    Hello,
    I would like to get a Cartesian PR with UF, UT and then convert it to JPos with Pos2Joint.
    Do you have an example Karel?
    thank you. :help:



    it's my karel code no default or result

    BEGIN



    Pos_Actuel= CURJPOS(0,0)
    -- Recuperartion des entier de la routine TPE paramétrée
    GET_TPE_PRM(1,data_typ,data_init,data_real,data_str,STATUS)
    ValPrDebut=data_init

    --Recupe PR en cartesien
    Pos_Debut=GET_POS_REG (ValPrDebut,STATUS)
    Pos_UFrame=GET_POS_REG (60,STATUS)
    Pos_UTool=GET_POS_REG (61,STATUS)



    --Convertion pos cartesien…
    krugorr
    July 8, 2019 at 12:03 PM

    I make it for my starting point, my end point and my intermediate point.

    Then I do a mean on the J6.

    Take back my new intermediate pos in joint and put my J6 Mean into it.

    I still need to monitor but it seems to make it.

  • Shellmer
    Reactions Received
    52
    Trophies
    5
    Posts
    161
    • October 5, 2024 at 6:18 AM
    • #11
    Quote from pegermain

    Yes you can put a argument to R if you want. That not the issue here. In my case I would rather have kind of command that will "ignore" the R between the 2 movement.


    WJNT is for linear move only and just act like Joint movement. Will still go to the position that I have.

    FUT or NUT is neither configurations that affect/change my J6 rotation issue/ calculation.

    Take care when using the WJnt modifier. If the path will always be the same, it will always do the same thing, but if the points are modified or automatically calculated applying some offset you can run into issues if the new positition forces a config change (like from FUT to NUT or viceversa)

    The thing is that if the config needs to change, it will not perform a nearly linear path and instead J6 or even J4 may want to completelly rotate 180°, it will do a very weird movement and your tool may rotate almost 360° while performing the motion.

    So do not rely on this with vision applications or any other application where offsets are adquired by external means, only use it if that particular path will be always the same.

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

  • Keep getting singularity

    • Abodame99
    • March 27, 2023 at 9:08 PM
    • Fanuc Robot Forum
  • Notorious error MOTN-017 Limit error (G:1, A:6)

    • yolovs
    • March 15, 2023 at 3:56 PM
    • Fanuc Robot Forum
  • Following sheet in a bending machine

    • edgasmoniz
    • April 16, 2022 at 12:07 AM
    • 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