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

$VEL in Auto Vs Ext

  • MazdaTrio
  • August 21, 2013 at 6:58 PM
  • Thread is Resolved
  • MazdaTrio
    Trophies
    3
    Posts
    11
    • August 21, 2013 at 6:58 PM
    • #1

    I have a small problem with a program I have been working on. Currently I set the values of $Vel to the below

    $VEL.CP = 0.001 ;unit: [m/s]
    $VEL.ORI1 = 50 ;unit: [deg/s]
    $VEL.ORI2 = 50 ;unit: [deg/s]

    When I run my program in "Auto" the values are observed and the robot will reorient slowly. However when I place the robot in "Ext" the motion is very fast like the values are not being observed or being overwritten. Can anyone tell me if I am missing something.....

    Thanks in advance for any help given!

  • eusty
    Reactions Received
    6
    Trophies
    4
    Posts
    721
    • August 21, 2013 at 7:08 PM
    • #2

    After its moved in EXT what are the variables? Have they been overwritten?
    It's strange as AUTO and EXT should be the same.

    Sent using Tapatalk 4

  • MazdaTrio
    Trophies
    3
    Posts
    11
    • August 21, 2013 at 8:54 PM
    • #3

    When I monitor the variables they do change as expected. But the robot is still to fast in EXT mode.

    Thanks for the quick reply

  • Probo.dk
    Guest
    • August 22, 2013 at 1:19 PM
    • #4

    $Advance=3 in EXT?

  • Fubini
    Reactions Received
    277
    Trophies
    9
    Posts
    1,884
    • August 22, 2013 at 2:33 PM
    • #5

    Hi,

    what are the values of the main run variable $VEL_C ? $VEL ist the velocity in the advance run.

    Fubini

  • MazdaTrio
    Trophies
    3
    Posts
    11
    • August 22, 2013 at 9:10 PM
    • #6
    Quote from Lasse / Denmark


    $Advance=3 in EXT?

    Yes it is 3 when in EXT mode

    Quote from Fubini


    Hi,

    what are the values of the main run variable $VEL_C ? $VEL ist the velocity in the advance run.

    Fubini

    the values at startup are:
    CP = 2
    ORI1 = 200
    ORI2 = 200

    After I run my code they are:
    CP = 0.001
    ORI1 = 50
    ORI2 = 50

  • Fubini
    Reactions Received
    277
    Trophies
    9
    Posts
    1,884
    • August 23, 2013 at 6:44 AM
    • #7
    Quote

    After I run my code they are:
    CP = 0.001
    ORI1 = 50
    ORI2 = 50

    I meant $VEL_C during execution in EXT when you robot is to fast, not after your program has finished. $VEL_C tells the programmed velocities of the currently executed motion (the one you see the robot doing at this moment). Hence this Test would reveal if in EXT somebody messed up your programmed data $VEL.

  • Probo.dk
    Guest
    • August 25, 2013 at 7:47 PM
    • #8

    I'd just try with a $advance=1 in the beginning of the current program - and see if that would work...
    in that case - modify whatever config and set $advance in EXT to desired value...

  • Online
    SkyeFire
    Reactions Received
    1,051
    Trophies
    12
    Posts
    9,422
    • August 26, 2013 at 3:20 PM
    • #9

    I'm pretty certain that the advance run doesn't have any effect on when $VEL is evaluated -- otherwise the standard inline-form points generated by the KCP menus would never work properly.

  • ajey kumar
    Reactions Received
    1
    Trophies
    2
    Posts
    6
    • February 14, 2022 at 2:21 PM
    • #10

    hi guys.. I m using Kuka kR10 and KRC4 controller and this is what I made for testing purposes, mentioned acceleration and velocity but when I tried to run in auto robot running with full speed. Can anyone help me for the same

  • panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,076
    • February 14, 2022 at 2:38 PM
    • #11

    you only programmed low speed for CP motions (LIN,CIRC) but not for PTP.

    my guess us that you jumped in horror and stopped program before reaching LIN instruction (line 11 for example). high speed motions you are observing are the PTP motion.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Fubini
    Reactions Received
    277
    Trophies
    9
    Posts
    1,884
    • February 14, 2022 at 2:38 PM
    • #12

    Line 11 sets velocity to 0.5 m/s!

    Velocities for PTPs is not reduced. Use $VEL_AXIS[].

  • panic mode
    Reactions Received
    1,278
    Trophies
    11
    Posts
    13,076
    • February 14, 2022 at 2:40 PM
    • #13

    and Fubini is absolutely correct, line 11 is an inline form motion that changes speed for CP motions so low speed and acceleration values you had earlier are overwritten

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • ajey kumar
    Reactions Received
    1
    Trophies
    2
    Posts
    6
    • February 15, 2022 at 7:42 AM
    • #14

    Thank you guys, pls explain me why tool changing automatically in program. I want run certain positions with tool2 but it’s changing into tool1. I defined in program $tool=tool data[2]

  • hermann
    Reactions Received
    406
    Trophies
    9
    Posts
    2,607
    • February 15, 2022 at 8:01 AM
    • #15

    You are mixing up expert and inline movements, so you always have to focus on which tool was set in the last movement. In Inline movements always the tool is set as configurated in the inline Form.

  • ajey kumar
    Reactions Received
    1
    Trophies
    2
    Posts
    6
    • February 15, 2022 at 8:44 AM
    • #16

    I m just using only tool2, even in inline movements. This is how I made the program pls check and let me know where I need to correct

    Images

    • image.jpg
      • 675.5 kB
      • 1,200 × 1,600
      • 28
  • hermann
    Reactions Received
    406
    Trophies
    9
    Posts
    2,607
    • February 15, 2022 at 8:49 AM
    • #17

    Don't see any reason why robot should switch to tool 1.

    How do you recognize that he switches to Tool 1?

    Always send the ASCII files (src and dat), or even better a complete archive, don't send screenshots of a program, there can be hidden problems in the folds or .dat files.

  • Fubini
    Reactions Received
    277
    Trophies
    9
    Posts
    1,884
    • February 15, 2022 at 9:28 AM
    • #18

    No offense but: At best get formal basic training by e.g. KUKA. Your questions so far are very beginner like. This forum can not replace the basic training. And its intention is not to teach every beginner the basics.

    Fubini

  • ajey kumar
    Reactions Received
    1
    Trophies
    2
    Posts
    6
    • February 15, 2022 at 9:29 AM
    • #19

    I'm sending the SRC & DAT files of the program, pls check

    Files

    New folder.zip 2.48 kB – 9 Downloads
  • hermann
    Reactions Received
    406
    Trophies
    9
    Posts
    2,607
    • February 15, 2022 at 11:35 AM
    • #20

    Nothing to find in the src, that switches the tool to no 1.

    Once again:

    Quote from hermann

    How do you recognize that he switches to Tool 1?

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