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. Yaskawa Motoman 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

How to Repeat Tasks in different Positions

  • Stig Lindberg
  • April 9, 2024 at 7:15 PM
  • Thread is Unresolved
  • Stig Lindberg
    Trophies
    3
    Posts
    10
    • April 9, 2024 at 7:15 PM
    • #1

    Hello in the forum.

    I'm practicing learning to program a Yaskawa DX200 MH50 robot that we have at my job.

    I've made a program where the robot creates a square at a certain position, how do I get the robot to repeat the same square in a new position without having to copy steps and then adjust the coordinates in the "Parallel shift job"?
    What I'm thinking is to create two userframes, userframe 1 and userframe 2.
    The first position is Userframe 1, and then it should repeat the same job in userframe 2.
    Is it possible to get it to do that, what would the commands look like in the job to make it jump to userframe2 and perform the same job again in the new position?

    Best regards
    Stig.

  • SkyeFire April 9, 2024 at 7:41 PM

    Approved the thread.
  • TSGIR
    Reactions Received
    81
    Trophies
    6
    Posts
    715
    • April 10, 2024 at 8:52 AM
    • #2

    You can use Relative job function.

    Create two USER in USER COORDINATE under ROBOT menu. Ex. Create USER1 and USER2

    Create a program and teach your shape.

    When you are in job content, go to UTILITY menu, select RELATIVE job.

    Convert you job to the USER 1, give a copy from this job, go to DISPLAY menu and select JOB HEADER, you can see USER1 in a field in this page, you can change it to USER2.

    Now you have two job one with USER1 and another with USER2.

  • Stig Lindberg
    Trophies
    3
    Posts
    10
    • April 10, 2024 at 6:33 PM
    • #3
    Quote from TSGIR

    You can use Relative job function.

    Create two USER in USER COORDINATE under ROBOT menu. Ex. Create USER1 and USER2

    Create a program and teach your shape.

    When you are in job content, go to UTILITY menu, select RELATIVE job.

    Convert you job to the USER 1, give a copy from this job, go to DISPLAY menu and select JOB HEADER, you can see USER1 in a field in this page, you can change it to USER2.

    Now you have two job one with USER1 and another with USER2.

    Display More

    Many many thanks for the help, it solved exactly the wish that I had, now I can proceed with the exercise.

  • Robodoc
    Reactions Received
    56
    Trophies
    7
    Posts
    1,061
    • April 20, 2024 at 2:39 PM
    • #4

    You use the SHIFTON and SHIFTOF instructions to temporarily shift the positions in a job.

    Robodoc

  • Alan Huro
    Posts
    2
    • April 30, 2024 at 5:31 PM
    • #5

    You use the SHIFTON and SHIFTOF instructions to temporarily shift the positions in a job.


    How to use those two SHIFTON AND SHIFTOF function?

    I want to repeat the same welding at a different point. I used a command below

    0001 MOVL V=15 //Start Welding Position

    0002 AFCON ASF#(3) //Enable Weld

    0003 MOVL V=15 // Move to finish pos. with Weld on

    0004 AFCOFF //DISABLE Weld

    I used the X,Y,Z coordiate. How can I use ShiftOn and shiftOff for the next weld point which 5" in X-coordinate forward?

    Thanks

  • WattUp
    Reactions Received
    7
    Posts
    96
    • April 30, 2024 at 9:39 PM
    • #6

    Setup a posvar with tool coordinates, and set X to 127.00 (5in in metric )

    SFTON P00x

    MOVL

    AFCON

    MOVL

    AFCOFF
    SFTOFF

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