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

Need Help with ABB robot variable velocity!!

  • Juan2518
  • November 14, 2023 at 2:00 AM
  • Thread is Unresolved
  • Juan2518
    Trophies
    1
    Posts
    2
    • November 14, 2023 at 2:00 AM
    • #1

    Hi everyone! how you just read in the title I need help to know how to use a external variable. i need to modify the velocity of a move using the hmi, the operator will write the numerical value of the velocity depending of the model.

    example: MoveL *, V1000, z50, tool0;

    and I need MoveL *, V"externalvariablefromHMI", z50, tool0;

    I´m trying to figure out how to modify the main program and use this new variable, i´m using only the flexpendant but I´ve couldn´t do it yet

    i hope someone could help me, if you need more details please ask me.

  • SkyeFire November 14, 2023 at 2:01 AM

    Approved the thread.
  • Alex H
    Reactions Received
    5
    Trophies
    2
    Posts
    42
    • November 14, 2023 at 11:48 AM
    • #2

    please take a look into the Technical reference manual for RAPID Instructions, Functions and Data

    types

    there look up the data type speeddata

    it will look something like:

    Code
    PERS speeddata vSpeedSet := [1000, 500, 5000, 1000];
    .
    .
    .
    vSpeedSet.v_tcp := nExternalVariable;
    MoveL *, VSpeedSet, z50, tool0;
    .
    .
    .
  • Lemster68
    Reactions Received
    296
    Trophies
    9
    Posts
    2,460
    Blog Articles
    7
    • November 14, 2023 at 2:00 PM
    • #3

    With IRC5 there is also an optional argument for the tcp speed, you could add it like so:

    MoveL dome_3, v200\V:=nExternalVariable, z5, Cascade160\WObj:=wobj0;

  • Juan2518
    Trophies
    1
    Posts
    2
    • November 14, 2023 at 6:03 PM
    • #4
    Quote from Alex H

    please take a look into the Technical reference manual for RAPID Instructions, Functions and Data

    types

    there look up the data type speeddata

    it will look something like:

    Code
    PERS speeddata vSpeedSet := [1000, 500, 5000, 1000];
    .
    .
    .
    vSpeedSet.v_tcp := nExternalVariable;
    MoveL *, VSpeedSet, z50, tool0;
    .
    .
    .

    is it possible from flexpendant or just by robot studio using Rapid code?

  • DS186
    Reactions Received
    199
    Trophies
    6
    Posts
    1,051
    • November 14, 2023 at 7:33 PM
    • #5

    You can also enter the value for the velocity argument from the FlexPendant.

  • Alex H
    Reactions Received
    5
    Trophies
    2
    Posts
    42
    • November 15, 2023 at 10:10 AM
    • #6
    Quote from Juan2518

    is it possible from flexpendant or just by robot studio using Rapid code?

    I don´t actually know for sure since i pretty much only use the FP for manually moving the robot,

    but if I remember right you can have free text input on the FP

    and there is always the option to quickly copy the module onto an usb stick and edit the file on any
    texteditor such as Notepad++ or even the build in notepad in Windows

    after that just overwrite the module in the controller and update the the running version

  • ColoradoTaco
    Reactions Received
    16
    Trophies
    3
    Posts
    103
    • November 16, 2023 at 7:57 PM
    • #7
    Quote from Juan2518

    is it possible from flexpendant or just by robot studio using Rapid code?

    Yes. ABB RAPID code is the same in RobotStudio and on the Teach Pendant (unlike Fanuc where TP code and KAREL are completely different languages that don't intersect).

    I believe all standard instructions are available and have syntax help on the pendant. And at any rate, you can always select a line of code and select the "ABC" edit button to type in anything you want. You can create and edit data of all types (speeddata, bool, num, etc...) from the Program Data screen.

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

  • abb
  • variable
  • velocity
  • variable speed
  • VARIABLE DECLARATION
  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