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

SETE TL#()

  • Fester1981
  • October 24, 2020 at 7:16 PM
  • Thread is Unresolved
  • Fester1981
    Reactions Received
    1
    Trophies
    3
    Posts
    23
    • October 24, 2020 at 7:16 PM
    • #1

    Hi all,

    I found this in some job:

    REFP 1 C00000 BC00000

    GETS PX001 $PX011

    DIN B150 IG#(19)

    SETE P001 TL#(B150)

    '--------------------

    MOVJ P001 BP001 VJ=20.00

    DOUT OG#(104) 1

    '--------------------

    So this sets the tool for P001 to the current connected end effector's toolcode.

    I'm tryng to figure out what it does exactly.

    I tried to set it t to different tools and I would have expected to see some shift depending on the TCP, but they I can'see anything happening when I try to move t the same position with another tool...

    Anyone who knows why this is done?

    There are 2 rules for success:

    1. Never reveal everything you know,

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,949
    • October 24, 2020 at 11:28 PM
    • #2

    The REFP was taught in pulse in some tool.

    The GETS is getting that pulse position and storing the position in P001 in whatever tool the REFP was taught in.

    The DIN is reading what tool number to use. Coming from a die plug, fixture plug, or plc?

    The next line is not written correctly. It is either a different instruction or more information is written with the SETE. Nevertheless, P001 is being set to the correct tool. Changing to a different tool number isn’t going to change the position. The REFP is in pulse and there aren’t any instructions to change it to XYZ. The different tool number could affect the path trajectory, interference areas, and more.

    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.

  • Fester1981
    Reactions Received
    1
    Trophies
    3
    Posts
    23
    • October 25, 2020 at 11:35 PM
    • #3
    Quote from 95devils

    The next line is not written correctly. It is either a different instruction or more information is written with the SETE

    That's what I was aiming at, since this is pretty much the entire job.

    I suppose this is more likely to do what I was thinking of?

    Code
    NOP
    'Version YRC1.0 / 17-12-21
    REFP 1 C00000 BC00000
    GETS PX001 $PX011
    CNVRT PX001 PX001 BF TL#(0)
    DIN B150 IG#(19)
    SETE P001 TL#(B150)
    '--------------------
    MOVJ P001 BP001 VJ=20.00
    DOUT OG#(104) 1
    '--------------------
    END
    Display More

    There are 2 rules for success:

    1. Never reveal everything you know,

  • Motouser
    Reactions Received
    39
    Trophies
    4
    Posts
    288
    • October 26, 2020 at 9:46 AM
    • #4
    Quote from Fester1981

    SETE P001 TL#(B150)

    ???

    Maybe the "author" wants to test or don't know that exist the SETTOOL and GETTOOL instructions.

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,949
    • October 26, 2020 at 10:02 PM
    • #5
    Quote from Motouser

    ???

    Maybe the "author" wants to test or don't know that exist the SETTOOL and GETTOOL instructions.

    Maybe. Those instructions are part of the purchased PMT function.

    Back to the original:

    Code
    SETE P001 TL#(B150)

    This line looks incorrect. I have not seen the tool tag on the SETE instruction. The SETE writes either a constant value or the value in a D-variable into an element (piece) of a position variable. The way the instruction is written there is not an element number nor what/where the data is/coming from. Is this the correct instruction written in the job or is it something else?

    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.

  • Fester1981
    Reactions Received
    1
    Trophies
    3
    Posts
    23
    • October 27, 2020 at 11:22 PM
    • #6

    Well, as you can see in this picture, it is an existing instruction...


    I also asked the system integrator why this is done.

    They said it's sole purpose is to assign the correct tool specific load values.

    There are 2 rules for success:

    1. Never reveal everything you know,

  • Motouser
    Reactions Received
    39
    Trophies
    4
    Posts
    288
    • October 28, 2020 at 9:32 AM
    • #7

    You write a code different from the one in the image:

    here you have SETE P001 TL#(FSU_actGripper) that for sure will be an ALIAS for an integer.

    Until you will pass a value that match a tool number will be ok.

    In your previous code you pass a B-VAR and I don't know the controller (only DX200 or newer can use the SETE Pxxx TL# option).

    In the previous post I believe that you are doing an attempt of using those lines to get rid of SETTOOL/GETOOL instructions (that yes, 95devils, is a pay option), but seems not.

    If you save that job you can see what is the variable linked to FSU_actGripper).

    Also I see that this controller has the FSU installed, so if I remember well every change of the tool dimensions will need a refresh of the FSU flash memory and in the end PMT Functions is incompatible wit FSU.

    Edited once, last by Motouser (October 28, 2020 at 10:08 AM).

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,949
    • October 28, 2020 at 5:44 PM
    • #8

    I figured how to write that line. It's doing what I said up in post 2. Just setting the active tool based on the value of B150, going from OP post 1. Since it is in pulse changing the tool number does not change the position in P001 just the active tool.

    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.

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,949
    • October 28, 2020 at 5:52 PM
    • #9
    Quote from Motouser

    Also I see that this controller has the FSU installed, so if I remember well every change of the tool dimensions will need a refresh of the FSU flash memory and in the end PMT Functions is incompatible wit FSU.

    YRC1000 can have tool data changed without a reflash. The SETTOOL and GETTOOL can be used as long as the software is new enough, YAS2.50. The OP's code is not changing tool data just which tool is active.

    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.

  • Fester1981
    Reactions Received
    1
    Trophies
    3
    Posts
    23
    • October 30, 2020 at 5:00 PM
    • #10
    Quote from Motouser

    You write a code different from the one in the image:

    here you have SETE P001 TL#(FSU_actGripper) that for sure will be an ALIAS for an integer.

    Until you will pass a value that match a tool number will be ok.

    In your previous code you pass a B-VAR and I don't know the controller (only DX200 or newer can use the SETE Pxxx TL# option).

    In the previous post I believe that you are doing an attempt of using those lines to get rid of SETTOOL/GETOOL instructions (that yes, 95devils, is a pay option), but seems not.

    I started cleaning up the code here and there,

    I also used the alias function to improve readability because there are so many variables in the code.

    I moved the reading of the gripper code to system

    Quote from 95devils

    The SETTOOL and GETTOOL can be used as long as the software is new enough, YAS2.50

    I have a YAS3.02.00A, but I haven't found the SETTOOL or GETTOOL instruction anywhere.

    There are 2 rules for success:

    1. Never reveal everything you know,

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,949
    • October 30, 2020 at 7:03 PM
    • #11

    GETTOOL and SETTOOL is still a purchased option. But it can be used on YRC with the FSU. On older generations GETTOOL and SETTOOL would not work with the FSU. The controller would have to be reflashed after the instruction SETTOOL was executed.

    On YRC YAS2.50 and newer a reflash is not necessary after the SETTOOL is executed.

    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

  • Position variable?.

    • multani33
    • March 11, 2019 at 4:55 AM
    • Yaskawa Motoman Robot Forum
  • Shifting problem

    • alex1793
    • February 25, 2020 at 3:58 PM
    • Yaskawa Motoman Robot Forum
  • Does this JBI file look okay to you? error 3190[13]

    • jba
    • August 5, 2019 at 10:14 AM
    • Yaskawa Motoman Robot Forum
  • Motoman MRC istruction inserting without position variable (P00X)

    • Czirjak Cristian
    • February 22, 2019 at 11:59 AM
    • Yaskawa Motoman Robot Forum
  • How can I get the TCP position(Cartesian) in coordinate system

    • Jonson
    • June 5, 2018 at 3:18 AM
    • Yaskawa Motoman Robot Forum
  • IMOV doing strange stuff

    • vmec
    • June 5, 2020 at 9:04 PM
    • Yaskawa Motoman Robot Forum
  • Dx100 external control / jog

    • AbadRosa
    • October 25, 2019 at 2:58 PM
    • Yaskawa Motoman Robot Forum
  • Instruction to do a offset relatively to a teach point

    • Henrique24
    • August 8, 2019 at 12:27 AM
    • Yaskawa Motoman Robot Forum

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