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

Help with SET instruction

  • darth0
  • January 14, 2025 at 7:33 AM
  • Thread is Resolved
  • darth0
    Reactions Received
    4
    Posts
    138
    • January 14, 2025 at 7:33 AM
    • #1

    Hello!

    Im having some troubles using the SET instruction on YRC1000.

    I want to perform an Absolute shift with the SHFTON instruction, my program is written like this

    SET P000 " Here i would like to set P000 (0,200,0,0,0,0) for the SHFTON to shift 200mm in Y direction--> How do i set these values on the controler ? Does P000 have to be set up as an array P[]?

    MOVJ VJ=100.00

    MOVL V=80.0

    MOVL V=80.0

    MOVL V=80.0

    MOVL V=80.0

    MOVJ VJ=100.00

    SHFTON P000

    MOVJ VJ=100.00

    MOVL V=80.0

    MOVL V=80.0

    MOVL V=80.0

    MOVL V=80.0

    SHFTOF

    END

    Thank you for all help !

  • Go to Best Answer
  • darth0
    Reactions Received
    4
    Posts
    138
    • January 14, 2025 at 7:40 AM
    • #2

    Should i be using SETE instruction?

    is it that simple :upside_down_face:

  • Burty
    Trophies
    1
    Posts
    6
    • January 14, 2025 at 8:09 AM
    • Best Answer
    • #3

    Yes, it is that simple

  • darth0 January 14, 2025 at 8:09 AM

    Selected a post as the best answer.
  • BMGN01
    Posts
    9
    • January 14, 2025 at 11:25 AM
    • #4

    Use the SETE function and set (1), (3), (4), (5) and (6) all to 0, with (2) set to 200.

    I have noticed the units are sometimes different and sometimes not, so 200 may need to be 20,000 instead of 200 but start small at first! :grinning_face_with_smiling_eyes:

  • 95devils
    Reactions Received
    231
    Trophies
    8
    Posts
    1,938
    • January 14, 2025 at 12:05 PM
    • #5
    Quote from BMGN01

    I have noticed the units are sometimes different and sometimes not

    On the YRC the X,Y, and Z are in millimeters. The Rx, Ry, and Rz are in degrees. Looking at ROBOT, CURRENT POSITION, the XYZ goes out 3 decimal places, rotation 4 decimal places.

    20000 set into X,Y, or Z is 20 mm.


    20000 set in Rx,Ry, or Rz is 2 degrees.


    If the position variable is formatted as pulse then the number is a whole number.

    I know a thing or two, because I’ve seen a thing or two. Don't even ask about a third thing. I won't know it.

  • darth0
    Reactions Received
    4
    Posts
    138
    • January 14, 2025 at 12:56 PM
    • #6
    Quote from 95devils


    If the position variable is formatted as pulse then the number is a whole number.

    How does one change the Format of a position variable from pulse to xyz?

    Is it based on what format is displayed on axis positions ( pulse / XYZ) or ?

  • 95devils
    Reactions Received
    231
    Trophies
    8
    Posts
    1,938
    • January 14, 2025 at 1:29 PM
    • #7

    The CNVRT instruction under ARITH will convert a position variable from pulse to XYZ or a XYZ to another XYZ.

    Example: Pulse to Base, Robot, or User.


    Example: Base to Robot, or Robot to User.

    I know a thing or two, because I’ve seen a thing or two. Don't even ask about a third thing. I won't know it.

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

  • Programming of an online path correction

    • CFL_Max
    • January 8, 2025 at 4:27 PM
    • Yaskawa Motoman Robot Forum
  • Question Regarding Yaskawa DX200: How to Update Z-Height on a User Frame?

    • Stig Lindberg
    • November 8, 2024 at 3:42 PM
    • Yaskawa Motoman Robot Forum
  • ABB separate routine (macro)

    • Jleon89
    • July 30, 2024 at 7:04 PM
    • ABB Robot Forum
  • Fixted Tool Load Definition in Block Programming

    • dohlfhauldhagen
    • June 3, 2024 at 7:36 PM
    • Kawasaki Robot Forum
  • KRC4 - Custom Weld Timer

    • notverycreeative
    • December 5, 2021 at 1:33 AM
    • KUKA Robot Forum
  • Material Handling

    • Fabian_Munoz1
    • April 21, 2024 at 11:38 PM
    • ABB Robot Forum
  • Syntax Error in instruction data(J:NEUINST L:****) [0]

    • MST-314
    • January 31, 2023 at 1:03 PM
    • Yaskawa Motoman Robot Forum
  • Comarc Issues not working?

    • Loki
    • January 8, 2021 at 10:02 AM
    • Yaskawa Motoman Robot Forum
  • Alarms to PLC

    • white_raven
    • September 13, 2021 at 10:03 PM
    • Yaskawa Motoman Robot Forum
  • KUKA PALLETIZING CODE

    • Jeff_Rob
    • May 12, 2021 at 4:02 PM
    • KUKA Robot Forum

Tags

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