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

Timer

  • Mangesh Shenavi
  • July 15, 2022 at 12:19 PM
  • Thread is Resolved
  • Mangesh Shenavi
    Reactions Received
    1
    Trophies
    1
    Posts
    80
    • July 15, 2022 at 12:19 PM
    • #1

    Hello.

    I am new to ABB.

    I want to use timer in ABB robot, but i didn't found, where is it.

    I want to use them as like kuka robot i.e. explaied below:

    First i declared an integration

    DECL INT TIMER=1 , in conf.

    Then i creat a program as below

    SWITCH TIMER

    CASE 1

    $TIMER_STOP[2]=TRUE

    $TIME[1]=0

    $TIMER_STOP[1]=FALSE

    TIMER=2

    CASE 2

    $TIMER_STOP[1]=TRUE

    $TIMER[2]=0

    $TIMER_STOP[2]=FALSE

    TIMER=1

    ENDSWITCH

    As like this, i want to add in ABB robot, Please help🙏

    My ABB robot model is IRB 6700-200/2.60 :smiling_face:

  • Roland Keller
    Reactions Received
    12
    Trophies
    5
    Posts
    61
    • July 15, 2022 at 1:33 PM
    • #2

    Check the Robotstudio help. Keyword Clk. This could be your friend.

  • JMF
    Reactions Received
    9
    Posts
    55
    • July 15, 2022 at 2:30 PM
    • #3

    VAR num nClock;

    VAR clock cClock;

    PROC BlahBlah()

    ClkReset cClock;

    ClkStart cClock;

    ! Procedure instructions

    ClkStop cClock;

    nClock:=ClkRead(cClock\HighRes);

    TPPrint "BlahBlah Procedure took: "+NumToStr((nClock/60),3)+"minutes";

    nClock:=0;

    ENDPROC

  • Mangesh Shenavi
    Reactions Received
    1
    Trophies
    1
    Posts
    80
    • July 15, 2022 at 3:15 PM
    • #4

    This logic slightly looks critical,

    Can you please share that

    1) How to start timer

    2) How to stop timer

    3) How to reset timer

    4) Where i can check my counted time.

    Please

  • Lemster68
    Reactions Received
    295
    Trophies
    9
    Posts
    2,458
    Blog Articles
    7
    • July 15, 2022 at 3:20 PM
    • #5

    It is all right there in black and white. You need to read the Instructions, functions and datatypes manual.

  • Mangesh Shenavi
    Reactions Received
    1
    Trophies
    1
    Posts
    80
    • August 4, 2022 at 10:30 AM
    • #6
    Quote from JMF

    VAR num nClock;

    VAR clock cClock;

    PROC BlahBlah()

    ClkReset cClock;

    ClkStart cClock;

    ! Procedure instructions

    ClkStop cClock;

    nClock:=ClkRead(cClock\HighRes);

    TPPrint "BlahBlah Procedure took: "+NumToStr((nClock/60),3)+"minutes";

    nClock:=0;

    ENDPROC

    Display More

    I got start clock, stop clock & reset clock option. Thank you for it.

    But where can i check my calculated time ??

  • robotecnik
    Reactions Received
    19
    Trophies
    4
    Posts
    568
    • August 4, 2022 at 11:41 AM
    • #7

    In KUKA (the code you've posted) you have an array of timers (which is a horrible implementation as you have a specific amount of timers available).

    In ABB they offer you several functions to start a timer.

    The example posted by JMF is perfect, concise, and detailed.

    Just to make it easier for you to understand the "translation":

    ClkReset ! == TIMER[x] = 0

    ClkStart ! == TIMER_STOP = FALSE

    ClkStop !== TIMER_STOP = TRUE

    ClkRead !== variable = TIMER[x]

    BUT: ABB has one of the best documentations out there, check the manual Lemster recommended you and you'll see samples and instructions on how to make all those functions work:

    ClkReset, ClkStart, ClkStop and ClkRead

    Hope this helps.

    http://www.robotecnik.com | Robots, CNC and PLC programming.

  • Mangesh Shenavi
    Reactions Received
    1
    Trophies
    1
    Posts
    80
    • August 4, 2022 at 6:24 PM
    • #8

    Thank you so much JoanM.

    I could understand better because of your brief explanation.

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

  • associate a timer to action

    • hugochab38
    • November 27, 2018 at 2:10 PM
    • KUKA Robot Forum
  • Timer in kuka

    • capital9
    • June 9, 2022 at 2:33 PM
    • KUKA Robot Forum
  • Issues reading a writing positions to text file for homing

    • emerald_geni
    • June 2, 2022 at 3:51 AM
    • KUKA Robot Forum
  • EKI - PTP commands executing too slow

    • Ravnicas
    • January 10, 2022 at 10:46 AM
    • KUKA Robot Forum
  • Controlling external machine and robot at same time from KRL

    • wassimj
    • June 15, 2021 at 8:41 AM
    • KUKA Robot Forum
  • KRL code to save robot Positions timestamped in a text file. (KRC4)

    • kiiwa
    • May 11, 2017 at 6:16 PM
    • KUKA Robot Forum
  • Weld controller communication

    • arun_AR
    • June 28, 2020 at 5:16 PM
    • Kawasaki Robot Forum
  • How should I time events in loops?

    • jacks319
    • December 28, 2015 at 5:57 PM
    • KUKA Robot Forum
  • fanuc robot timer cycle %

    • Budwin2106
    • July 12, 2018 at 4:08 PM
    • Fanuc Robot Forum
  • TIMER not start

    • MUNIACO
    • June 14, 2018 at 9:20 PM
    • Fanuc Robot Forum
  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