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

Easy way to adjust all points in the programs? For example +5mm on Z for all points

  • Darkbound
  • November 20, 2019 at 7:10 AM
  • Thread is Unresolved
  • Darkbound
    Reactions Received
    1
    Trophies
    3
    Posts
    65
    • November 20, 2019 at 7:10 AM
    • #1

    So I am dealing with a maintenance issue where I have to regularly adjust the pickup points and loading points into the machines that the robot is loading, because the parts that are coming from production and need to be loaded onto the machines are sometimes of different heights, so it is common that I have to readjust many of the points.

    Right now I am rewriting everything from scratch, because I want to add more functionality into my programs and this is one of the features that I want to add, but what is the best way to go about it?

    Should I make a program that will recalculate all points and work only with PRs (so that I can easily update all points used in different programs)?

    Should I add a parasite variable to offset all of the points? Parasite, because it will be everywhere.

    Any other ways or functionalities of the TP language that I am not aware of?

  • dha
    Reactions Received
    28
    Trophies
    6
    Posts
    397
    • November 20, 2019 at 8:12 AM
    • #2

    You have several option.

    Maybe easiest is Program Adjust function (MENU -> UTILITIES -> Prog Adj.

    This function lets you shift whole or part of a program.

    Next option is that you write program in specific UFRAME and then change that UFRAME.

    You can also add OFFSET PR[x] command to all points in a program and edit PR[x].

  • Darkbound
    Reactions Received
    1
    Trophies
    3
    Posts
    65
    • November 20, 2019 at 9:39 AM
    • #3
    Quote from dha

    You have several option.

    Maybe easiest is Program Adjust function (MENU -> UTILITIES -> Prog Adj.

    This function lets you shift whole or part of a program.

    Next option is that you write program in specific UFRAME and then change that UFRAME.

    You can also add OFFSET PR[x] command to all points in a program and edit PR[x].

    Thanks, I did not know about the Prog Adj function, would that adjust every single point in the program, both Ps and PRs? If yes, then if I apply it to multiple programs that use the same PRs, they would get shifted multiple times, correct?

    I too thought about the offset PR command, but that would pollute the whole code, but I may end up doing it, the frames idea seems like the cleanest option and I may do that! That way, I will just need to adjust 3 frames, which would take 15 seconds! Thanks!

  • dha
    Reactions Received
    28
    Trophies
    6
    Posts
    397
    • November 20, 2019 at 10:50 AM
    • #4

    I also think changing UFRAMEs is best solution.

    If you have some sensor to detect part change, you can adjust UFRAME programably.

  • kluk-kluk
    Reactions Received
    51
    Trophies
    5
    Posts
    300
    • November 20, 2019 at 11:03 AM
    • #5

    You also can consider to change your toolframe.

    When some changes are not only in the Z-direction, that can be the better option.

  • Muteki
    Reactions Received
    5
    Trophies
    3
    Posts
    27
    • November 20, 2019 at 4:55 PM
    • #6

    you can use the RUN command to run a separate program that updates the Z direction of a PR by a R then sets a UFRAME to that PR. That way you can adjust the UFRAME just by setting a Register value, which can be done through the Teach Pendant while the robot is running.

    This way you can change the value on the fly without downtime.

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