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

Movement Stop with Distance Before

  • Okami
  • June 25, 2024 at 8:54 AM
  • Thread is Unresolved
  • Okami
    Reactions Received
    4
    Trophies
    3
    Posts
    74
    • June 25, 2024 at 8:54 AM
    • #1

    Hello, dear forum.

    I think I have a misunderstanding on how the DB works on Fanuc...


    I need my robot to open a valve at the beginning of a trajectory, and then close it almost at the end of it without stopping the movement (Imagine that you're painting with an airbrush or spray).

    The trajectory is only a straight line, so it should be easy...


    I tried everything, CNT, FINE, DB, ACC, everything that came to my mind.

    This is basically the code:

    Code
    : WAIT 1 (SEC);
    
    : R[11] = 250;
    : L P[8] R[11]mm/sec FINE DB 0.0 mm, CALL INI_PAINT;
    
    : L P[9] R[11]mm/sec CNT100 ACC R[4];
    : L P[10] R[11]mm/sec CNT100 DB 0.0 mm, CALL STOP_PAINT;
    
    : L P[11] R[11]mm/sec CNT100 ACC R[4];

    I know that in KUKA you have an instruction called "CONTINUE" which keeps the logical pointer jumping between trajectories without stopping movements.

    Any of you, smart people, have any idea?

    Thanks.

    :smiling_face:

    "Hell...Yesterday it was workinG... I sweaR" :o)

  • svr
    Reactions Received
    6
    Trophies
    3
    Posts
    48
    • June 25, 2024 at 10:39 AM
    • #2

    I would probably write to you in the same way. what do you have in the ini_paint and stop_paint programs?

  • pdl
    Reactions Received
    272
    Trophies
    9
    Posts
    1,549
    • June 25, 2024 at 3:25 PM
    • #3

    Do your start and stop programs have motion groups assigned to them?

  • FC2
    Posts
    1
    • June 25, 2024 at 3:26 PM
    • #4

    Are you able to share what the INI_PAINT and STOP_PAINT programs look like?

  • 1Cliff
    Trophies
    3
    Posts
    12
    • June 26, 2024 at 9:35 AM
    • #5

    As already written:


    We need to know the 'helper programs'
    Distance Before (DB) is not stopping the motion by it own...

  • hermann
    Reactions Received
    412
    Trophies
    9
    Posts
    2,629
    • June 30, 2024 at 12:33 PM
    • #6

    But the 'FINE' in line 4 stops.

  • HawkME
    Reactions Received
    570
    Trophies
    11
    Posts
    3,270
    • July 1, 2024 at 2:53 AM
    • #7

    It won't work correctly with CNT, only with FINE. Can you move your P[10] further away and then use DB with Fine? If that isn't an option then the only other way I can think of is to monitor the position in BG logic and turn off the spray signal when it's past a certain positional value.

  • hermann
    Reactions Received
    412
    Trophies
    9
    Posts
    2,629
    • July 1, 2024 at 5:31 AM
    • #8

    May be it works with cnt0 ?

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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • DX200: MOVL UNTIL ON... what if doesn't turn on?

    • CrazyHorse
    • February 15, 2024 at 3:10 PM
    • Yaskawa Motoman Robot Forum
  • Max Speed & Acceleration

    • Reckless
    • February 9, 2023 at 7:21 PM
    • General Discussion of Industrial Robots Only
  • Syncronise movement with external axis?

    • RustyTech
    • February 16, 2023 at 5:33 PM
    • KUKA Robot Forum
  • Motion approximation when ARP is stuck

    • mudanda
    • September 16, 2022 at 12:46 PM
    • KUKA Robot Forum
  • RobotStudio Issue (Rapid)

    • Pedro Glez Soto
    • March 3, 2022 at 9:41 PM
    • ABB Robot Forum
  • RSI distance control with ANIN problem.

    • PiotrEDC
    • July 22, 2021 at 6:06 PM
    • KUKA Robot Forum
  • Motion interpolation beetwen procedures

    • Gieniar
    • May 11, 2021 at 3:57 PM
    • KUKA Robot Forum
  • Homing filosophy with Fanuc

    • PetrBroza
    • November 25, 2020 at 10:00 AM
    • Fanuc Robot Forum
  • Different brake reactions when searching for one part

    • robotecnik
    • September 23, 2020 at 10:12 AM
    • KUKA Robot Forum

Tags

  • Fanuc
  • Program
  • movement
  • db
  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