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

Set tool file by user ladder in YRC1000

  • Woebot
  • July 22, 2022 at 6:33 AM
  • Thread is Resolved
  • Woebot
    Reactions Received
    5
    Trophies
    3
    Posts
    24
    • July 22, 2022 at 6:33 AM
    • #1

    I’m working with a Yaskawa YRC1000 with a CClink card installed (and safety function board, robot is a GP35L). I would like the robot to automatically switch tool files when a specific IO signal is input (rather than using a program command to change tool files). The PLC will give the Robot it’s current tool based off the signal received from the tool changer attached to the robot. I thought I should be able to do it in the user ladder but cant find a ladder logic command to set the tool file. Is this possible to do? I’ve used commands in a program (on FANUC machines) to change tool data but its my first time using a tool changer on Yaskawa. The logic in my mind should look like "If coil XX on, load tool file 1"

    The tools all have the same flange to center point dimensions so its mainly the weight I am worried about, and some of the safety logic interference zones. If the robot knows via hardwire what tool its working with it should be harder for the customer to make a mistake.

    Thanks in advance

  • Josse
    Reactions Received
    1
    Trophies
    2
    Posts
    8
    • July 22, 2022 at 10:14 AM
    • #2

    Hmm, could u just use variables and IF command. So basically if u get signal from your "coil" when its on, u could use certain IF commands in ur program, for example:

    NOP

    IF B010=1 THEN // <-- Bxxx being your own signal

    TCPON TL#(1) // <-- Change tool number to tool file u want

    IF B010=2 THEN // <-- Bxxx being your own signal

    TCPON TL#(2)

    MOVJ C00000 VJ=10.00 //

    MOVL C00001 V=100.0 //

    MOVL C00002 V=200.0 //

    MOVJ C00003 VJ=10.00 //

    TCPOF

    END

  • Josse
    Reactions Received
    1
    Trophies
    2
    Posts
    8
    • July 22, 2022 at 10:17 AM
    • #3

    Tell me if i got your point wrong, kind of a language barrier ;p

  • Woebot
    Reactions Received
    5
    Trophies
    3
    Posts
    24
    • July 25, 2022 at 5:56 AM
    • #4

    thanks for your message and sorry for the slow reply,

    That looks good for use in a regular program, but I am wondering if i can be done in the ladder logic of the YRC1000 (the user ladder)

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,948
    • July 25, 2022 at 11:49 AM
    • #5

    Can’t be done directly in the ladder.

    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.

  • Woebot
    Reactions Received
    5
    Trophies
    3
    Posts
    24
    • July 26, 2022 at 3:35 AM
    • #6

    Thank you, good to know to stop pursuing it. I'll use Josse's suggestion in my start up program instead.

    Edited once, last by Woebot (July 26, 2022 at 8:47 AM).

  • potis
    Reactions Received
    1
    Trophies
    3
    Posts
    245
    • August 3, 2022 at 5:26 PM
    • #7

    If you use Pvariables you can use the CNVRT command to change the tool inside the Pvariables.

    we use this trick in the cobot series to use the correct tool with weight for not generating collisions.

  • Online
    mil3k
    Reactions Received
    16
    Trophies
    3
    Posts
    74
    • August 8, 2022 at 10:08 AM
    • #8
    Quote from potis

    If you use Pvariables you can use the CNVRT command to change the tool inside the Pvariables.

    we use this trick in the cobot series to use the correct tool with weight for not generating collisions.

    I just discovered that CNVRT is missing from arith menu on one of my controllers. Interesting. I thought that it is one of default instructions on every controller.

    Potis, how do you do tool change?

    CNVRT PX000 PX000 TF TL#ToolNumber or CNVRT PX000 PX000 TL#ToolNumber ?

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,948
    • August 8, 2022 at 3:59 PM
    • #9
    Quote from mil3k

    I just discovered that CNVRT is missing from arith menu on one of my controllers. Interesting. I thought that it is one of default instructions on every controller.

    Potis, how do you do tool change?

    CNVRT PX000 PX000 TF TL#ToolNumber or CNVRT PX000 PX000 TL#ToolNumber ?

    The CNVRT instruction has been a standard going back 30+ years. The only two reasons I can think of why it wouldn't show up:

    1) Language level set to subset.

    2) Job's group set is not a robot, base, or station. Set to a non-group job.


    I have used the CNVRT both ways you show. It really depends on what you are trying to do and what the rest of the code sets up.

    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.

  • Online
    mil3k
    Reactions Received
    16
    Trophies
    3
    Posts
    74
    • August 8, 2022 at 5:34 PM
    • #10
    Quote from 95devils

    2) Job's group set is not a robot, base, or station. Set to a non-group job.

    Ok. The active program I open to check this command was the master program, standard, robot job but without any moves. I checked other program with moves and CNVRT is there.

    I used convert few times, mostly to convert interruption position from pulse to different UF, but never used to change TL#

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

Tags

  • ladder
  • Ladder Editor
  • Tool CHanger
  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