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

Check if any point in a program is close to Axis limits?

  • Frank Yeh
  • July 22, 2022 at 9:15 PM
  • Thread is Unresolved
  • Frank Yeh
    Reactions Received
    2
    Trophies
    2
    Posts
    35
    • July 22, 2022 at 9:15 PM
    • #1

    I have been programming a robot that uses a laser to calibrate frame shifts, so the user frame differ slightly for each job.

    When I do the test runs everything is fine, but sometimes during the production run a axis limit would be reached and the robot would pause.

    Is there a way, either with the teach pedant or using Roboguide to check that all points are not close to axis limits?

    One way I can think of is to reduce the axis limits while programming, then change them back to normal for production runs. But that will require me to go through all programs again.

    Thank you for your advice in advance.

  • Nation
    Typical Robot Error
    Reactions Received
    542
    Trophies
    9
    Posts
    1,924
    • July 24, 2022 at 5:00 PM
    • #2

    The converter in my signature may do what you are asking. If a point is unreachable, it will turn red. However, it would be a bit clunky to test every variant. It also doesn't test if a point is too close to the arm.

    On another job, I wrote a Karel program to do something very similar. It was for line tracking applications and its intent was to check if all the points in a path were reachable or not before allowing the robot to run the path. You would give it a range of how much the tracking frame would be allowed to move from nominal, and it would spit out a report on what the maximum boundary lengths could be for each point, or it would report that a given point would not be reachable for a certain offset.

    The reason that this was needed was that on older controllers (V7 and V8), the controller would just send the arm even if the point was unreachable and it would slam into its own hardstops. Newer gens at least post an alarm and stop the robot.

    I can't post the code, as it was for a client, but I can give you the gist of how I would implement it for your application:

    1. Pull in the points for passed in program, and the allowable shift from nominal.
    2. Apply a small shift to the frame.
    3. Convert points to world, then ask the controller to convert the world points to joint (jpos=lpos).
    4. If the jpos var was uninitialized after the conversion, means the point was unreachable.
    5. Repeat steps 2-4 until all shifted frames are checked, or you hit a unreachable point.

    This would be more of an offline check, as this process would take a while to run in Karel.

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • TitusLepic
    Reactions Received
    112
    Trophies
    6
    Posts
    442
    • July 25, 2022 at 5:32 PM
    • #3

    There is a way to check in roboguide; select your program, hit cycle start, and let it generate a profile. When it's done, open the TCP trace you just made, select "color by near axis limit," then select the joint you're interested in and set a tolerance. It will show you potential problem points as shown in the picture below (I set the tolerance to +/-30° just so it would display something for this trace, a more reasonable value would be be +/-5° or so)

  • Frank Yeh
    Reactions Received
    2
    Trophies
    2
    Posts
    35
    • July 26, 2022 at 2:39 AM
    • #4

    Nation Thank you for the reply. I understand the concept and it is quite clever. To write the Karel program on this would be a fun challenge. The position converter definitely comes in handy!

  • Frank Yeh
    Reactions Received
    2
    Trophies
    2
    Posts
    35
    • July 26, 2022 at 3:05 AM
    • #5

    TitusLepic This is exactly what I am looking for. But somehow I can't find Color by Axis limit option. I see Color by Speed, Acceleration, Orientation and IO state only.

  • TitusLepic
    Reactions Received
    112
    Trophies
    6
    Posts
    442
    • July 26, 2022 at 5:17 PM
    • #6

    Weird, it's always been there for me. I wonder if it might have to do with versions or controller options? I'm running roboguide 8 revK with a 6.31 controller with the following options:

  • Frank Yeh
    Reactions Received
    2
    Trophies
    2
    Posts
    35
    • July 26, 2022 at 9:33 PM
    • #7

    Thank you TitusLepic . Your patience and generosity is greatly appreciated. I will try to reinstall the controller with the same options.

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

  • 7th Axis Rack and Pinion DESTROYED (Pictures Within)

    • SHIFT_Lock
    • June 18, 2019 at 3:46 AM
    • Fanuc Robot Forum
  • Settings to make Fanuc programming easier (From all of us)

    • Fabian Munoz
    • February 5, 2017 at 5:50 PM
    • Manuals, Software and Tools for Fanuc Robots (you should look here first before posting)
  • Robot movement Joint Linear CNT

    • yootommy
    • February 9, 2019 at 11:19 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