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

Simple Kawasaki AS language question related to TOOL coordinates

  • Robotfarmer
  • December 23, 2020 at 10:45 PM
  • Thread is Unresolved
  • Robotfarmer
    Trophies
    2
    Posts
    3
    • December 23, 2020 at 10:45 PM
    • #1

    I have a very simple question related to setting the current tool number in a Kawasaki AS program. I'm not super familiar with Kawasaki AS language and I'm struggling with a very basic thing. The customer has asked me to add a couple new programs to the robot and all of the current programs have been taught, both in AS and Block programming styles, with TOOL NULL or basically no TOOL offset at all. I have created a new proper tool that reflects the actual TCP of the tool installed and I've saved that as TOOL 9.

    In the program I'm writing I need to use the TDRAW command to move around a shape that is not co-planar with any of the robots BASE coordinates. It's just a rectangle that sits on a slanted surface. All I want to do is make TOOL 9 the active tool in the program and then use TDRAW to move in the x,y,z directions of the TOOL 9 TCP. Simple right? In a Fanuc robot I could do this with one line.

    Despite 4 hours of reading Kawasaki programming manuals I have not found the answer for how to do this. Could someone please share how this is done in a Kawasaki E controller using the AS language.

    Thanks for your help.

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • December 24, 2020 at 10:56 AM
    • #2

    Welcome to the forum.............:beerchug:

    Quote from Robotfarmer

    all of the current programs have been taught, both in AS and Block programming styles, with TOOL NULL or basically no TOOL offset at all.

    A very common mistake made when people have not received training or read the manuals before programming.

    Kawasaki has 2 Programming methods which when used, should be used in conjunction with QTOOL.

    - BLOCK (QTOOL ON)

    - AS (QTOOL OFF)

    - QTOOL is a System Switch in Aux 49 (C Controller) or Aux 0304 (D/E Controller).

    1. BLOCK programming:

    - Uses System Switch QTOOL ON

    - Uses Tool values (TOOL1 - TOOL9)

    2. AS programming.

    - Uses System Switch QTOOL OFF.

    - Uses Tool values or transformation components defined and selected by TOOL command.

    AS TOOL command cannot directly access/select Tool value data set in Aux function.

    So in your case, to immediately resolve it:

    1.

    - Check System Switch Aux Function and set QTOOL OFF.

    - Use Command POINT mytool = TRANS(x,y,z,o,a,t) to create the transformation component.

    - Use Command TOOL mytool to select it.

    or:

    2.

    - Check System Switch Aux Function and set QTOOL ON.

    - Select Tool 9 in the Teach Screen.

    - Use Command POINT mytool = TOOL to copy the current Tool as a transformation component.

    - Check System Switch Aux Function and set QTOOL OFF.

    - Use Command TOOL mytool to select it.

    But either way, if you continue to use AS, make sure:

    - QTOOL remains OFF.

    - Use TOOL Command to alternate between Tool Values.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Robotfarmer
    Trophies
    2
    Posts
    3
    • December 24, 2020 at 4:56 PM
    • #3

    Thank you so much. I just needed someone to tell me definitively that AS couldn't access the Tool 1-9 Aux data. That's the part that was driving me nuts. You seldom find a "No, it can't be done" in a manual so I just kept looking for the solution. Thank you for the detailed description and I understand it fine. One additional question. If all of the Block programs were done with basically a zero tool (TCP at faceplate) can I set QTOOL OFF permanently so long as I include a TOOL NULL instruction at the top of each Block program?

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • December 24, 2020 at 5:49 PM
    • #4
    Quote from Robotfarmer

    If all of the Block programs were done with basically a zero tool (TCP at faceplate)

    Any BLOCK program uses Tool 1 - Tool 9 as the Tool no. is stored on the BLOCK Step when it is recorded.

    When executing a BLOCK step, it will change the current Tool no. to the Tool no. on the BLOCK step.

    Whether QTOOL is ON or OFF, this happens.

    However, a BLOCK step position is ALWAYS Joint Angles......Not Cartesian.

    So the target position in BLOCK will never change irrespective of Tool no. selected.

    Whether QTOOL is OFF or ON, it will make no difference to a BLOCK Step target position.

    Whether an AS Tool is selected or not, it will make no difference to a BLOCK Step target position.

    The issue comes when using AS and not turning QTOOL OFF.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Robotfarmer
    Trophies
    2
    Posts
    3
    • December 24, 2020 at 6:13 PM
    • #5

    Perfect. :thumbs_up: Thanks again. :smiling_face:

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • December 24, 2020 at 6:52 PM
    • #6

    You're welcome........:top:

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • December 24, 2020 at 7:02 PM
    • #7

    You may find the following thread of interest, especially if you use D Controllers.

    My video in the last post shows why D Controllers provided some fundamental visual information regarding the status of QTOOL.

    Tool mode motion incorrect, need hints on diagnostics & correction - Kawasaki Robot Forum - Robotforum - Support and discussion community for industrial robots and cobots (robot-forum.com)

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • BrumiJani
    Trophies
    3
    Posts
    1
    • January 6, 2021 at 2:59 AM
    • #8
    Quote from Robotfarmer

    I have a very simple question related to setting the current tool number in a Kawasaki AS program. I'm not super familiar with Kawasaki AS language and I'm struggling with a very basic thing. The customer has asked me to add a couple new programs to the robot and all of the current programs have been taught, both in AS and Block programming styles, with TOOL NULL or basically no TOOL offset at all. I have created a new proper tool that reflects the actual TCP of the tool installed and I've saved that as TOOL 9.

    In the program I'm writing I need to use the TDRAW command to move around a shape that is not co-planar with any of the robots BASE coordinates. It's just a rectangle that sits on a slanted surface. All I want to do is make TOOL 9 the active tool in the program and then use TDRAW to move in the x,y,z directions of the TOOL 9 TCP. Simple right? In a Fanuc robot I could do this with one line.

    Despite 4 hours of reading Kawasaki programming manuals I have not found the answer for how to do this. Could someone please share how this is done in a Kawasaki E controller using the AS language.

    Thanks for your help.

  • kwakisaki
    Reactions Received
    694
    Trophies
    12
    Posts
    4,770
    • January 6, 2021 at 9:55 AM
    • #9

    BrumiJani

    Welcome to the forum............:beerchug:

    What is it you are asking?

    View my channel at Industrial Robotics Consultancy Limited - YouTube

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

  • AS language
  • tcp
  • kawasaki controller
  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